summaryrefslogtreecommitdiffstats
path: root/sbin/setkey/token.l
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-17 13:53:21 -0300
committerRenato Botelho <renato@netgate.com>2015-08-17 13:53:21 -0300
commit46e99a8858f1c843c1774e472c11d422ca2163ae (patch)
tree485743dc4862158e7bb3b19eccf8f9b54fb8927b /sbin/setkey/token.l
parentfb8160d0fb248c35e8bc74d67dcca6c22e974db3 (diff)
downloadFreeBSD-src-46e99a8858f1c843c1774e472c11d422ca2163ae.zip
FreeBSD-src-46e99a8858f1c843c1774e472c11d422ca2163ae.tar.gz
Importing pfSense patch aesgcm.soft.1.patch
Diffstat (limited to 'sbin/setkey/token.l')
-rw-r--r--sbin/setkey/token.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/setkey/token.l b/sbin/setkey/token.l
index c89982f..ea3512f 100644
--- a/sbin/setkey/token.l
+++ b/sbin/setkey/token.l
@@ -168,6 +168,9 @@ tcp { yylval.num = 0; return(PR_TCP); }
<S_ENCALG>rijndael-cbc { yylval.num = SADB_X_EALG_RIJNDAELCBC; BEGIN INITIAL; return(ALG_ENC); }
<S_ENCALG>aes-ctr { yylval.num = SADB_X_EALG_AESCTR; BEGIN INITIAL; return(ALG_ENC); }
<S_ENCALG>camellia-cbc { yylval.num = SADB_X_EALG_CAMELLIACBC; BEGIN INITIAL; return(ALG_ENC); }
+<S_ENCALG>aes-gcm-8 { yylval.num = SADB_X_EALG_AESGCM8; BEGIN INITIAL; return(ALG_ENC); }
+<S_ENCALG>aes-gcm-12 { yylval.num = SADB_X_EALG_AESGCM12; BEGIN INITIAL; return(ALG_ENC); }
+<S_ENCALG>aes-gcm-16 { yylval.num = SADB_X_EALG_AESGCM16; BEGIN INITIAL; return(ALG_ENC); }
/* compression algorithms */
{hyphen}C { return(F_COMP); }
OpenPOWER on IntegriCloud