Re: [-mm patch] Kconfig: move CRYPTO to the "Cryptographic options" menu

2006-08-13 Thread Herbert Xu
On Sun, Aug 13, 2006 at 11:01:49PM +0200, Adrian Bunk wrote: > > This patch moves the CRYPTO option to the "Cryptographic options" menu > (it was the only option directly in the toplevel menu). > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Thanke you Adrian, patch applied. -- Visit Openswa

[-mm patch] Kconfig: move CRYPTO to the "Cryptographic options" menu

2006-08-13 Thread Adrian Bunk
On Sun, Aug 13, 2006 at 01:24:54AM -0700, Andrew Morton wrote: >... > Changes since 2.6.18-rc3-mm2: >... > git-cpufreq.patch >... > git trees >... This patch moves the CRYPTO option to the "Cryptographic options" menu (it was the only option directly in the toplevel menu). Signed-off-by: Adrian

[PATCH 16/16] [CRYPTO] cipher: Remove obsolete block cipher operations

2006-08-13 Thread Herbert Xu
[CRYPTO] cipher: Remove obsolete block cipher operations This patch removes obsolete block operations from the simple cipher type. All block operations are now performed through the new block cipher type. It also changes crypto_cipher into a proper type so that type checking is done at compile ti

[PATCH 15/16] [CRYPTO] drivers: Remove obsolete block cipher operations

2006-08-13 Thread Herbert Xu
[CRYPTO] drivers: Remove obsolete block cipher operations This patch removes obsolete block operations of the simple cipher type from drivers. These were preserved so that existing users can make a smooth transition. Now that the transition is complete, they are no longer needed. Signed-off-by:

[PATCH 14/16] [CRYPTO] users: Use block ciphers where applicable

2006-08-13 Thread Herbert Xu
[CRYPTO] users: Use block ciphers where applicable This patch converts all remaining users to use the new block cipher type where applicable. It also changes all simple cipher operations to use the new encrypt_one/decrypt_one interface. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- drivers

[PATCH 6/16] [CRYPTO] padlock: Added block cipher versions of CBC/ECB

2006-08-13 Thread Herbert Xu
[CRYPTO] padlock: Added block cipher versions of CBC/ECB This patch adds block cipher algorithms for cbc(aes) and ecb(aes) for the PadLock device. Once all users to the old cipher type have been converted the old cbc/ecb PadLock operations will be removed. Signed-off-by: Herbert Xu <[EMAIL PROTE

[PATCH 9/16] [BLOCK] cryptoloop: Use block ciphers where applicable

2006-08-13 Thread Herbert Xu
[BLOCK] cryptoloop: Use block ciphers where applicable This patch converts cryptoloop to use the new block cipher type where applicable. As a result the ECB-specific and CBC-specific transfer functions have been merged. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- drivers/block/cryptoloop

[PATCH 13/16] [SUNRPC] GSS: Use block ciphers where applicable

2006-08-13 Thread Herbert Xu
[SUNRPC] GSS: Use block ciphers where applicable This patch converts SUNRPC/GSS to use the new block cipher type where applicable. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- include/linux/sunrpc/gss_krb5.h | 19 +-- include/linux/sunrpc/gss_spkm3.h |4 +- net/sun

[PATCH 5/16] [CRYPTO] cipher: Added block ciphers for CBC/ECB

2006-08-13 Thread Herbert Xu
[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. Signed-off-by:

[PATCH 10/16] [BLOCK] dm-crypt: Use block ciphers where applicable

2006-08-13 Thread Herbert Xu
[BLOCK] dm-crypt: Use block ciphers where applicable This patch converts dm-crypt to use the new block cipher type where applicable. It also changes simple cipher operations to use the new encrypt_one/decrypt_one interface. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- drivers/md/dm-crypt.

[PATCH 11/16] [IPSEC]: Add compatibility algorithm name support

2006-08-13 Thread Herbert Xu
[IPSEC]: Add compatibility algorithm name support This patch adds a compatibility name field for each IPsec algorithm. This is needed when parameterised algorithms are used. For example, "md5" will become "hmac(md5)", and "aes" will become "cbc(aes)". Signed-off-by: Herbert Xu <[EMAIL PROTECTED

[PATCH 12/16] [IPSEC] ESP: Use block ciphers where applicable

2006-08-13 Thread Herbert Xu
[IPSEC] ESP: Use block ciphers where applicable This patch converts IPSec/ESP to use the new block cipher type where applicable. Similar to the HMAC conversion, existing algorithm names have been kept for compatibility. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- include/net/esp.h|

[PATCH 4/16] [CRYPTO] cipher: Added block cipher type

2006-08-13 Thread Herbert Xu
[CRYPTO] cipher: Added block cipher type This patch adds the new type of block ciphers. Unlike current cipher algorithms which operate on a single block at a time, block ciphers operate on an arbitrarily long linear area of data. As it is block-based, it will skip any data remaining at the end w

[PATCH 8/16] [CRYPTO] tcrypt: Use block ciphers where applicable

2006-08-13 Thread Herbert Xu
[CRYPTO] tcrypt: Use block ciphers where applicable This patch converts tcrypt to use the new block cipher type where applicable. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- crypto/tcrypt.c | 439 +--- 1 files changed, 261 insertions(+)

[PATCH 3/16] [CRYPTO] scatterwalk: Prepare for block ciphers

2006-08-13 Thread Herbert Xu
[CRYPTO] scatterwalk: Prepare for block ciphers This patch prepares the scatterwalk code for use by the new block cipher type. Firstly it halves the size of scatter_walk on 32-bit platforms. This is important as we allocate at least two of these objects on the stack for each block cipher operati

[PATCH 7/16] [CRYPTO] s390: Added block cipher versions of CBC/ECB

2006-08-13 Thread Herbert Xu
[CRYPTO] s390: Added block cipher versions of CBC/ECB This patch adds block cipher algorithms for S390. Once all users of the old cipher type have been converted the existing CBC/ECB non-block cipher operations will be removed. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- arch/s390/crypto

[PATCH 2/16] [CRYPTO] cipher: Added encrypt_one/decrypt_one

2006-08-13 Thread Herbert Xu
[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

[PATCH 1/16] [CRYPTO] api: Added crypto_type support

2006-08-13 Thread Herbert Xu
[CRYPTO] api: Added crypto_type support This patch adds the crypto_type structure which will be used for all new crypto algorithm types, beginning with block ciphers. The primary purpose of this abstraction is to allow different crypto_type objects for crypto algorithms of the same type, in parti

[0/16] Add block cipher operations

2006-08-13 Thread Herbert Xu
Hi: Dave, please don't apply this series of patches as it's going into cryptodev-2.6 :) This series of patches adds a new type of operations (the existing ones are cipher, digest and compress). The idea is to differentiate between block chaining ciphers versus simple block ciphers from both a us