Re: Crypto Fixes for 2.6.35

2010-09-04 Thread Chuck Ebbert
On Fri, 3 Sep 2010 14:00:55 +0800 Herbert Xu herb...@gondor.hengli.com.au 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

[PATCH] crypto: FIPS requires algorithm self-tests

2010-08-29 Thread Chuck Ebbert
crypto: FIPS requires algorithm self-tests Signed-off-by: Chuck Ebbert cebb...@redhat.com --- 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

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 cebb...@redhat.com --- vanilla-2.6.31.orig/drivers/crypto/padlock-aes.c +++ vanilla-2.6.31/drivers/crypto/padlock-aes.c @@ -236,7 +236,7

[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 cebb...@redhat.com --- Can we get this in 2.6.32 and -stable? It fixes

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

2009-06-09 Thread Chuck Ebbert
From: Chuck Ebbert cebb...@redhat.com 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

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

2009-06-09 Thread Chuck Ebbert
From: Chuck Ebbert cebb...@redhat.com 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 cebb...@redhat.com --- work-2.6.29.4.orig/drivers/crypto/padlock-aes.c

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

2009-06-09 Thread Chuck Ebbert
Andrzej Siewior sebast...@breakpoint.cc Signed-off-by: Chuck Ebbert cebb...@redhat.com 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

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 cebb...@redhat.com 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 code