aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tests/data/block/aes.vec2
-rw-r--r--src/tests/data/kdf/sp800_108_ctr.vec2
-rw-r--r--src/tests/data/kdf/sp800_108_fb.vec2
-rw-r--r--src/tests/data/kdf/sp800_108_pipe.vec2
-rw-r--r--src/tests/data/kdf/sp800_56c.vec4
5 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/data/block/aes.vec b/src/tests/data/block/aes.vec
index 4f428f252..43fff6739 100644
--- a/src/tests/data/block/aes.vec
+++ b/src/tests/data/block/aes.vec
@@ -1,3 +1,5 @@
+# Test vectors from NIST CAVP AESAVS
+# http://csrc.nist.gov/groups/STM/cavp/documents/aes/AESAVS.pdf
#test cpuid aesni ssse3
diff --git a/src/tests/data/kdf/sp800_108_ctr.vec b/src/tests/data/kdf/sp800_108_ctr.vec
index 001acf689..7d8087fd1 100644
--- a/src/tests/data/kdf/sp800_108_ctr.vec
+++ b/src/tests/data/kdf/sp800_108_ctr.vec
@@ -1,3 +1,5 @@
+# Test vectors generated with BouncyCastle
+
[SP800-108-Counter(HMAC(SHA-160))]
OutputLen = 2
Salt = 876F7274958C9F920019
diff --git a/src/tests/data/kdf/sp800_108_fb.vec b/src/tests/data/kdf/sp800_108_fb.vec
index e10d3e1c8..5928bfcaa 100644
--- a/src/tests/data/kdf/sp800_108_fb.vec
+++ b/src/tests/data/kdf/sp800_108_fb.vec
@@ -1,3 +1,5 @@
+# Test vectors generated with BouncyCastle
+
[SP800-108-Feedback(HMAC(SHA-160))]
OutputLen = 2
Salt = 0976FDEC7817D94D60C4E0C9091D82E38BCFC58D7FFF0829A13D1B4455B8
diff --git a/src/tests/data/kdf/sp800_108_pipe.vec b/src/tests/data/kdf/sp800_108_pipe.vec
index 6889a19cc..7b00337d4 100644
--- a/src/tests/data/kdf/sp800_108_pipe.vec
+++ b/src/tests/data/kdf/sp800_108_pipe.vec
@@ -1,3 +1,5 @@
+# Test vectors generated with BouncyCastle
+
[SP800-108-Pipeline(HMAC(SHA-160))]
OutputLen = 2
Salt = B65A30885B0849C7099B
diff --git a/src/tests/data/kdf/sp800_56c.vec b/src/tests/data/kdf/sp800_56c.vec
index b1f96bd6d..a441fd5bd 100644
--- a/src/tests/data/kdf/sp800_56c.vec
+++ b/src/tests/data/kdf/sp800_56c.vec
@@ -1,3 +1,7 @@
+# Generated using PyCryptodome
+# it implements the very similar HKDF from RFC 5869,
+# which was slightly modified to be equivalent to SP800-56C
+
[SP800-56C(HMAC(SHA-160))]
OutputLen = 2
Salt = 97ca00eac481e8b3556a