aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/kdf/sp800_108_pipe.vec
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-11-13 12:39:06 +0100
committerRenĂ© Korthaus <[email protected]>2016-11-15 22:06:07 +0100
commitace625e4f897838ac6e9b29c0701b1b6d44465cd (patch)
treea182ef4690d1f0075f0946f3508ce385559ef512 /src/tests/data/kdf/sp800_108_pipe.vec
parentca972385dd259f1a80d37b153a504fc14b370795 (diff)
Add a test for KDF::name()
This required fixing some test vectors that previously omitted the MAC, defaulting to HMAC, that used the SHA-1 alias to SHA-160, and fixing X942_PRF::name().
Diffstat (limited to 'src/tests/data/kdf/sp800_108_pipe.vec')
-rw-r--r--src/tests/data/kdf/sp800_108_pipe.vec8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/data/kdf/sp800_108_pipe.vec b/src/tests/data/kdf/sp800_108_pipe.vec
index cf9f1e60f..6889a19cc 100644
--- a/src/tests/data/kdf/sp800_108_pipe.vec
+++ b/src/tests/data/kdf/sp800_108_pipe.vec
@@ -1,4 +1,4 @@
-[SP800-108-Pipeline(SHA-1)]
+[SP800-108-Pipeline(HMAC(SHA-160))]
OutputLen = 2
Salt = B65A30885B0849C7099B
Secret = 63CB90F9CD34B95007277AE6FC17FB45A9248725
@@ -180,7 +180,7 @@ Label = 262FD4B95A73CB24D554DBD2
Output = EC87CC0BF9A726A0296B4BC9481AF900296CD058
-[SP800-108-Pipeline(SHA-256)]
+[SP800-108-Pipeline(HMAC(SHA-256))]
OutputLen = 2
Salt = 371FF6784237FC6F25B6
Secret = 4AC9763574A4483C8074B191DCA5CEC35DE6876A0AA54A87C56EB243E25159CF
@@ -362,7 +362,7 @@ Label = 1621C7DCA433B1B90B74F373
Output = F452D57C00A0799B538B2E28B136EF88D39C2274
-[SP800-108-Pipeline(SHA-384)]
+[SP800-108-Pipeline(HMAC(SHA-384))]
OutputLen = 2
Salt = C7DD056E2807475B55B7
Secret = 1ECAF0F20EA2E2DE63A1D426DA78B5ADBA3BCF645EEFDA387EDFDE1FB56650F69DC5BA62FF91810E309E445AB5BF4BD6
@@ -544,7 +544,7 @@ Label = CF0D784CE58A1C5E8818E9D0
Output = 735BD29382001F05DF7CFE508B39A1A18990036B
-[SP800-108-Pipeline(SHA-512)]
+[SP800-108-Pipeline(HMAC(SHA-512))]
OutputLen = 2
Salt = EE2ADE03A78F200A2D89
Secret = EDCA47FC977F4F8E2B0288132AB642EBA0C91E6A503C55B5A7DA5DF1B482CF6AB5A90B19FE1D7B2DFE6CFC270FB7E4674B88DC5868B2BEDADAE16633F357AED3