summaryrefslogtreecommitdiffstats
path: root/sbin/setkey/token.l
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-10-13 14:57:41 +0000
committerume <ume@FreeBSD.org>2003-10-13 14:57:41 +0000
commitfd41336ef5a14e7f322b0a8af359c45ce03d4cc8 (patch)
tree2a5d44fe2e98a214421d56ae5f3dea9a73bd2413 /sbin/setkey/token.l
parentb24bb74b9ee088f076e89f68095367a214f7cc1d (diff)
downloadFreeBSD-src-fd41336ef5a14e7f322b0a8af359c45ce03d4cc8.zip
FreeBSD-src-fd41336ef5a14e7f322b0a8af359c45ce03d4cc8.tar.gz
- support AES counter mode for ESP.
- use size_t as return type of schedlen(), as there's no error check needed. - clear key schedule buffer before freeing. Obtained from: KAME
Diffstat (limited to 'sbin/setkey/token.l')
-rw-r--r--sbin/setkey/token.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/setkey/token.l b/sbin/setkey/token.l
index 312df4c..5f73594 100644
--- a/sbin/setkey/token.l
+++ b/sbin/setkey/token.l
@@ -184,6 +184,7 @@ cast128-cbc { PREPROC; yylval.num = SADB_X_EALG_CAST128CBC; return(ALG_ENC); }
des-deriv { PREPROC; yylval.num = SADB_EALG_DESCBC; return(ALG_ENC_DESDERIV); }
des-32iv { PREPROC; yylval.num = SADB_EALG_DESCBC; return(ALG_ENC_DES32IV); }
rijndael-cbc { PREPROC; yylval.num = SADB_X_EALG_RIJNDAELCBC; return(ALG_ENC); }
+aes-ctr { PREPROC; yylval.num = SADB_X_EALG_AESCTR; return(ALG_ENC); }
/* compression algorithms */
{hyphen}C { PREPROC; return(F_COMP); }
OpenPOWER on IntegriCloud