[RFC][PATCH 4/4] AES assembler implementation for x86_64

From: Andreas Steinmetz
Date: Sun Apr 17 2005 - 14:28:24 EST


The attached patch contains the required changes for the crypto Kconfig
to enable the usage of the x86_64 AES assembler implementation.
--
Andreas Steinmetz SPAMmers use robotrap@xxxxxxxx
diff -rNu linux-2.6.11.2.orig/crypto/Kconfig linux-2.6.11.2/crypto/Kconfig
--- linux-2.6.11.2.orig/crypto/Kconfig 2005-03-09 09:12:53.000000000 +0100
+++ linux-2.6.11.2/crypto/Kconfig 2005-04-17 13:10:51.000000000 +0200
@@ -133,7 +133,7 @@

config CRYPTO_AES
tristate "AES cipher algorithms"
- depends on CRYPTO && !(X86 && !X86_64)
+ depends on CRYPTO && !X86 && !X86_64
help
AES cipher algorithms (FIPS-197). AES uses the Rijndael
algorithm.
@@ -153,7 +153,27 @@

config CRYPTO_AES_586
tristate "AES cipher algorithms (i586)"
- depends on CRYPTO && (X86 && !X86_64)
+ 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_AES_X86_64
+ tristate "AES cipher algorithms (x86_64)"
+ depends on CRYPTO && X86 && X86_64
help
AES cipher algorithms (FIPS-197). AES uses the Rijndael
algorithm.