[CRYPTO] null: Add null blkcipher algorithm
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Dec 2007 14:28:59 +0000 (22:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:53 +0000 (08:16 +1100)
This patch adds a null blkcipher algorithm called ecb(cipher_null) for
backwards compatibility.  Previously the null algorithm when used by
IPsec copied the data byte by byte.  This new algorithm optimises that
to a straight memcpy which lets us better measure inherent overheads in
our IPsec code.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found