summaryrefslogtreecommitdiff
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2015-06-16 11:46:46 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-10-15 21:05:01 +0800
commiteef471af380e6fc76b664b68f687fe6dff198b2b (patch)
tree8c0110c480a5e1fa2aa83703cc7c049129575a92 /crypto/testmgr.h
parentd71dd976730ea22f97ed43d26fe5ee02fdf84422 (diff)
downloadlinux-crypto-eef471af380e6fc76b664b68f687fe6dff198b2b.tar.gz
linux-crypto-eef471af380e6fc76b664b68f687fe6dff198b2b.zip
crypto: testmgr - test IV value after a cipher operation
The crypto drivers are supposed to update the IV passed to the crypto request before calling the completion callback. Test for the IV value before considering the test as successful. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.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 e10582d4..c6f47989 100644
--- a/crypto/testmgr.h
+++ b/crypto/testmgr.h
@@ -67,6 +67,7 @@ struct hash_testvec {
struct cipher_testvec {
char *key;
char *iv;
+ char *iv_out;
char *input;
char *result;
unsigned short tap[MAX_TAP];