projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5900758
)
xfrm: Define ChaCha20-Poly1305 AEAD XFRM algo for IPsec users
author
Martin Willi
<martin@strongswan.org>
Mon, 1 Jun 2015 11:44:04 +0000
(13:44 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 4 Jun 2015 07:04:55 +0000
(15:04 +0800)
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>
net/xfrm/xfrm_algo.c
patch
|
blob
|
blame
|
history
diff --git
a/net/xfrm/xfrm_algo.c
b/net/xfrm/xfrm_algo.c
index 67266b7501f13a02184306f5e6dd01924b99bbaf..42f7c76cf853697341a6e34cf522f92927b36ad4 100644
(file)
--- a/
net/xfrm/xfrm_algo.c
+++ b/
net/xfrm/xfrm_algo.c
@@
-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[] = {