Skip to content
Commit 3631c650 authored by Herbert Xu's avatar Herbert Xu
Browse files

[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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 93cc74e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment