diff options
author | Jack Lloyd <[email protected]> | 2016-12-08 20:12:26 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-12-08 20:12:26 -0500 |
commit | a0bed054bc1713bdaf1aa21a40364faee7994600 (patch) | |
tree | 86e607e130f5f6af30234aa5416ed725c557ca8d /src/tests/data | |
parent | cc643c82d1c1063f11164ed6ec5027f89151ea3b (diff) | |
parent | e5cb8ccbac1d66b9717c0aaec674c509533d81c4 (diff) |
Merge GH #763 Document test vector origins
Diffstat (limited to 'src/tests/data')
-rw-r--r-- | src/tests/data/block/aes.vec | 2 | ||||
-rw-r--r-- | src/tests/data/kdf/sp800_108_ctr.vec | 2 | ||||
-rw-r--r-- | src/tests/data/kdf/sp800_108_fb.vec | 2 | ||||
-rw-r--r-- | src/tests/data/kdf/sp800_108_pipe.vec | 2 | ||||
-rw-r--r-- | src/tests/data/kdf/sp800_56c.vec | 4 |
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 |