diff options
author | Jeffrey Walton <[email protected]> | 2017-04-17 23:02:45 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-23 10:39:21 -0400 |
commit | 03d5e9c35608d7f3eed44a56a17992c91bbbb13a (patch) | |
tree | 0e48baa3157aca950e0432ebb7381c09f8ca9966 /src/tests/data/block | |
parent | cf031d7a8b9640b2223a64fb8477285aa7e6ef78 (diff) |
Add missing ARIA test vectors (GH #1004)
Diffstat (limited to 'src/tests/data/block')
-rw-r--r-- | src/tests/data/block/aria.vec | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/tests/data/block/aria.vec b/src/tests/data/block/aria.vec new file mode 100644 index 000000000..1146dacea --- /dev/null +++ b/src/tests/data/block/aria.vec @@ -0,0 +1,35 @@ +[ARIA-128] + +# ARIA Test Vector PDF +Key = 00112233445566778899aabbccddeeff +In = 11111111aaaaaaaa11111111bbbbbbbb11111111cccccccc11111111dddddddd22222222aaaaaaaa22222222bbbbbbbb22222222cccccccc22222222dddddddd33333333aaaaaaaa33333333bbbbbbbb33333333cccccccc33333333dddddddd44444444aaaaaaaa44444444bbbbbbbb44444444cccccccc44444444dddddddd55555555aaaaaaaa55555555bbbbbbbb55555555cccccccc55555555dddddddd +Out = c6ecd08e22c30abdb215cf74e2075e6e29ccaac63448708d331b2f816c51b17d9e133d1528dbf0af5787c7f3a3f5c2bf6b6f345907a3055612ce072ff54de7d788424da6e8ccfe8172b391be499354165665ba7864917000a6eeb2ecb4a698edfc7887e7f556377614ab0a282293e6d884dbb84206cdb16ed1754e77a1f243fd086953f752cc1e46c7c794ae85537dcaec8dd721f55c93b6edfe2adea43873e8 + +# RFC 5794 +Key = 000102030405060708090a0b0c0d0e0f +In = 00112233445566778899aabbccddeeff +Out = d718fbd6ab644c739da95f3be6451778 + +[ARIA-192] + +# ARIA Test Vector PDF +Key = 00112233445566778899aabbccddeeff0011223344556677 +In = 11111111aaaaaaaa11111111bbbbbbbb11111111cccccccc11111111dddddddd22222222aaaaaaaa22222222bbbbbbbb22222222cccccccc22222222dddddddd33333333aaaaaaaa33333333bbbbbbbb33333333cccccccc33333333dddddddd44444444aaaaaaaa44444444bbbbbbbb44444444cccccccc44444444dddddddd55555555aaaaaaaa55555555bbbbbbbb55555555cccccccc55555555dddddddd +Out = 8d1470625f59ebacb0e55b534b3e462b5f23d33bff78f46c3c15911f4a21809aaccad80b4bda915aa9dae6bcebe06a6c83f77fd5391acfe61de2f646b5d447edbfd5bb49b12fbb9145b227895a757b2af1f7188734863d7b8b6ede5a5b2f06a0a233c8523d2db778fb31b0e311f32700152f33861e9d040c83b5eb40cd88ea49975709dc629365a189f78a3ec40345fc6a5a307a8f9a4413091e007eca5645a0 + +# RFC 5794 +Key = 000102030405060708090a0b0c0d0e0f1011121314151617 +In = 00112233445566778899aabbccddeeff +Out = 26449c1805dbe7aa25a468ce263a9e79 + +[ARIA-256] + +# ARIA Test Vector PDF +Key = 00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff +In = 11111111aaaaaaaa11111111bbbbbbbb11111111cccccccc11111111dddddddd22222222aaaaaaaa22222222bbbbbbbb22222222cccccccc22222222dddddddd33333333aaaaaaaa33333333bbbbbbbb33333333cccccccc33333333dddddddd44444444aaaaaaaa44444444bbbbbbbb44444444cccccccc44444444dddddddd55555555aaaaaaaa55555555bbbbbbbb55555555cccccccc55555555dddddddd +Out = 58a875e6044ad7fffa4f58420f7f442d8e191016f28e79aefc01e204773280d7018e5f7a938ec30711719953bae86542cd7ebc752474c1a5f6eaaace2a7e29462ee7dfa5afdb84177ead95ccd4b4bb6e1ed17b9534cff0a5fc2941429cfee2ee49c7adbeb7e9d1b0d2a8531d942079596a27ed79f5b1dd13ecd604b07a48885a3afa0627a0e4e60a3c703af292f1baa77b702f16c54aa74bc727ea95c7468b00 + +# RFC 5794 +Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f +In = 00112233445566778899aabbccddeeff +Out = f92bd7c79fb72e2f2b8f80c1972d24fc |