]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71df700552bc569354ca332e59218372d3087ab9
tree0279da489d21a11db4895e5f630918054243de2d
parent52a8b5e7d5a9bb125232af829b62d5f38c70c00e
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