diff options
author | Martin Willi <martin@strongswan.org> | 2015-06-01 13:43:58 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-04 15:04:50 +0800 |
commit | f929328828b8cfc9c563e554cf7099e73583690d (patch) | |
tree | 251318aebef8e8dab5b74c7c1fd23d593cda7b15 /crypto/Kconfig | |
parent | 8ba0c1e9a76dab22131a82c18afb5a960401b22b (diff) | |
download | linux-crypto-f929328828b8cfc9c563e554cf7099e73583690d.tar.gz linux-crypto-f929328828b8cfc9c563e554cf7099e73583690d.zip |
crypto: poly1305 - Add a generic Poly1305 authenticator implementation
Poly1305 is a fast message authenticator designed by Daniel J. Bernstein.
It is further defined in RFC7539 as a building block for the ChaCha20-Poly1305
AEAD for use in IETF protocols.
This is a portable C implementation of the algorithm without architecture
specific optimizations, based on public domain code by Daniel J. Bernstein and
Andrew Moon.
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 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index bf657bec..9c00454e 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -426,6 +426,15 @@ config CRYPTO_GHASH help GHASH is message digest algorithm for GCM (Galois/Counter Mode). +config CRYPTO_POLY1305 + tristate "Poly1305 authenticator algorithm" + help + Poly1305 authenticator algorithm, RFC7539. + + Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. + It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use + in IETF protocols. This is the portable C implementation of Poly1305. + config CRYPTO_MD4 tristate "MD4 digest algorithm" select CRYPTO_HASH |