aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJames Morris <jmorris@redhat.com>2004-07-31 09:49:12 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-31 09:49:12 -0700
commit817bbc47665c33cffba661062f85d8a3584eae7f (patch)
tree12e06dc387f71ed08c5f6bc244209a51fc6e45db /crypto
parent70a83a8c7ec95b482e068ea8bae32b135dd6cc72 (diff)
downloadhistory-817bbc47665c33cffba661062f85d8a3584eae7f.tar.gz
[CRYPTO]: Add i586 optimized AES
Below is an updated version of patch from Fruhwirth which integrates the Gladman AES code into the crypto API. I've tried to ensure that this is done as simply as possible: the user gets the asm version by default if it's suitable. I've also now added the alternate GPL licensing provided by Brian Gladman, and licensed the code as GPL. Signed-off-by: James Morris <jmorris@redhat.com> Signed-off-by: David S. Miller <davem@redhat.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig24
1 files changed, 22 insertions, 2 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index de13d3ffb7fece..841661f1ee3ee9 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -118,9 +118,9 @@ config CRYPTO_SERPENT
See also:
http://www.cl.cam.ac.uk/~rja14/serpent.html
-config CRYPTO_AES
+config CRYPTO_AES_GENERIC
tristate "AES cipher algorithms"
- depends on CRYPTO
+ depends on CRYPTO && !(X86 && !X86_64)
help
AES cipher algorithms (FIPS-197). AES uses the Rijndael
algorithm.
@@ -138,6 +138,26 @@ config CRYPTO_AES
See http://csrc.nist.gov/CryptoToolkit/aes/ for more information.
+config CRYPTO_AES_586
+ tristate "AES cipher algorithms (i586)"
+ depends on CRYPTO && (X86 && !X86_64)
+ help
+ AES cipher algorithms (FIPS-197). AES uses the Rijndael
+ algorithm.
+
+ Rijndael appears to be consistently a very good performer in
+ both hardware and software across a wide range of computing
+ environments regardless of its use in feedback or non-feedback
+ modes. Its key setup time is excellent, and its key agility is
+ good. Rijndael's very low memory requirements make it very well
+ suited for restricted-space environments, in which it also
+ demonstrates excellent performance. Rijndael's operations are
+ among the easiest to defend against power and timing attacks.
+
+ The AES specifies three key sizes: 128, 192 and 256 bits
+
+ See http://csrc.nist.gov/encryption/aes/ for more information.
+
config CRYPTO_CAST5
tristate "CAST5 (CAST-128) cipher algorithm"
depends on CRYPTO