|author||Huang Ying <firstname.lastname@example.org>||2009-01-18 16:28:34 +1100|
|committer||Herbert Xu <email@example.com>||2009-02-18 16:48:06 +0800|
crypto: aes-ni - Add support to Intel AES-NI instructions for x86_64 platform
Intel AES-NI is a new set of Single Instruction Multiple Data (SIMD) instructions that are going to be introduced in the next generation of Intel processor, as of 2009. These instructions enable fast and secure data encryption and decryption, using the Advanced Encryption Standard (AES), defined by FIPS Publication number 197. The architecture introduces six instructions that offer full hardware support for AES. Four of them support high performance data encryption and decryption, and the other two instructions support the AES key expansion procedure. The white paper can be downloaded from: http://softwarecommunity.intel.com/isn/downloads/intelavx/AES-Instructions-Set_WP.pdf AES may be used in soft_irq context, but MMX/SSE context can not be touched safely in soft_irq context. So in_interrupt() is checked, if in IRQ or soft_irq context, the general x86_64 implementation are used instead. Signed-off-by: Huang Ying <firstname.lastname@example.org> Signed-off-by: Herbert Xu <email@example.com>
Diffstat (limited to 'crypto')
1 files changed, 25 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 8dde4fcf99c..a83ce0462b6 100644
@@ -470,6 +470,31 @@ config CRYPTO_AES_X86_64
See <http://csrc.nist.gov/encryption/aes/> for more information.
+ tristate "AES cipher algorithms (AES-NI)"
+ depends on (X86 || UML_X86) && 64BIT
+ select CRYPTO_AES_X86_64
+ select CRYPTO_CRYPTD
+ select CRYPTO_ALGAPI
+ Use Intel AES-NI instructions for AES algorithm.
+ AES cipher algorithms (FIPS-197). AES uses the Rijndael
+ 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.
tristate "Anubis cipher algorithm"