crypto: testmgr - support checking skcipher output IV
authorEric Biggers <ebiggers@google.com>
Thu, 14 Feb 2019 08:03:51 +0000 (00:03 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Feb 2019 04:47:27 +0000 (12:47 +0800)
commit8efd972ef96a3f77ded9a838005d49efa9a96243
tree0279da489d21a11db4895e5f630918054243de2d
parentc9e1d48a1122ef1d0f753cbbe6e9a309214b5430
crypto: testmgr - support checking skcipher output IV

Allow skcipher test vectors to declare the value the IV buffer should be
updated to at the end of the encryption or decryption operation.

(This check actually used to be supported in testmgr, but it was never
used and therefore got removed except for the AES-Keywrap special case.
But it will be used by CBC and CTR now, so re-add it.)

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c
crypto/testmgr.h