]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
kernel-pfkey: Add support for native ChaCha20/Poly1305 on macOS
authorTobias Brunner <tobias@strongswan.org>
Fri, 6 Jul 2018 08:17:52 +0000 (10:17 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 6 Jul 2018 08:25:56 +0000 (10:25 +0200)
src/libcharon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c

index 34089f9127609358bcda33d8dae47e8a8b4615f5..78967c89cd926a611dea8638c28d0ae2c9ae7a22 100644 (file)
@@ -895,6 +895,9 @@ static kernel_algorithm_t encryption_algs[] = {
 #endif
 #ifdef SADB_X_EALG_CAMELLIACBC
        {ENCR_CAMELLIA_CBC,                     SADB_X_EALG_CAMELLIACBC         },
+#endif
+#ifdef SADB_X_EALG_CHACHA20POLY1305
+       {ENCR_CHACHA20_POLY1305,        SADB_X_EALG_CHACHA20POLY1305},
 #endif
        {END_OF_LIST,                           0                                                       },
 };