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