diff options
author | Jack Lloyd <[email protected]> | 2018-03-06 16:10:55 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-06 16:10:55 -0500 |
commit | 499afa8646d8e52411e35c0fbc4467a8a21b0f12 (patch) | |
tree | c6e2f494e1ca68138d3ea4952e7cb291301bfe5f | |
parent | 3dbffe6512e59e5ae6b4bfe4f265200054ed2471 (diff) |
Add longer tests for SHA-224 and SHA-512-256
-rw-r--r-- | src/tests/data/hash/sha2_32.vec | 3 | ||||
-rw-r--r-- | src/tests/data/hash/sha2_64.vec | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/tests/data/hash/sha2_32.vec b/src/tests/data/hash/sha2_32.vec index 602891ea1..3ff472e89 100644 --- a/src/tests/data/hash/sha2_32.vec +++ b/src/tests/data/hash/sha2_32.vec @@ -7,6 +7,9 @@ Out = D14A028C2A3A2BC9476102BB288234C415A2B01F828EA62AC5B3E42F In = 61 Out = ABD37534C7D9A2EFB9465DE931CD7055FFDB8879563AE98078D6D6D5 +In = 6D65737361676520646967657374 +Out = 2CB21C83AE2F004DE7E81C3C7019CBCB65B71AB656B22D6D0C39B8EB + [SHA-256] In = Out = E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855 diff --git a/src/tests/data/hash/sha2_64.vec b/src/tests/data/hash/sha2_64.vec index e8d44e990..5498201ec 100644 --- a/src/tests/data/hash/sha2_64.vec +++ b/src/tests/data/hash/sha2_64.vec @@ -46,3 +46,7 @@ Out = 72EC1EF1124A45B047E8B7C75A932195135BB61DE24EC0D1914042246E0AEC3A2354E093D7 In = Out = C672B8D1EF56ED28AB87C3622C5114069BDD3AD7B8F9737498D0C01ECEF0967A + +In = 6D65737361676520646967657374 +Out = 0CF471FD17ED69D990DAF3433C89B16D63DEC1BB9CB42A6094604EE5D7B4E9FB + |