]> git.baikalelectronics.ru Git - kernel.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)
commit2f12ef7dd0ec10f080ba30991da21fad56c1ec83
tree228910c68fc3d29a6bfe82cccfdc042e4003ebd2
parent7759ee85d8d7586f844f7eac8b76d568688227bb
[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]