aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/aead.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-07-09 07:17:22 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-07-14 14:56:46 +0800
commit5964f26c9f6003e9badedb768a0735eaf034ac56 (patch)
tree306cb5e1d0be7cce24026c80a4ae9cc9030e5be7 /crypto/aead.c
parentcrypto: echainiv - Fix encryption convention (diff)
downloadlinux-dev-5964f26c9f6003e9badedb768a0735eaf034ac56.tar.xz
linux-dev-5964f26c9f6003e9badedb768a0735eaf034ac56.zip
crypto: seqiv - Replace seqniv with seqiv
This patch replaces the seqniv generator with seqiv when the underlying algorithm understands the new calling convention. This not only makes more sense as now seqiv is solely responsible for IV generation rather than also determining how the IV is going to be used, it also allows for optimisations in the underlying implementation. For example, the space for the IV could be used to add padding for authentication. This patch also removes the unnecessary copying of IV to dst during seqiv decryption as the IV is part of the AD and not cipher text. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions