Updated Openssl Patch to support Linux CryptoAPI v3

2008-12-01 Thread Shasi Pulijala
Hi, This Openssl patch is the version 3 which incorporates some changes suggested by the Linux Crypto Maintainer. Openssl still needs to be patched with OCF first to use the linux cryptodev interface. The major changes in this patch include: 1) Addition of a header file that defines the crypto

[PATCH] crypto: sha1 - Switch to shash

2008-12-01 Thread Adrian-Ken Rueegsegger
This patch changes sha1 to the new shash interface. Signed-off-by: Adrian-Ken Rueegsegger <[EMAIL PROTECTED]> --- crypto/sha1_generic.c | 56 +++- 1 files changed, 31 insertions(+), 25 deletions(-) diff --git a/crypto/sha1_generic.c b/crypto/sha1_gen

Re: [dm-devel] Re: next-20081125: crypto hard disk gets unaccessable

2008-12-01 Thread Nico -telmich- Schottelius
Milan Broz [Mon, Dec 01, 2008 at 01:16:06AM +0100]: > Andrew Morton wrote: > > (cc's added) > > > >> After about four suspend & resume operations in the midst of editing > >> a file, the system beeped twice and issued this error: > > Did this work before? yep > If so, please can you provide ver

Re: next-20081125: crypto hard disk gets unaccessable

2008-12-01 Thread Nico -telmich- Schottelius
Andrew Morton [Sat, Nov 29, 2008 at 07:29:39PM -0800]: > I assume that 2.6.28-rc6 is OK? Yep, sorry for the late answer. -- Think about Free and Open Source Software (FOSS). http://nico.schottelius.org/documentations/foss/the-term-foss/ PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C

Re: [RFC PATCH 5/5] crypto: make struct aead percpu data

2008-12-01 Thread Steffen Klassert
On Mon, Dec 01, 2008 at 09:44:48PM +0800, Herbert Xu wrote: > On Mon, Dec 01, 2008 at 02:36:54PM +0100, Steffen Klassert wrote: > > > > I searched for your shash work. Is there already some work in progress > > aside from crc32? > > I started on the algorithm conversion but have only made it as fa

Re: [RFC PATCH 5/5] crypto: make struct aead percpu data

2008-12-01 Thread Herbert Xu
On Mon, Dec 01, 2008 at 09:44:48PM +0800, Herbert Xu wrote: > > If you could finish them for me I'd be most grateful :) In case it isn't clear from the code, once we've converted all the algorithms then we can start converting the existing users across to the new interface. In particular, authenc

[PATCH 6/6] crypto: rmd320 - Switch to shash

2008-12-01 Thread Herbert Xu
crypto: rmd320 - Switch to shash This patch changes rmd320 to the new shash interface. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- crypto/rmd320.c | 61 +--- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/crypto/rmd320

[PATCH 5/6] crypto: rmd256 - Switch to shash

2008-12-01 Thread Herbert Xu
crypto: rmd256 - Switch to shash This patch changes rmd256 to the new shash interface. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- crypto/rmd256.c | 61 +--- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/crypto/rmd256

[PATCH 4/6] crypto: rmd160 - Switch to shash

2008-12-01 Thread Herbert Xu
crypto: rmd160 - Switch to shash This patch changes rmd160 to the new shash interface. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- crypto/rmd160.c | 61 +--- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/crypto/rmd160

[PATCH 3/6] crypto: rmd128 - Switch to shash

2008-12-01 Thread Herbert Xu
crypto: rmd128 - Switch to shash This patch changes rmd128 to the new shash interface. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- crypto/rmd128.c | 61 +--- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/crypto/rmd128

[PATCH 2/6] crypto: null - Switch to shash

2008-12-01 Thread Herbert Xu
crypto: null - Switch to shash This patch changes digest_null to the new shash interface. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- crypto/crypto_null.c | 64 --- 1 file changed, 41 insertions(+), 23 deletions(-) diff --git a/crypto/cry

[PATCH 1/6] crypto: hash - Make setkey optional

2008-12-01 Thread Herbert Xu
crypto: hash - Make setkey optional Since most cryptographic hash algorithms have no keys, this patch makes the setkey function optional for ahash and shash. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- crypto/ahash.c |8 +++- crypto/shash.c |3 +++ 2 files changed, 10 insertio

Re: [RFC PATCH 5/5] crypto: make struct aead percpu data

2008-12-01 Thread Herbert Xu
On Mon, Dec 01, 2008 at 02:36:54PM +0100, Steffen Klassert wrote: > > I searched for your shash work. Is there already some work in progress > aside from crc32? I started on the algorithm conversion but have only made it as far as null and rmd*. But it should serve as a good template for doing th