You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Rust and AssemblyScript host and guest implementations have a couple tests, but this is neither extensive, nor useful to ensure interoperability between implementations.
The language doesn't matter; all we need is a .wasm file that should produce the same output across runtimes.
@sonder-joker is it something you'd like to collaborate on?
The text was updated successfully, but these errors were encountered:
@jedisct1 I've submitted a PR#87 to get feedback on an approach for a test suite.
It is based on using the wycheproof test vecors to test wasi-crypto implementations for the algorithm set that is covered by the wycheproof test vectors. To get some initial feedback, I created some Rust "integration tests" using these vectors to test some of the symmetric crypto algorithms (AES-128-GCM, AES-256, CHACHA20-POLY1305, HMAC/SHA-256, HMAC/SHA-512 and HKDF with SHA-256 and SHA-2512).
Please take a look and let me know if this is the right direction to take or if there are issues with it. If the direction is OK, I'll expand the PR to inlcude tests for more algorithms.
We need a test suite.
The Rust and AssemblyScript host and guest implementations have a couple tests, but this is neither extensive, nor useful to ensure interoperability between implementations.
The language doesn't matter; all we need is a
.wasm
file that should produce the same output across runtimes.@sonder-joker is it something you'd like to collaborate on?
The text was updated successfully, but these errors were encountered: