[CRYPTO] Add support for low-level multi-block operations
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 6 Jul 2005 20:51:52 +0000 (13:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jul 2005 20:51:52 +0000 (13:51 -0700)
commit40725181b74be6b0e3bdc8c05bd1e0b9873ec5cc
treeabbc1057a5e0bd77385d17cfc6146617151e93bc
parentc774e93e2152d0be2612739418689e6e6400f4eb
[CRYPTO] Add support for low-level multi-block operations

This patch adds hooks for cipher algorithms to implement multi-block
ECB/CBC operations directly.  This is expected to provide significant
performance boots to the VIA Padlock.

It could also be used for improving software implementations such as
AES where operating on multiple blocks at a time may enable certain
optimisations.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
crypto/cipher.c
crypto/internal.h
include/linux/crypto.h