diff options
author | Terry Chia <terrycwk1994@gmail.com> | 2016-04-09 22:04:12 +0800 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-04-09 10:04:12 -0400 |
commit | 7e6afe8be14807c75fcc934a89aab8f1d94c52c4 (patch) | |
tree | 442e2f0ad6505a9a4f70059e8dac0b81e7dbdd86 /vectors/cryptography_vectors/hashes/blake2 | |
parent | 97511e5b8d8169096b48ff73ecce7d973129cf87 (diff) | |
download | cryptography-7e6afe8be14807c75fcc934a89aab8f1d94c52c4.tar.gz cryptography-7e6afe8be14807c75fcc934a89aab8f1d94c52c4.tar.bz2 cryptography-7e6afe8be14807c75fcc934a89aab8f1d94c52c4.zip |
Add vectors for unkeyed blake2s and blake2b. (#2867)
* Add vectors for unkeyed blake2s and blake2b.
* Add short note describing source of vectors.
* Add link to OpenSSL repository.
* Amend docs.
Diffstat (limited to 'vectors/cryptography_vectors/hashes/blake2')
-rw-r--r-- | vectors/cryptography_vectors/hashes/blake2/blake2b.txt | 27 | ||||
-rw-r--r-- | vectors/cryptography_vectors/hashes/blake2/blake2s.txt | 27 |
2 files changed, 54 insertions, 0 deletions
diff --git a/vectors/cryptography_vectors/hashes/blake2/blake2b.txt b/vectors/cryptography_vectors/hashes/blake2/blake2b.txt new file mode 100644 index 00000000..7710881b --- /dev/null +++ b/vectors/cryptography_vectors/hashes/blake2/blake2b.txt @@ -0,0 +1,27 @@ +Len = 0 +Msg = 00 +MD = 786a02f742015903c6c6fd852552d272912f4740e15847618a86e217f71f5419d25e1031afee585313896444934eb04b903a685b1448b755d56f701afe9be2ce + +Len = 8 +Msg = 61 +MD = 333fcb4ee1aa7c115355ec66ceac917c8bfd815bf7587d325aec1864edd24e34d5abe2c6b1b5ee3face62fed78dbef802f2a85cb91d455a8f5249d330853cb3c + +Len = 24 +Msg = 616263 +MD = ba80a53f981c4d0d6a2797b69f12f6e94c212f14685ac4b74b12bb6fdbffa2d17d87c5392aab792dc252d5de4533cc9518d38aa8dbf1925ab92386edd4009923 + +Len = 112 +Msg = 6d65737361676520646967657374 +MD = 3c26ce487b1c0f062363afa3c675ebdbf5f4ef9bdc022cfbef91e3111cdc283840d8331fc30a8a0906cff4bcdbcd230c61aaec60fdfad457ed96b709a382359a + +Len = 208 +Msg = 6162636465666768696a6b6c6d6e6f707172737475767778797a +MD = c68ede143e416eb7b4aaae0d8e48e55dd529eafed10b1df1a61416953a2b0a5666c761e7d412e6709e31ffe221b7a7a73908cb95a4d120b8b090a87d1fbedb4c + +Len = 496 +Msg = 4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a30313233343536373839 +MD = 99964802e5c25e703722905d3fb80046b6bca698ca9e2cc7e49b4fe1fa087c2edf0312dfbb275cf250a1e542fd5dc2edd313f9c491127c2e8c0c9b24168e2d50 + +Len = 640 +Msg = 3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930 +MD = 686f41ec5afff6e87e1f076f542aa466466ff5fbde162c48481ba48a748d842799f5b30f5b67fc684771b33b994206d05cc310f31914edd7b97e41860d77d282 diff --git a/vectors/cryptography_vectors/hashes/blake2/blake2s.txt b/vectors/cryptography_vectors/hashes/blake2/blake2s.txt new file mode 100644 index 00000000..4198d666 --- /dev/null +++ b/vectors/cryptography_vectors/hashes/blake2/blake2s.txt @@ -0,0 +1,27 @@ +Len = 0 +Msg = 00 +MD = 69217a3079908094e11121d042354a7c1f55b6482ca1a51e1b250dfd1ed0eef9 + +Len = 8 +Msg = 61 +MD = 4a0d129873403037c2cd9b9048203687f6233fb6738956e0349bd4320fec3e90 + +Len = 24 +Msg = 616263 +MD = 508c5e8c327c14e2e1a72ba34eeb452f37458b209ed63a294d999b4c86675982 + +Len = 112 +Msg = 6d65737361676520646967657374 +MD = fa10ab775acf89b7d3c8a6e823d586f6b67bdbac4ce207fe145b7d3ac25cd28c + +Len = 208 +Msg = 6162636465666768696a6b6c6d6e6f707172737475767778797a +MD = bdf88eb1f86a0cdf0e840ba88fa118508369df186c7355b4b16cf79fa2710a12 + +Len = 496 +Msg = 4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a30313233343536373839 +MD = c75439ea17e1de6fa4510c335dc3d3f343e6f9e1ce2773e25b4174f1df8b119b + +Len = 640 +Msg = 3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930 +MD = fdaedb290a0d5af9870864fec2e090200989dc9cd53a3c092129e8535e8b4f66 |