summaryrefslogtreecommitdiff
path: root/crypto/Makefile
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
commit7f47073911f0e4384d38a0827d28305a177c8816 (patch)
tree0732253520cdb0ff686166256923bc633ddceace /crypto/Makefile
parentecfc43292f68566c144afca966b46b371c26d56c (diff)
downloadlinux-3.10-7f47073911f0e4384d38a0827d28305a177c8816.tar.gz
linux-3.10-7f47073911f0e4384d38a0827d28305a177c8816.tar.bz2
linux-3.10-7f47073911f0e4384d38a0827d28305a177c8816.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/Makefile')
-rw-r--r--crypto/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index 2a1883fabf4..4b2e0c387cc 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -13,6 +13,7 @@ obj-$(CONFIG_CRYPTO_AEAD) += aead.o
crypto_blkcipher-objs := ablkcipher.o
crypto_blkcipher-objs += blkcipher.o
obj-$(CONFIG_CRYPTO_BLKCIPHER) += crypto_blkcipher.o
+obj-$(CONFIG_CRYPTO_BLKCIPHER) += chainiv.o
crypto_hash-objs := hash.o
obj-$(CONFIG_CRYPTO_HASH) += crypto_hash.o