Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 5900758d
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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[] = {