From fd41336ef5a14e7f322b0a8af359c45ce03d4cc8 Mon Sep 17 00:00:00 2001 From: ume Date: Mon, 13 Oct 2003 14:57:41 +0000 Subject: - 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 --- sbin/setkey/token.l | 1 + 1 file changed, 1 insertion(+) (limited to 'sbin/setkey/token.l') 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); } -- cgit v1.1