crypto: poly1305 - Add a generic Poly1305 authenticator implementation
authorMartin Willi <martin@strongswan.org>
Mon, 1 Jun 2015 11:43:58 +0000 (13:43 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 4 Jun 2015 07:04:50 +0000 (15:04 +0800)
commitf979e014c50ce3f7467f133898dbea2243247a91
treeb9b3bb455c76a9a94e3fcbe7fa9726890e083942
parent3590ebf2b4c40aa4b663c4f2b9dfeb0a1e0b8f32
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>
crypto/Kconfig
crypto/Makefile
crypto/poly1305_generic.c [new file with mode: 0644]