]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
crypto: testmgr - make an cbc(des) encryption test vector chunked
authorEric Biggers <ebiggers@google.com>
Mon, 21 May 2018 05:50:26 +0000 (22:50 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 May 2018 16:13:37 +0000 (00:13 +0800)
commit17880f11398d00451ccfae4d2d889e55a726bf3a
tree62dedfb2feb25ccfcc08443035c7ca8bf87b156b
parent097012e8f214f7d4678125d30be3b89adb9cd10c
crypto: testmgr - make an cbc(des) encryption test vector chunked

One "cbc(des)" decryption test vector doesn't exactly match an
encryption test vector with input and result swapped.  It's *almost* the
same as one, but the decryption version is "chunked" while the
encryption version is "unchunked".  In preparation for removing the
decryption test vectors, make the encryption one both chunked and
unchunked, so we don't lose any test coverage.

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