summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorMikko Herranen <mh1@iki.fi>2007-11-26 22:24:11 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:23 +1100
commit28db8e3e38e593d22e2c69942bb1ca7be2a35f05 (patch)
tree65ef9ee8544001278a71340f44f9a3227b54a4d8 /crypto/Kconfig
parente3a4ea4fd2e5f154ae9233f1ce30e7564e5cbcfc (diff)
downloadlinux-28db8e3e38e593d22e2c69942bb1ca7be2a35f05.tar.gz
linux-28db8e3e38e593d22e2c69942bb1ca7be2a35f05.tar.bz2
linux-28db8e3e38e593d22e2c69942bb1ca7be2a35f05.zip
[CRYPTO] gcm: New algorithm
Add GCM/GMAC support to cryptoapi. GCM (Galois/Counter Mode) is an AEAD mode of operations for any block cipher with a block size of 16. The typical example is AES-GCM. Signed-off-by: Mikko Herranen <mh1@iki.fi> Reviewed-by: Mika Kukkonen <mika.kukkonen@nsn.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 8d6cac97021f..40ae92caa4f6 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -206,6 +206,15 @@ config CRYPTO_CTR
CTR: Counter mode
This block cipher algorithm is required for IPSec.
+config CRYPTO_GCM
+ tristate "GCM/GMAC support"
+ select CRYPTO_CTR
+ select CRYPTO_AEAD
+ select CRYPTO_GF128MUL
+ help
+ Support for Galois/Counter Mode (GCM) and Galois Message
+ Authentication Code (GMAC). Required for IPSec.
+
config CRYPTO_CRYPTD
tristate "Software async crypto daemon"
select CRYPTO_ABLKCIPHER