commit | 4db4ad26096c4c1e579f9a957ca7752fe02bf7b4 | [log] [tgz] |
---|---|---|
author | Martin Willi <martin@strongswan.org> | Mon Jun 01 13:44:02 2015 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 04 15:04:53 2015 +0800 |
tree | c2673dc8798f506e26771fc857f0dea1c3d50ff2 | |
parent | af2b76b53a0668ff85b34cb108fefa85d72bb9c6 [diff] |
crypto: chacha20poly1305 - Add an IPsec variant for RFC7539 AEAD draft-ietf-ipsecme-chacha20-poly1305 defines the use of ChaCha20/Poly1305 in ESP. It uses additional four byte key material as a salt, which is then used with an 8 byte IV to form the ChaCha20 nonce as defined in the RFC7539. 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>