diff options
author | Jarod Wilson <jarod@redhat.com> | 2009-05-04 19:22:11 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-06-02 14:04:35 +1000 |
commit | e44a1b44c3a9794236fe038b89a0fbef5adcd523 (patch) | |
tree | 7d7b1555a6ba67ed053b816f3470ce964b156c07 /crypto/testmgr.h | |
parent | 2f8174187f409213e63c3589af163c627e8a182a (diff) | |
download | lwn-e44a1b44c3a9794236fe038b89a0fbef5adcd523.tar.gz lwn-e44a1b44c3a9794236fe038b89a0fbef5adcd523.zip |
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 { 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; |