crypto: hmac - add fips_skip support
authorStephan Müller <smueller@chronox.de>
Tue, 1 Feb 2022 08:40:58 +0000 (09:40 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Feb 2022 09:22:01 +0000 (20:22 +1100)
commitc9c28ed0ab611b6ee3bfab88eba334e272642433
tree8d263945e0bca189fc5ba7f195fe102a717c8ed5
parent95e26b0391d085bbdbe1a82ffaaf2f92a3f71433
crypto: hmac - add fips_skip support

By adding the support for the flag fips_skip, hash / HMAC test vectors
may be marked to be not applicable in FIPS mode. Such vectors are
silently skipped in FIPS mode.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c
crypto/testmgr.h