kernel-pfkey: Add support for native ChaCha20/Poly1305 on macOS

This commit is contained in:
Tobias Brunner 2018-07-06 10:17:52 +02:00
parent e2b8c7e6ed
commit c798b94a43
1 changed files with 3 additions and 0 deletions

View 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 },
};