summaryrefslogtreecommitdiffstats
path: root/lib/libipsec
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2015-07-03 20:09:14 +0000
committergnn <gnn@FreeBSD.org>2015-07-03 20:09:14 +0000
commitea302f3ee67d34df47d880a617c65056041b8f89 (patch)
tree501d97862627628f37d130760649329893b92a91 /lib/libipsec
parentcce394167652b07f62c963698e3990608ed9ea02 (diff)
downloadFreeBSD-src-ea302f3ee67d34df47d880a617c65056041b8f89.zip
FreeBSD-src-ea302f3ee67d34df47d880a617c65056041b8f89.tar.gz
New AES modes for IPSec, user space components.
Update setkey and libipsec to understand aes-gcm-16 as an encryption method. A partial commit of the work in review D2936. Submitted by: eri Reviewed by: jmg MFC after: 2 weeks Sponsored by: Rubicon Communications (Netgate)
Diffstat (limited to 'lib/libipsec')
-rw-r--r--lib/libipsec/pfkey_dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libipsec/pfkey_dump.c b/lib/libipsec/pfkey_dump.c
index 068ad0e..872aa43 100644
--- a/lib/libipsec/pfkey_dump.c
+++ b/lib/libipsec/pfkey_dump.c
@@ -187,6 +187,9 @@ static struct val2str str_alg_enc[] = {
#ifdef SADB_X_EALG_AESCTR
{ SADB_X_EALG_AESCTR, "aes-ctr", },
#endif
+#ifdef SADB_X_EALG_AESGCM16
+ { SADB_X_EALG_AESGCM16, "aes-gcm-16", },
+#endif
#ifdef SADB_X_EALG_CAMELLIACBC
{ SADB_X_EALG_CAMELLIACBC, "camellia-cbc", },
#endif
OpenPOWER on IntegriCloud