Re: Crypto Fixes for 2.6.35

2010-09-04 Thread Chuck Ebbert
On Fri, 3 Sep 2010 14:00:55 +0800 Herbert Xu wrote: > Please pull from > > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git > > or > > master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git > > > Herbert Xu (2): > crypto: testmgr - Fix test disabling opt

[PATCH] crypto: FIPS requires algorithm self-tests

2010-08-29 Thread Chuck Ebbert
crypto: FIPS requires algorithm self-tests Signed-off-by: Chuck Ebbert --- Patch is against the latest cryptodev tree. --- vanilla-2.6.36-rc2-git5.orig/crypto/Kconfig +++ vanilla-2.6.36-rc2-git5/crypto/Kconfig @@ -23,13 +23,12 @@ comment "Crypto core or helper" config C

Re: [PATCH] crypto: padlock-aes: Use the correct mask when checking whether copying is required

2009-11-02 Thread Chuck Ebbert
crypto: padlock-aes: Use the correct mask when checking whether copying is required Masking with PAGE_SIZE is just wrong... Signed-off-by: Chuck Ebbert --- vanilla-2.6.31.orig/drivers/crypto/padlock-aes.c +++ vanilla-2.6.31/drivers/crypto/padlock-aes.c @@ -236,7 +236,7 @@ static inline void

[PATCH] crypto: padlock-aes: Use the correct mask when checking whether copying is required

2009-10-27 Thread Chuck Ebbert
crypto: padlock-aes: Use the correct mask when checking whether copying is required Masking with PAGE_SIZE is just wrong... and there's no need for the braces and return statement either. Signed-off-by: Chuck Ebbert --- Can we get this in 2.6.32 and -stable? It fixes a fatal oops i

Re: [patch 0/3] crypto: padlock-aes: enable on VIA Nano

2009-06-09 Thread Chuck Ebbert
On Tue, 9 Jun 2009 10:35:33 -0400 Chuck Ebbert wrote: > The VIA Nano has a bug that makes the padlock unit fetch extra data > during encryption operations. Add workarounds for that, and enable > the driver on x86_64. > > 1/3 Fix ECB encryption mode > 2/3 Fix CBC mode, clean up

[patch 3/3] crypto: padlock-aes: enable on 64-bit kernels

2009-06-09 Thread Chuck Ebbert
-off-by: Chuck Ebbert diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -12,7 +12,7 @@ if CRYPTO_HW config CRYPTO_DEV_PADLOCK tristate "Support for VIA PadLock ACE" - depends on X86_32 && !U

[patch 2/3] crypto: padlock-aes: work around Nano CPU errata in CBC mode

2009-06-09 Thread Chuck Ebbert
From: Chuck Ebbert crypto: padlock-aes: work around Nano CPU errata in CBC mode Extend previous workarounds for the prefetch bug to cover CBC mode, clean up the code a bit. Signed-off-by: Chuck Ebbert --- work-2.6.29.4.orig/drivers/crypto/padlock-aes.c +++ work-2.6.29.4/drivers/crypto/padlock

[patch 1/3] crypto: padlock-aes: work around Nano CPU errata in ECB mode

2009-06-09 Thread Chuck Ebbert
From: Chuck Ebbert crypto: padlock-aes: work around Nano CPU errata in ECB mode The VIA Nano processor has a bug that makes it prefetch extra data during encryption operations, causing spurious page faults. Extend existing workarounds for ECB mode to copy the data to an temporary buffer to avoid

[patch 0/3] crypto: padlock-aes: enable on VIA Nano

2009-06-09 Thread Chuck Ebbert
The VIA Nano has a bug that makes the padlock unit fetch extra data during encryption operations. Add workarounds for that, and enable the driver on x86_64. 1/3 Fix ECB encryption mode 2/3 Fix CBC mode, clean up code 3/3 Enable building for 64-bit kernels -- To unsubscribe from this list: send the

Re: enable padlock on x86_64

2009-04-20 Thread Chuck Ebbert
On Sat, 14 Mar 2009 21:24:20 +0800 Herbert Xu wrote: > On Sat, Mar 14, 2009 at 12:53:07PM +0100, Sebastian Andrzej Siewior wrote: > > > > Yep, it is fine. > > #1 in, #2 not will not result in any difference to what we have now. > > #2 in, #1 not will result in "padlock not detected" while loadin