Re: [PATCH] Using Intel CRC32 instruction to accelerate CRC32c algorithm by new crypto API -V2.

2008-08-05 Thread Adrian Bunk
On Tue, Aug 05, 2008 at 08:39:44PM +0800, Herbert Xu wrote: > Hi Austin: > > On Tue, Aug 05, 2008 at 07:56:43AM -0400, Austin Zhang wrote: > > Revised by comments: > > Move hardware feature detect into module init; > > Revise dependency in Kconfig; > > Revise variable type; > > Add information out

[2.6 patch] properly indent the CRYPTO_RMD* kconfig entries

2008-07-15 Thread Adrian Bunk
Instead of tabs there were two spaces. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- crypto/Kconfig | 77 + 1 file changed, 40 insertions(+), 37 deletions(-) af2ebd963fc1ab2e2a66852bae9d262ee0a5ea61 diff --git a/crypto/Kconfig b/

[2.6.25 patch] drivers/crypto/hifn_795x.c: fix 64bit division

2008-02-26 Thread Adrian Bunk
when it results in a 64bit division: <-- snip --> ... MODPOST 759 modules ERROR: "__divdi3" [drivers/crypto/hifn_795x.ko] undefined! <-- snip --> Reported by Martin Michlmayr. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 40b45041ddc587c20b872a86a6a36952c

[2.6.25 patch] CRYPTO_NULL must select CRYPTO_BLKCIPHER

2008-02-17 Thread Adrian Bunk
t `blkcipher_walk_done' crypto/built-in.o:(.data+0x2e8): undefined reference to `crypto_blkcipher_type' make[1]: *** [.tmp_vmlinux1] Error 1 <-- snip --> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 0f6b025864c8536538da5a6b2b68e73dba1a2ab8 diff --git a/crypto/Kc

[2.6 patch] crypto/geode-aes.c: add __dev{init,exit} annotations

2007-12-11 Thread Adrian Bunk
This patch adds __dev{init,exit} annotations. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/crypto/geode-aes.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 9a5ecd183293da27ad66241b51c93bea0634df55 diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto

[2.6 patch] drivers/crypto/Kconfig: hardware drivers shouldn't "default m"

2007-07-15 Thread Adrian Bunk
Hardware drivers shouldn't default to m. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/crypto/Kconfig |5 - 1 file changed, 5 deletions(-) --- linux-2.6.22-rc6-mm1/drivers/crypto/Kconfig.old 2007-07-14 06:25:27.0 +0200 +++ linux-2.6.22-rc6-mm1/dri

[2.6 patch] crypto/Kconfig: remove "default m"s

2007-07-13 Thread Adrian Bunk
Other options requiring specific block cipher algorithms already have the appropriate select's. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- crypto/Kconfig |3 --- 1 file changed, 3 deletions(-) --- linux-2.6.22-rc6-mm1/crypto/Kconfig.old 2007-07-14 06:24:23.0

Re: [PATCH 0/3] Add optimized SHA-1 implementations for x86 and x86_64

2007-06-11 Thread Adrian Bunk
On Fri, Jun 08, 2007 at 05:42:42PM -0400, Benjamin Gilbert wrote: > The following 3-part series adds assembly implementations of the SHA-1 > transform for x86 and x86_64. For x86_64 the optimized code is always > selected; on x86 it is selected if the kernel is compiled for i486 or above > (since

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-15 Thread Adrian Bunk
On Thu, Feb 15, 2007 at 03:55:41PM -0500, [EMAIL PROTECTED] wrote: > On Wed, 14 Feb 2007 23:13:45 EST, Dave Jones said: > > One argument in its favour is aparently Red Hat isn't the only vendor > > with something like this. I've not investigated it, but I hear rumours > > that suse has something s

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-15 Thread Adrian Bunk
On Wed, Feb 14, 2007 at 07:09:38PM +, David Howells wrote: >... > There are several reasons why these patches are useful, amongst which are: >... > (4) to allow other support providers to do likewise, or at least to _detect_ > the fact that unsupported modules are loaded; > > (5) to all

[-mm patch] crypto/xcbc.c: make some code static

2006-11-16 Thread Adrian Bunk
On Tue, Nov 14, 2006 at 01:41:25AM -0800, Andrew Morton wrote: >... > Changes since 2.6.19-rc5-mm2: >... > git-cryptodev.patch >... > git trees >... This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- crypto/xcbc

2.6.19-rc3: known regressions with patches

2006-10-24 Thread Adrian Bunk
ED]> commit 7d12e780e003f93433d49ce78cfedf4b4c52adc5 Handled-By : Andrey Panin <[EMAIL PROTECTED]> Patch : http://lkml.org/lkml/2006/10/23/118 Status : patch available Subject: DVB frontend selection causes compile errors References : http://lkml.org/lkml/2006/

[-mm patch] CRYPTO_DEV_PADLOCK_AES must select CRYPTO_BLKCIPHER

2006-08-20 Thread Adrian Bunk
e to `crypto_blkcipher_type' drivers/built-in.o:(.data+0xd088): undefined reference to `crypto_blkcipher_type' make[1]: *** [.tmp_vmlinux1] Error 1 <-- snip --> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- BTW: The Kconfig+Makefile parts for padlock-sha seem to be mis

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

2006-08-13 Thread Adrian Bunk
toplevel menu). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- crypto/Kconfig |8 1 file changed, 4 insertions(+), 4 deletions(-) --- linux-2.6.18-rc4-mm1/crypto/Kconfig.old 2006-08-13 21:13:38.0 +0200 +++ linux-2.6.18-rc4-mm1/crypto/Kconfig 2006-08-13

[-mm patch] drivers/crypto/padlock-sha.c: make 2 functions static

2006-07-14 Thread Adrian Bunk
On Thu, Jul 13, 2006 at 10:48:00PM -0700, Andrew Morton wrote: >... > Changes since 2.6.18-rc1-mm1: >... > git-cryptodev.patch > > git trees. >... This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- d

[2.6 patch] crypto/aes.c: array overrun

2006-03-10 Thread Adrian Bunk
The Coverity checker spotted the following in crypto/aes.c: <-- snip --> ... struct aes_ctx { int key_length; u32 E[60]; u32 D[60]; }; #define E_KEY ctx->E ... #define loop8(i)\ { t = ror32(t, 8); ; t = ls_box(t) ^ rco_tab[i]; \