summaryrefslogtreecommitdiff
path: root/crypto/aead.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-27 23:17:23 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:44 +1100
commite1d296ebdea9e13feda64e064ab8a30b6724f749 (patch)
treeaaee4804b04b7413a606e72110fdc4025a97c0d1 /crypto/aead.c
parent5998540028d648919667856eda2242ee20017c85 (diff)
downloadlinux-crypto-e1d296ebdea9e13feda64e064ab8a30b6724f749.tar.gz
linux-crypto-e1d296ebdea9e13feda64e064ab8a30b6724f749.zip
[CRYPTO] chainiv: Add chain IV generator
The chain IV generator is the one we've been using in the IPsec stack. It simply starts out with a random IV, then uses the last block of each encrypted packet's cipher text as the IV for the next packet. It can only be used by synchronous ciphers since we have to make sure that we don't start the encryption of the next packet until the last one has completed. It does have the advantage of using very little CPU time since it doesn't have to generate anything at all. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions