• H
    [CRYPTO] null: Add null blkcipher algorithm · 3631c650
    Herbert Xu 提交于
    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: NHerbert Xu <herbert@gondor.apana.org.au>
    3631c650
crypto_null.c 4.6 KB