summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-07-08 23:17:22 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2015-07-14 06:56:46 (GMT)
commit5964f26c9f6003e9badedb768a0735eaf034ac56 (patch)
tree306cb5e1d0be7cce24026c80a4ae9cc9030e5be7 /virt
parent5499b1a7311f5ec301ac2baa04a3482ee89ac0ab (diff)
downloadlinux-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 'virt')
0 files changed, 0 insertions, 0 deletions