]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: testmgr - add iv_out to all CBC test vectors
authorEric Biggers <ebiggers@google.com>
Thu, 14 Feb 2019 08:03:52 +0000 (00:03 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Feb 2019 04:47:27 +0000 (12:47 +0800)
commit8b91dc9e06c479162cd09a54963ce569f5d75698
treefcc947325545397a436bf8e7081ac8cd49d4e9eb
parentd263383f9188ee42256bed558b6c9e6a7dd790b7
crypto: testmgr - add iv_out to all CBC test vectors

Test that all CBC implementations update the IV buffer to contain the
last ciphertext block, aka the IV to continue the encryption/decryption
of a larger message.  Users may rely on this for chaining.

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