aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/kdf/sp800_108_ctr.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_ctr.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_ctr.vec')
-rw-r--r--src/tests/data/kdf/sp800_108_ctr.vec8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/data/kdf/sp800_108_ctr.vec b/src/tests/data/kdf/sp800_108_ctr.vec
index e264a842c..001acf689 100644
--- a/src/tests/data/kdf/sp800_108_ctr.vec
+++ b/src/tests/data/kdf/sp800_108_ctr.vec
@@ -1,4 +1,4 @@
-[SP800-108-Counter(SHA-1)]
+[SP800-108-Counter(HMAC(SHA-160))]
OutputLen = 2
Salt = 876F7274958C9F920019
Secret = 4C5FFEE342D0F1D9204CE138ED131558CF364BBC
@@ -180,7 +180,7 @@ Label = 5B05AB73546BBCCB1B96B763
Output = 53C570373C7ADEDFF13BA573BB45550192FC585A
-[SP800-108-Counter(SHA-256)]
+[SP800-108-Counter(HMAC(SHA-256))]
OutputLen = 2
Salt = 2D8C9FEA0B61911D5035
Secret = C3981FD4820F6F6B26D90E4FCA64341446512BE1880D143F9824C4CEFBF14A18
@@ -362,7 +362,7 @@ Label = 99B47AC07FF5EE2D7B9B1D99
Output = 93C6FF261D1E7A6FF8B21DC658273F4F7399F376
-[SP800-108-Counter(SHA-384)]
+[SP800-108-Counter(HMAC(SHA-384))]
OutputLen = 2
Salt = F66A5F03BD8FB8E4EE73
Secret = 30EBC364331C53CF98F771C4864CE8B00766893EEFEC211B5F4E5DE0BFAE06C783753A5E8F34380EF30C7E28196F51F3
@@ -544,7 +544,7 @@ Label = E257EE6E8BAB6692DF1D51F3
Output = 22DC12E4D8E251F66D2E242B4A1EB27458E24C05
-[SP800-108-Counter(SHA-512)]
+[SP800-108-Counter(HMAC(SHA-512))]
OutputLen = 2
Salt = 33C0ED9DF8C585FD7B30
Secret = A6CC599CEAEDAA4266C1E5DB866476F798585D6F3E22666FBC0E5770621CE124E81B9D555476A87E5CA0778DF5FB9465DC239C8C574C83B8F5EAF3525495F9BA