diff options
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 69ce573f1224..71f337aefa39 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -776,6 +776,22 @@ config CRYPTO_AES_ARM | |||
776 | 776 | ||
777 | See <http://csrc.nist.gov/encryption/aes/> for more information. | 777 | See <http://csrc.nist.gov/encryption/aes/> for more information. |
778 | 778 | ||
779 | config CRYPTO_AES_ARM_BS | ||
780 | tristate "Bit sliced AES using NEON instructions" | ||
781 | depends on ARM && KERNEL_MODE_NEON | ||
782 | select CRYPTO_ALGAPI | ||
783 | select CRYPTO_AES_ARM | ||
784 | select CRYPTO_ABLK_HELPER | ||
785 | help | ||
786 | Use a faster and more secure NEON based implementation of AES in CBC, | ||
787 | CTR and XTS modes | ||
788 | |||
789 | Bit sliced AES gives around 45% speedup on Cortex-A15 for CTR mode | ||
790 | and for XTS mode encryption, CBC and XTS mode decryption speedup is | ||
791 | around 25%. (CBC encryption speed is not affected by this driver.) | ||
792 | This implementation does not rely on any lookup tables so it is | ||
793 | believed to be invulnerable to cache timing attacks. | ||
794 | |||
779 | config CRYPTO_ANUBIS | 795 | config CRYPTO_ANUBIS |
780 | tristate "Anubis cipher algorithm" | 796 | tristate "Anubis cipher algorithm" |
781 | select CRYPTO_ALGAPI | 797 | select CRYPTO_ALGAPI |