diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-09-21 11:44:08 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-09-21 11:44:08 +1000 |
commit | f4eaa764db2fb495cf9f4b8c67e16a083e538704 (patch) | |
tree | 8c2e143128cd579ba396cfe5a3e63fcd1d255147 /crypto/des.c | |
parent | 61cea2599a20ce7c6d73a0d6ffacb7bf052a2130 (diff) | |
download | linux-crypto-f4eaa764db2fb495cf9f4b8c67e16a083e538704.tar.gz linux-crypto-f4eaa764db2fb495cf9f4b8c67e16a083e538704.zip |
[CRYPTO] cipher: Added block ciphers for CBC/ECB
This patch adds two block cipher algorithms, CBC and ECB. These
are implemented as templates on top of existing single-block cipher
algorithms. They invoke the single-block cipher through the new
encrypt_one/decrypt_one interface.
This also optimises the in-place encryption and decryption to remove
the cost of an IV copy each round.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/des.c')
0 files changed, 0 insertions, 0 deletions