A WIP Wasmtime host implementation of wasi-crypto using the modern WIT / Component Model interface (v0.11.0).
The WIT spec is a direct, conservative translation of the WITX 0.10 spec, contributed upstream via PR #94 (currently draft). The current goal is feature parity with the existing wasi-crypto-host-functions WITX implementation before any modernizations are considered.
Status: experimental / WIP.
cargo buildEach test component must be compiled for wasm32-wasip2 and run via wasmtime-host:
cargo test -p wasi-crypto-common --target wasm32-wasip2
cargo test -p wasi-crypto-symmetric --target wasm32-wasip2
cargo test -p wasi-crypto-signatures --target wasm32-wasip2
cargo test -p wasi-crypto-kx --target wasm32-wasip2
cargo test -p wasi-crypto-asymmetric-common --target wasm32-wasip2The .cargo/config.toml runner wires cargo test --target wasm32-wasip2 to wasmtime-host test automatically.
docs/architecture.md: WIT→bindgen→host trait→crypto pipeline, resource lifecycle, options systemdocs/modules.md: per-module algorithm tables, options, test coverage, known gaps