aboutsummaryrefslogtreecommitdiffstats
path: root/src/extra_tests/timing/timing-tests/data/lucky13sha384.vec
blob: b5a0e24411c3c971eaf3b953d838e9122cfe96dc (plain)
1
2
3
4
5
6
7
8
9
10
11
# Lucky 13 test for SHA-384 (48 bytes output). SHA-384 uses 128 byte block length and 16 byte long encoding
# <= 111 bytes: 1 compression
# (111, 239] bytes: 2 compressions ...
# Case 0: 160 bytes, 0x00 padding byte, results in (160-1-48+13)=124 MACed bytes
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000
# Case 1: 160 bytes, 0x0D padding byte, results in (160-14-48+13)=111 MACed bytes
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D
# Case 2: Further case with invalid padding
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 0000000000000000000000000000000A
# Case 3: Further case with 0x0C
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C