summaryrefslogtreecommitdiffstats
path: root/lib/libipsec/pfkey_dump.c
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-09-15 16:06:07 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2015-10-20 12:05:21 -0500
commitc96ae7addda2a4dfd00f483eae980e91c8731da9 (patch)
tree0289eef464704570c5f11102fe19bad3d4f5afea /lib/libipsec/pfkey_dump.c
parent403a3f33c237726c495f6776033f4f5d21325f81 (diff)
downloadFreeBSD-src-c96ae7addda2a4dfd00f483eae980e91c8731da9.zip
FreeBSD-src-c96ae7addda2a4dfd00f483eae980e91c8731da9.tar.gz
MFC r285108:
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) TAG: IPSEC-HEAD Issue: #4841
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 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