summaryrefslogtreecommitdiff
path: root/crypto/xts.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
commit2be2286efe646064cea909e5944c565f8ef3af42 (patch)
tree47d051e080a0abe4941a7fca912e9038f0523f95 /crypto/xts.c
parentd4d399d13e6618a8a6512692d83803272a8cf606 (diff)
downloadlinux-crypto-2be2286efe646064cea909e5944c565f8ef3af42.tar.gz
linux-crypto-2be2286efe646064cea909e5944c565f8ef3af42.zip
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/xts.c')
0 files changed, 0 insertions, 0 deletions