Commit Graph

2 Commits

Author SHA1 Message Date
JohnE 4b79e83063 boring: report FIPS mode only for a validated module
A fips build from source is not a certified module; only fips-validated,
which needs a prebuilt validated BoringCrypto, may report FIPS. Also wipes
plaintext on a failed seal and the expected tag after verify.

Refs: R3
2026-11-16 21:04:42 -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