diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-06-16 11:46:46 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-10-15 21:05:01 +0800 |
commit | 8a826a34a52eef9ea1cb93f49ada358fa7b0bb32 (patch) | |
tree | 8b9050ea6aecbadc5010c1be476480223142c097 /crypto/testmgr.h | |
parent | d6ba06b8b9a947a8385769f458611d3c97410226 (diff) | |
download | linux-8a826a34a52eef9ea1cb93f49ada358fa7b0bb32.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h index e10582d443dd..c6f479896471 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]; |