summaryrefslogtreecommitdiffstats
path: root/src/tests/test.c
diff options
context:
space:
mode:
authorMichael Brown2012-02-19 15:34:46 +0100
committerMichael Brown2012-02-19 15:37:49 +0100
commit71804f890da621f7ea24f3d013479f8559239f25 (patch)
treece1b06bacc49b46a2bb013440227d8dad372cc31 /src/tests/test.c
parent[rng] Add ANS X9.82 Approved Hash_df derivation function (diff)
downloadipxe-71804f890da621f7ea24f3d013479f8559239f25.tar.gz
ipxe-71804f890da621f7ea24f3d013479f8559239f25.tar.xz
ipxe-71804f890da621f7ea24f3d013479f8559239f25.zip
[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>
Diffstat (limited to 'src/tests/test.c')
-rw-r--r--src/tests/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/test.c b/src/tests/test.c
index b5cc8506e..7e869053b 100644
--- a/src/tests/test.c
+++ b/src/tests/test.c
@@ -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 );