[RESEND][PATCH 3/4][CRYPTO] tcrypt: Add test vectors for RIPEMD-256 and RIPEMD-320.

2008-05-08 Thread Adrian-Ken Rueegsegger
This patch adds test vectors for RIPEMD-256 and RIPEMD-320 hash algorithms. The test vectors are taken from Signed-off-by: Adrian-Ken Rueegsegger <[EMAIL PROTECTED]> --- crypto/tcrypt.c | 21 - crypto/tcrypt.h | 136

[RESEND][PATCH 2/4][CRYPTO] RIPEMD: Add support for RIPEMD-256 and RIPEMD-320.

2008-05-08 Thread Adrian-Ken Rueegsegger
This patch adds support for the extended RIPEMD hash algorithms RIPEMD-256 and RIPEMD-320. Signed-off-by: Adrian-Ken Rueegsegger <[EMAIL PROTECTED]> --- crypto/Makefile |2 + crypto/rmd256.c | 362 crypto/rmd320.c | 411 ++

[RESEND][PATCH 1/4][CRYPTO] RIPEMD: put all common RIPEMD values in header file.

2008-05-08 Thread Adrian-Ken Rueegsegger
This patch puts all common RIPEMD values in the appropriate header file. Initial values and constants are the same for all variants of RIPEMD. Signed-off-by: Adrian-Ken Rueegsegger <[EMAIL PROTECTED]> --- crypto/rmd128.c | 16 crypto/rmd160.c | 20 ++--

[RESEND][PATCH 4/4][CRYPTO] RIPEMD: Add Kconfig entries for extended RIPEMD hash algorithms

2008-05-08 Thread Adrian-Ken Rueegsegger
This patch adds Kconfig entries for RIPEMD-256 and RIPEMD-320. Signed-off-by: Adrian-Ken Rueegsegger <[EMAIL PROTECTED]> --- crypto/Kconfig | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index cfc521a..5963a95 1006

[RESEND][PATCH 0/4][CRYPTO] add support for extended RIPEMD hash algorithms

2008-05-08 Thread Adrian-Ken Rueegsegger
Resending because of missing sign-off. These patches add RIPEMD-256/320 support to the cryptoapi. The first patch extracts all common values of the RIPEMD algorithms to the proper header file. The second patch contains the actual implementation of the extended hash algorithms RIPEMD-256 and RIPE

Re: [PATCH 2/5][CRYPTO] RIPEMD: put all common RIPEMD values in header file

2008-05-08 Thread Adrian-Ken Rüegsegger
Hello, Herbert Xu wrote: > On Wed, May 07, 2008 at 11:58:36PM +0200, Adrian-Ken Rueegsegger wrote: >> This patch puts all common RIPEMD values in the >> appropriate header file. Initial values and constants >> are the same for all variants of RIPEMD. > > You forgot the sign-off :) Ah yes, sorry.

Re: [PATCH 2/5][CRYPTO] RIPEMD: put all common RIPEMD values in header file

2008-05-08 Thread Herbert Xu
On Wed, May 07, 2008 at 11:58:36PM +0200, Adrian-Ken Rueegsegger wrote: > This patch puts all common RIPEMD values in the > appropriate header file. Initial values and constants > are the same for all variants of RIPEMD. You forgot the sign-off :) Thanks, -- Visit Openswan at http://www.openswan

Re: [PATCH 1/5][CRYPTO] RIPEMD: fix Makefile entry for rmd128.o

2008-05-08 Thread Herbert Xu
On Wed, May 07, 2008 at 11:58:35PM +0200, Adrian-Ken Rueegsegger wrote: > This patch fixes module building for rmd128.o. I'll combine this with the original patch. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apan

Re: [RFC, TCRYPT]: Catch cipher destination memory corruption

2008-05-08 Thread Herbert Xu
On Thu, May 08, 2008 at 12:27:55PM +0200, Patrick McHardy wrote: > > Would you like me to do any changes? Otherwise, please feel free > to apply :) Duly applied :) -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au

Re: [RFC, TCRYPT]: Catch cipher destination memory corruption

2008-05-08 Thread Patrick McHardy
Herbert Xu wrote: Hi Patrick: Patrick McHardy <[EMAIL PROTECTED]> wrote: This patch adds checks to tcrypt to catch destination buffer corruption for cipher tests across pages, which was useful while fixing corruption caused by the HIFN driver. This seems like a pretty useful check. Would y