summaryrefslogtreecommitdiff
path: root/crypto/testmgr.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
commit880bee354e4b1bf3c5d6d7e4bf9565c2f55aafe7 (patch)
tree815b83f043ba07de6e3fd9d57e263372b488b23f /crypto/testmgr.c
parent3735304a1d1a39404c7725c227ae037c21125ad0 (diff)
downloadlinux-crypto-880bee354e4b1bf3c5d6d7e4bf9565c2f55aafe7.tar.gz
linux-crypto-880bee354e4b1bf3c5d6d7e4bf9565c2f55aafe7.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 '')
0 files changed, 0 insertions, 0 deletions