summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-08-22 18:47:31 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-30 18:05:31 +1000
commitc03a509304954c5ed58ac9c607e20f1b55f88a28 (patch)
treedd90340d8226d19ec63a258f48f47a38bd28aff8 /lib/crypto
parent2be7f901610ca0d8588865b13ca9046ec32fb9bb (diff)
crypto: ccp - invoke fallback for XTS ciphertext stealing
For correctness and compliance with the XTS-AES specification, we are adding support for ciphertext stealing to XTS implementations, even though no use cases are known that will be enabled by this. Since the ccp driver already has a fallback skcipher standby for dealing with input sizes other than [16, 512, 1024, 2048, 4096], just drop the check against the block size. Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Gary Hook <gary.hook@amd.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto')
0 files changed, 0 insertions, 0 deletions