summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-10-12 09:41:42 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-10-12 09:41:42 +0000
commit492528c051c93c3c37a5f455115eb8da8a1892ba (patch)
tree2decf36a0c89d43e5a0e70adbde87c593c8c9376 /sbin
parent5e6a487b36ef330611799d3c189c3dd0e3b6f8fc (diff)
downloadsrc-test2-492528c051c93c3c37a5f455115eb8da8a1892ba.tar.gz
src-test2-492528c051c93c3c37a5f455115eb8da8a1892ba.zip
Notes
Diffstat (limited to 'sbin')
-rw-r--r--sbin/setkey/setkey.82
-rw-r--r--sbin/setkey/token.l1
2 files changed, 3 insertions, 0 deletions
diff --git a/sbin/setkey/setkey.8 b/sbin/setkey/setkey.8
index 7c8cf38cb304..d11a6addcd9d 100644
--- a/sbin/setkey/setkey.8
+++ b/sbin/setkey/setkey.8
@@ -549,6 +549,8 @@ hmac-sha2-384 384 ah: 96bit ICV (no document)
384 ah-old: 128bit ICV (no document)
hmac-sha2-512 512 ah: 96bit ICV (no document)
512 ah-old: 128bit ICV (no document)
+hmac-ripemd160 160 ah: 96bit ICV (RFC2857)
+ ah-old: 128bit ICV (no document)
.Ed
.Pp
Followings are the list of encryption algorithms that can be used as
diff --git a/sbin/setkey/token.l b/sbin/setkey/token.l
index 208196e3cdc8..eed519082a40 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 */