diff options
author | Jarod Wilson <jarod@redhat.com> | 2009-05-04 07:22:11 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-06-02 00:04:35 -0400 |
commit | e44a1b44c3a9794236fe038b89a0fbef5adcd523 (patch) | |
tree | 7d7b1555a6ba67ed053b816f3470ce964b156c07 /crypto/testmgr.h | |
parent | 2f8174187f409213e63c3589af163c627e8a182a (diff) |
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 <jarod@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.h')
-rw-r--r-- | crypto/testmgr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h index 526f00a9c72f..b77b61dad262 100644 --- a/crypto/testmgr.h +++ b/crypto/testmgr.h | |||
@@ -62,6 +62,7 @@ struct aead_testvec { | |||
62 | int np; | 62 | int np; |
63 | int anp; | 63 | int anp; |
64 | unsigned char fail; | 64 | unsigned char fail; |
65 | unsigned char novrfy; /* ccm dec verification failure expected */ | ||
65 | unsigned char wk; /* weak key flag */ | 66 | unsigned char wk; /* weak key flag */ |
66 | unsigned char klen; | 67 | unsigned char klen; |
67 | unsigned short ilen; | 68 | unsigned short ilen; |