Commit b08b6b77 authored by Martin Willi's avatar Martin Willi Committed by Herbert Xu

xfrm: Define ChaCha20-Poly1305 AEAD XFRM algo for IPsec users

Signed-off-by: default avatarMartin Willi <martin@strongswan.org>
Acked-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 5900758d
...@@ -159,6 +159,18 @@ static struct xfrm_algo_desc aead_list[] = { ...@@ -159,6 +159,18 @@ static struct xfrm_algo_desc aead_list[] = {
.sadb_alg_maxbits = 256 .sadb_alg_maxbits = 256
} }
}, },
{
.name = "rfc7539esp(chacha20,poly1305)",
.uinfo = {
.aead = {
.geniv = "seqniv",
.icv_truncbits = 128,
}
},
.pfkey_supported = 0,
},
}; };
static struct xfrm_algo_desc aalg_list[] = { static struct xfrm_algo_desc aalg_list[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment