diff options
author | Martin Willi <martin@strongswan.org> | 2015-06-01 13:44:00 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-04 15:04:52 +0800 |
commit | 71ebc4d1b27d345342bdcb32a29c8cc3da8c6654 (patch) | |
tree | b3f14e0e2406cb7e9c3200d6a8fe807f6646f691 /crypto/Kconfig | |
parent | eee9dc6162c537641a9259ae595193fa3c68c96e (diff) | |
download | op-kernel-dev-71ebc4d1b27d345342bdcb32a29c8cc3da8c6654.zip op-kernel-dev-71ebc4d1b27d345342bdcb32a29c8cc3da8c6654.tar.gz |
crypto: chacha20poly1305 - Add a ChaCha20-Poly1305 AEAD construction, RFC7539
This AEAD uses a chacha20 ablkcipher and a poly1305 ahash to construct the
ChaCha20-Poly1305 AEAD as defined in RFC7539. It supports both synchronous and
asynchronous operations, even if we currently have no async chacha20 or poly1305
drivers.
Signed-off-by: Martin Willi <martin@strongswan.org>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 9c00454..1bc7e0b 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -217,6 +217,18 @@ config CRYPTO_GCM Support for Galois/Counter Mode (GCM) and Galois Message Authentication Code (GMAC). Required for IPSec. +config CRYPTO_CHACHA20POLY1305 + tristate "ChaCha20-Poly1305 AEAD support" + select CRYPTO_CHACHA20 + select CRYPTO_POLY1305 + select CRYPTO_AEAD + help + ChaCha20-Poly1305 AEAD support, RFC7539. + + Support for the AEAD wrapper using the ChaCha20 stream cipher combined + with the Poly1305 authenticator. It is defined in RFC7539 for use in + IETF protocols. + config CRYPTO_SEQIV tristate "Sequence Number IV Generator" select CRYPTO_AEAD |