crypto: chacha20poly1305 - Add a ChaCha20-Poly1305 AEAD construction, RFC7539
authorMartin Willi <martin@strongswan.org>
Mon, 1 Jun 2015 11:44:00 +0000 (13:44 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 4 Jun 2015 07:04:52 +0000 (15:04 +0800)
commit71ebc4d1b27d345342bdcb32a29c8cc3da8c6654
treeb3f14e0e2406cb7e9c3200d6a8fe807f6646f691
parenteee9dc6162c537641a9259ae595193fa3c68c96e
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>
crypto/Kconfig
crypto/Makefile
crypto/chacha20poly1305.c [new file with mode: 0644]