summaryrefslogtreecommitdiff
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2009-05-04 19:22:11 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-06-02 14:04:35 +1000
commit0d8a6c2fb7bf21a2b9eee172ce938adaacfc8402 (patch)
tree02d06c24d0fb5977a2305c7e992415c88dcd72ab /crypto/testmgr.h
parent8291b7918f1889339cd9195c1b29a36235311938 (diff)
downloadlinux-crypto-0d8a6c2fb7bf21a2b9eee172ce938adaacfc8402.tar.gz
linux-crypto-0d8a6c2fb7bf21a2b9eee172ce938adaacfc8402.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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h
index 526f00a9..b77b61da 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;