crypto: drbg - self test for HMAC(SHA-512)
authorStephan Müller <smueller@chronox.de>
Thu, 24 Jun 2021 15:44:35 +0000 (17:44 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Jun 2021 03:28:08 +0000 (11:28 +0800)
commit8833272d876eb5320e4c7c31cc455542510dc4c3
tree1474ea8689cb23eb30f00751ab17b3b8aef3db1a
parent6ee55a6f50fe28207d829a535effcedad37991ea
crypto: drbg - self test for HMAC(SHA-512)

Considering that the HMAC(SHA-512) DRBG is the default DRBG now, a self
test is to be provided.

The test vector is obtained from a successful NIST ACVP test run.

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