summaryrefslogtreecommitdiffstats
path: root/crypto/xcbc.c
diff options
context:
space:
mode:
authorStephan Müller <smueller@chronox.de>2022-02-01 09:41:32 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-02-11 20:22:01 +1100
commit37f36e5717869a69775ecb23baedf0f06ea940b4 (patch)
tree2079a33d7c0c708e353f00b0c14682a6ea729e30 /crypto/xcbc.c
parentc9c28ed0ab611b6ee3bfab88eba334e272642433 (diff)
downloadlinux-37f36e5717869a69775ecb23baedf0f06ea940b4.tar.bz2
crypto: hmac - disallow keys < 112 bits in FIPS mode
FIPS 140 requires a minimum security strength of 112 bits. This implies that the HMAC key must not be smaller than 112 in FIPS mode. This restriction implies that the test vectors for HMAC that have a key that is smaller than 112 bits must be disabled when FIPS support is compiled. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/xcbc.c')
0 files changed, 0 insertions, 0 deletions