diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-09 07:17:22 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-14 14:56:46 +0800 |
commit | 5964f26c9f6003e9badedb768a0735eaf034ac56 (patch) | |
tree | 306cb5e1d0be7cce24026c80a4ae9cc9030e5be7 /crypto/aead.c | |
parent | 5499b1a7311f5ec301ac2baa04a3482ee89ac0ab (diff) | |
download | linux-5964f26c9f6003e9badedb768a0735eaf034ac56.tar.gz linux-5964f26c9f6003e9badedb768a0735eaf034ac56.tar.bz2 linux-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