diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-01-17 13:46:29 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-09 07:08:26 (GMT) |
commit | 53bed1f6402563da7cd56cb3d0a97780e091ab73 (patch) | |
tree | 40bec8e8deb59c6569fa3a44b42812969c487db4 /drivers/bcma | |
parent | b04a39f88cedc1bce345b458e8a9309ce8a2d1ba (diff) | |
download | linux-53bed1f6402563da7cd56cb3d0a97780e091ab73.tar.xz |
crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
commit 11e3b725cfc282efe9d4a354153e99d86a16af08 upstream.
Update the ARMv8 Crypto Extensions and the plain NEON AES implementations
in CBC and CTR modes to return the next IV back to the skcipher API client.
This is necessary for chaining to work correctly.
Note that for CTR, this is only done if the request is a round multiple of
the block size, since otherwise, chaining is impossible anyway.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions