AES context copy test: have one for each key size
Don't use all-bytes zero as a string, it's harder to debug. This commit uses the test vectors from FIPS 197 appendix C. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
d50cfddfd7
commit
f99ec202d7
1 changed files with 8 additions and 2 deletions
|
@ -229,5 +229,11 @@ aes_decrypt_ecb:"000000000000000000000000000000000000000000000000000000000000000
|
||||||
AES-256-ECB Decrypt NIST KAT #12
|
AES-256-ECB Decrypt NIST KAT #12
|
||||||
aes_decrypt_ecb:"0000000000000000000000000000000000000000000000000000000000000000":"9b80eefb7ebe2d2b16247aa0efc72f5d":"e0000000000000000000000000000000":0
|
aes_decrypt_ecb:"0000000000000000000000000000000000000000000000000000000000000000":"9b80eefb7ebe2d2b16247aa0efc72f5d":"e0000000000000000000000000000000":0
|
||||||
|
|
||||||
AES-256-ECB Copy Context NIST KAT #1
|
AES-128-ECB Copy context
|
||||||
aes_ecb_copy_context:"c1cc358b449909a19436cfbb3f852ef8bcb5ed12ac7058325f56e6099aab1a1c":"00000000000000000000000000000000"
|
aes_ecb_copy_context:"000102030405060708090a0b0c0d0e0f":"00112233445566778899aabbccddeeff"
|
||||||
|
|
||||||
|
AES-192-ECB Copy context
|
||||||
|
aes_ecb_copy_context:"000102030405060708090a0b0c0d0e0f1011121314151617":"00112233445566778899aabbccddeeff"
|
||||||
|
|
||||||
|
AES-256-ECB Copy context
|
||||||
|
aes_ecb_copy_context:"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f":"00112233445566778899aabbccddeeff"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue