summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-02-05 12:02:37 +0000
committerume <ume@FreeBSD.org>2004-02-05 12:02:37 +0000
commitcf8bc364e9577ce3169b97a83895c527d9728f03 (patch)
tree0cb66757b871960430443903e6597bb8b73506e8 /usr.bin
parente16990c4c0beb8e3b03b0fd1d32ee5e8f1c2fff0 (diff)
downloadFreeBSD-src-cf8bc364e9577ce3169b97a83895c527d9728f03.zip
FreeBSD-src-cf8bc364e9577ce3169b97a83895c527d9728f03.tar.gz
- support hmac-ripemd160.
- support AES XCBC MAC/AES counter mode. Obtained from: KAME
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/ipsec.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/netstat/ipsec.c b/usr.bin/netstat/ipsec.c
index 3a5638c..03c685a 100644
--- a/usr.bin/netstat/ipsec.c
+++ b/usr.bin/netstat/ipsec.c
@@ -1,5 +1,5 @@
/* $NetBSD: inet.c,v 1.35.2.1 1999/04/29 14:57:08 perry Exp $ */
-/* $KAME: ipsec.c,v 1.25 2001/03/12 09:04:39 itojun Exp $ */
+/* $KAME: ipsec.c,v 1.33 2003/07/25 09:54:32 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
@@ -111,6 +111,12 @@ static struct val2str ipsec_ahnames[] = {
#ifdef SADB_X_AALG_SHA2_512
{ SADB_X_AALG_SHA2_512, "hmac-sha2-512", },
#endif
+#ifdef SADB_X_AALG_RIPEMD160HMAC
+ { SADB_X_AALG_RIPEMD160HMAC, "hmac-ripemd160", },
+#endif
+#ifdef SADB_X_AALG_AES_XCBC_MAC
+ { SADB_X_AALG_AES_XCBC_MAC, "aes-xcbc-mac", },
+#endif
{ -1, NULL },
};
@@ -124,6 +130,9 @@ static struct val2str ipsec_espnames[] = {
#ifdef SADB_X_EALG_RIJNDAELCBC
{ SADB_X_EALG_RIJNDAELCBC, "rijndael-cbc", },
#endif
+#ifdef SADB_X_EALG_AESCTR
+ { SADB_X_EALG_AESCTR, "aes-ctr", },
+#endif
{ -1, NULL },
};
OpenPOWER on IntegriCloud