mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
crypto: testmgr - Handle AEAD test vectors expected to fail verification
Add infrastructure to tcrypt/testmgr to support handling ccm decryption test vectors that are expected to fail verification. Signed-off-by: Jarod Wilson <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
2f8174187f
commit
e44a1b44c3
2 changed files with 29 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ struct aead_testvec {
|
|||
int np;
|
||||
int anp;
|
||||
unsigned char fail;
|
||||
unsigned char novrfy; /* ccm dec verification failure expected */
|
||||
unsigned char wk; /* weak key flag */
|
||||
unsigned char klen;
|
||||
unsigned short ilen;
|
||||
|
|
|
|||
Loading…
Reference in a new issue