Commit 4074a77d authored by Eric Biggers's avatar Eric Biggers Committed by Herbert Xu

crypto: testmgr - add extra kw(aes) encryption test vector

One "kw(aes)" decryption test vector doesn't exactly match an encryption
test vector with input and result swapped.  In preparation for removing
the decryption test vectors, add this test vector to the encryption test
vectors, so we don't lose any test coverage.
Signed-off-by: 's avatarEric Biggers <>
Signed-off-by: 's avatarHerbert Xu <>
parent a0e20b9b
......@@ -33695,6 +33695,19 @@ static const struct cipher_testvec aes_kw_enc_tv_template[] = {
.rlen = 16,
.iv_out = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
}, {
.key = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
.klen = 32,
.input = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
.ilen = 16,
.result = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
.rlen = 16,
.iv_out = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment