[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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user