[rng] Add NIST self-tests for Hash_df

NIST provides a set of known-answer tests for the Hash_DRBG algorithm,
which includes known answers for the derivation function Hash_df used
as part of Hash_DRBG.  Hash_DRBG is not an Approved algorithm for ANS
X9.82, but the known answers for Hash_df (which is part of ANS X9.82)
can still 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-02-19 14:37:49 +00:00
parent eec068253f
commit 71804f890d
2 changed files with 495 additions and 0 deletions
+1
View File
@@ -142,3 +142,4 @@ struct init_fn test_init_fn __init_fn ( INIT_NORMAL ) = {
REQUIRE_OBJECT ( list_test );
REQUIRE_OBJECT ( sha1_test );
REQUIRE_OBJECT ( hmac_drbg_test );
REQUIRE_OBJECT ( hash_df_test );