]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] cipher: Added encrypt_one/decrypt_one
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 13 Aug 2006 10:58:18 +0000 (20:58 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:41:51 +0000 (11:41 +1000)
commitecbefb09e685269352941d452b66b063849e8aea
treeb1eb08db2d7ad5c83a4b2784aea3af0502d127b3
parent9b01b2235e1ac3dca5f868a92c0f7d86e6eb6846
[CRYPTO] cipher: Added encrypt_one/decrypt_one

This patch adds two new operations for the simple cipher that encrypts or
decrypts a single block at a time.  This will be the main interface after
the existing block operations have moved over to the new block ciphers.

It also adds the crypto_cipher type which is currently only used on the
new operations but will be extended to setkey as well once existing users
have been converted to use block ciphers where applicable.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cipher.c
include/crypto/algapi.h
include/linux/crypto.h