Home
last modified time | relevance | path

Searched hist:"37 f36e57" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/crypto/
H A Dhmac.c37f36e57 Tue Feb 01 02:41:32 CST 2022 Stephan Müller <smueller@chronox.de> 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>
H A Dtestmgr.h37f36e57 Tue Feb 01 02:41:32 CST 2022 Stephan Müller <smueller@chronox.de> 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>