diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-09-03 19:43:33 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-09-09 10:35:39 +0300 |
commit | 7cceca8b25b39486c647ceaf6a29f833af16f7c0 (patch) | |
tree | ff70045c6aadd8136fa099e4f197b12b4946b032 /virt | |
parent | 7c9d65c40a53290039c701cacfd4316a699061a5 (diff) | |
download | linux-7cceca8b25b39486c647ceaf6a29f833af16f7c0.tar.xz |
crypto: arm64/aes - implement support for XTS ciphertext stealing
Add the missing support for ciphertext stealing in the implementation
of AES-XTS, which is part of the XTS specification but was omitted up
until now due to lack of a need for it.
The asm helpers are updated so they can deal with any input size, as
long as the last full block and the final partial block are presented
at the same time. The glue code is updated so that the common case of
operating on a sector or page is mostly as before. When CTS is needed,
the walk is split up into two pieces, unless the entire input is covered
by a single step.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions