]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CRYPTO] ctr: Refactor into ctr and rfc3686
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 17 Dec 2007 13:34:32 +0000 (21:34 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:41 +0000 (08:16 +1100)
commit5311f248b7764ba8b59e6d477355f766e5609686
tree228910c68fc3d29a6bfe82cccfdc042e4003ebd2
parent653ebd9c8510a7d647ed23e66e1338f848ebdbab
[CRYPTO] ctr: Refactor into ctr and rfc3686

As discussed previously, this patch moves the basic CTR functionality
into a chainable algorithm called ctr.  The IPsec-specific variant of
it is now placed on top with the name rfc3686.

So ctr(aes) gives a chainable cipher with IV size 16 while the IPsec
variant will be called rfc3686(ctr(aes)).  This patch also adjusts
gcm accordingly.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ctr.c
crypto/gcm.c
crypto/tcrypt.c
include/crypto/ctr.h [new file with mode: 0644]