diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2021-01-04 16:55:49 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-14 17:10:25 +1100 |
commit | 83c83e658863e4e57f4defe6cc1bc05f3d968e2a (patch) | |
tree | e6dfa43f6b0dd4d4e434f14bcce02fd3d9a2cbf9 /certs | |
parent | 2694e23ffd210cbbc05cd45bec77dc1c11bb72a2 (diff) |
crypto: aesni - refactor scatterlist processing
Currently, the gcm(aes-ni) driver open codes the scatterlist handling
that is encapsulated by the skcipher walk API. So let's switch to that
instead.
Also, move the handling at the end of gcmaes_crypt_by_sg() that is
dependent on whether we are encrypting or decrypting into the callers,
which always do one or the other.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions