aboutsummaryrefslogtreecommitdiff
path: root/lib/libipsec/pfkey_dump.c
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2015-07-03 20:09:14 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2015-07-03 20:09:14 +0000
commit987de844453c27b4ff78d0a2473d22b29036901e (patch)
tree501d97862627628f37d130760649329893b92a91 /lib/libipsec/pfkey_dump.c
parentcb207f93ca4c39215f67bc4c6366dc9284f9d56e (diff)
downloadsrc-987de844453c27b4ff78d0a2473d22b29036901e.tar.gz
src-987de844453c27b4ff78d0a2473d22b29036901e.zip
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)
Notes
Notes: svn path=/head/; revision=285108
Diffstat (limited to 'lib/libipsec/pfkey_dump.c')
-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 068ad0e060b0..872aa43ccb71 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