mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
xfrm: Define ChaCha20-Poly1305 AEAD XFRM algo for IPsec users
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>
This commit is contained in:
parent
5900758df1
commit
b08b6b7791
@ -159,6 +159,18 @@ static struct xfrm_algo_desc aead_list[] = {
|
||||
.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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user