crypto: HMAC - disallow keys < 112 bits in FIPS mode
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v11 patch 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | crypto: HMAC - add fips_skip supportcrypto/ crypto/ | +5 | 0 replies | |
| 2/2 | crypto: HMAC - disallow keys < 112 bits in FIPS modecrypto/ crypto/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] crypto: HMAC - disallow keys < 112 bits in FIPS mode
Hi,
this is patch set version 2 for adding the HMAC limitation to disallow keys < 112 bits in FIPS mode.
Version 2 changes:
As requested, instead of ifdef'ing test vectors out that violate the constraint added with this patch set, they are compiled but disabled in FIPS mode based on the .fips_skip flag.
The first patch adds the generic support for the fips_skip flag to hashes / HMAC test vectors similarly to the support found for symmetric algorithms.
The second patch uses the fips_skip flag to mark offending test vectors.
Stephan Mueller (2):
crypto: HMAC - add fips_skip support
crypto: HMAC - disallow keys < 112 bits in FIPS mode
crypto/hmac.c | 4 ++++ crypto/testmgr.c | 3 +++ crypto/testmgr.h | 11 +++++++++++ 3 files changed, 18 insertions(+)
Signature · 1 line
2.33.1