summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-12-03 13:12:21 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-12-03 13:12:21 +0000
commitfa5bd580a3c698eed942db98f37fff2f8f0c6df2 (patch)
tree133d158c4d2b05f19d4cfff6107bb24096b93cbe /sys/netinet
parent68bb4fedbbf374f521c5426fb682c2a3717cb515 (diff)
remove some unused defines. ok mikeb
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_ipsp.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index f34cea673d7..c62bc32af3e 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.172 2015/08/25 11:50:14 deraadt Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.173 2015/12/03 13:12:20 tedu Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr),
@@ -59,14 +59,6 @@ union sockaddr_union {
struct sockaddr_in6 sin6;
};
-/* HMAC key sizes */
-#define MD5HMAC96_KEYSIZE 16
-#define SHA1HMAC96_KEYSIZE 20
-#define RIPEMD160HMAC96_KEYSIZE 20
-#define SHA2_256HMAC96_KEYSIZE 32
-#define SHA2_384HMAC96_KEYSIZE 48
-#define SHA2_512HMAC96_KEYSIZE 64
-
#define AH_HMAC_MAX_HASHLEN 32 /* 256 bits of authenticator for SHA512 */
#define AH_HMAC_RPLENGTH 4 /* 32 bits of replay counter */
#define AH_HMAC_INITIAL_RPL 1 /* Replay counter initial value */