HMAC_SHA3-224.txt at [ae7ba9d447]

File tests/test_vectors/MAC/HMAC_SHA3-224.txt artifact 7733ead9c2 part of check-in ae7ba9d447


# HMAC-SHA3-224
# From https://csrc.nist.gov/projects/cryptographic-standards-and-guidelines/example-values

[b = 144]
[L = 28]

Klen = 28
Tlen = 28
Len = 34
Msg = "Sample message for keylen<blocklen"
Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b
Mac = 332cfd59347fdb8e576e77260be4aba2d6dc53117b3bfb52c6d18c04

Klen = 144
Tlen = 28
Len = 34
Msg = "Sample message for keylen=blocklen"
Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f
Mac = d8b733bcf66c644a12323d564e24dcf3fc75f231f3b67968359100c7

Klen = 172
Tlen = 28
Len = 34
Msg = "Sample message for keylen>blocklen"
Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaab
Mac = 078695eecc227c636ad31d063a15dd05a7e819a66ec6d8de1e193e59

Klen = 28
Tlen = 14
Len = 54
Msg = "Sample message for keylen<blocklen, with truncated tag"
Key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b
Mac = 8569c54cbb00a9b78ff1b391b0e5cd2fa5ec728550aa3979703305d4
Trunc = 8569c54cbb00a9b78ff1b391b0e5