Commit Graph

5 Commits

Author SHA1 Message Date
JohnE 4051bd6ccd boring: add X25519 and ML-KEM-768/1024 KEMs
Same key, ciphertext and secret formats as the other providers, so keys
and ciphertexts interoperate across libraries.

Refs: R3
2026-11-16 20:26:52 -05:00
JohnE 944b335454 boring: add AES-GCM and ChaCha20-Poly1305 AEADs
AES-256-GCM, ChaCha20-Poly1305 and XChaCha20-Poly1305 via EVP_AEAD, in the
ciphertext||tag format the other providers use.

Refs: R3
2026-11-16 20:26:52 -05:00
JohnE da2ed16c8d boring: add HKDF-SHA-2 key derivation
Uses BoringSSL's native HKDF; empty salt and length cap match the other
providers so the CCC key schedule derives the same keys.

Refs: R3
2026-11-16 20:26:52 -05:00
JohnE 01fb73fb4c boring: add HMAC-SHA-2 with constant-time verify
HMAC-SHA-256/384/512 from BoringSSL; tags are compared with CRYPTO_memcmp.

Refs: R3
2026-11-16 20:26:52 -05:00
JohnE 0ed4d9bb19 boring: add BoringSSL provider crate with SHA-2
Second native provider after the move off wolfSSL, backed by boring 5.5.0.
Starts with the crate skeleton and SHA-256/384/512.

Refs: R3
2026-11-16 20:26:52 -05:00