]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitc8dbcfcf142956f949db28fc99273d0a1839efd7
treeb46244dc1062fbede37bff4955e205ab7d5310c3
parent50f3c1d1adfd018652b0f119046fcb8f24e9b301
[CRYPTO] null: Add null blkcipher algorithm

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>
crypto/crypto_null.c
include/crypto/internal/skcipher.h