summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
authorJarod Wilson2009-05-04 13:22:11 +0200
committerHerbert Xu2009-06-02 06:04:35 +0200
commite44a1b44c3a9794236fe038b89a0fbef5adcd523 (patch)
tree7d7b1555a6ba67ed053b816f3470ce964b156c07 /crypto/testmgr.h
parentcrypto: padlock - Restore dependency on x86 (diff)
downloadkernel-qcow2-linux-e44a1b44c3a9794236fe038b89a0fbef5adcd523.tar.gz
kernel-qcow2-linux-e44a1b44c3a9794236fe038b89a0fbef5adcd523.tar.xz
kernel-qcow2-linux-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.h1
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;