diff options
author | ume <ume@FreeBSD.org> | 2003-10-12 09:41:42 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-12 09:41:42 +0000 |
commit | 2da6bcd32608963a87a6204b27810701287c97c2 (patch) | |
tree | 2decf36a0c89d43e5a0e70adbde87c593c8c9376 /sbin/setkey/token.l | |
parent | 430e4069d35afcda4852e4771595eeeb4b5bbe02 (diff) | |
download | FreeBSD-src-2da6bcd32608963a87a6204b27810701287c97c2.zip FreeBSD-src-2da6bcd32608963a87a6204b27810701287c97c2.tar.gz |
- RIPEMD160 support
- pass size arg to ah->result (avoid assuming result buffer size)
Obtained from: KAME
Diffstat (limited to 'sbin/setkey/token.l')
-rw-r--r-- | sbin/setkey/token.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/setkey/token.l b/sbin/setkey/token.l index 208196e..eed5190 100644 --- a/sbin/setkey/token.l +++ b/sbin/setkey/token.l @@ -170,6 +170,7 @@ keyed-sha1 { PREPROC; yylval.num = SADB_X_AALG_SHA; return(ALG_AUTH); } hmac-sha2-256 { PREPROC; yylval.num = SADB_X_AALG_SHA2_256; return(ALG_AUTH); } hmac-sha2-384 { PREPROC; yylval.num = SADB_X_AALG_SHA2_384; return(ALG_AUTH); } hmac-sha2-512 { PREPROC; yylval.num = SADB_X_AALG_SHA2_512; return(ALG_AUTH); } +hmac-ripemd160 { PREPROC; yylval.num = SADB_X_AALG_RIPEMD160HMAC; return(ALG_AUTH); } null { PREPROC; yylval.num = SADB_X_AALG_NULL; return(ALG_AUTH); } /* encryption alogorithm */ |