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
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
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
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
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
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
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
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