[rng] Add NIST self-tests for HMAC_DRBG

NIST provides a set of known-answer tests for the HMAC_DRBG algorithm,
which can be used as part of the conformance testing for ANS X9.82.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-01-23 14:58:56 +00:00
parent 5c2d6fa399
commit 9ec80a3df1
2 changed files with 796 additions and 0 deletions

View File

@@ -141,3 +141,4 @@ struct init_fn test_init_fn __init_fn ( INIT_NORMAL ) = {
/* Drag in all applicable self-tests */
REQUIRE_OBJECT ( list_test );
REQUIRE_OBJECT ( sha1_test );
REQUIRE_OBJECT ( hmac_drbg_test );