Commit Graph

8 Commits

Author SHA1 Message Date
JohnE 5184dbd6ef rustcrypto: add provider, capabilities and benchmark
Registers as "rustcrypto" (fips_mode false); an algorithm is available
only if its live probe and its self-test both pass (fail closed, D-28).
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE af11468d97 rustcrypto: add HKDF-SHA-384 self-test vector
Every offered algorithm needs a KAT before it is marked available;
the value is the RFC 5869 TC1 inputs checked against OpenSSL.
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE 66ec0f0685 rustcrypto: add KDF and KEM self-test vectors
HKDF, Argon2id (RFC 9106), X25519 and X-Wing use published vectors;
ML-KEM seed keys are pinned against OpenSSL 3.6 deterministic encaps.
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE 6a321e3efc rustcrypto: add AEAD, hash and MAC self-test vectors
Startup self-tests must fail closed (D-28); each symmetric algorithm
gets an RFC or NIST known-answer vector, including tag rejection.
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE 2f1248e447 rustcrypto: add X25519, ML-KEM and X-Wing KEMs
Pure-Rust KEMs for the hybrid key agreement; ML-KEM keys are 64-byte
FIPS 203 seeds and X25519 keeps the wolfSSL ephemeral-DH convention.
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE 2a8dbdcd6b rustcrypto: add HKDF, BLAKE2b KDF and Argon2id
Same semantics as the wolfSSL provider (zero salt, 255*HashLen cap,
64 MiB/3/4 Argon2id) so either provider derives identical keys.
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE bb5473eeca rustcrypto: add hash and MAC primitives
SHA-2, SHA-3 and BLAKE2b digests plus HMAC, keyed BLAKE2b and Poly1305,
matching the wolfSSL provider's key and tag conventions.
Refs: R3-4
2026-11-16 19:56:43 -05:00
JohnE bc589960c8 rustcrypto: add pure-Rust provider crate with AEADs
Second, independent AEAD implementation for cascade layers (provider
diversity): AES-256-GCM, AES-256-GCM-SIV, (X)ChaCha20-Poly1305, Ascon-AEAD128.
Refs: R3-4
2026-11-16 19:56:43 -05:00