summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-17 20:39:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-17 20:39:18 +0000
commitde8241fbb83208983b5c2484bd72cde3f3a4f6fc (patch)
tree245020eeb9cbc7c4e5652fc1c7935bf74cb54763 /sys/netinet/ip_ipsp.h
parente69c99c22ea6c6485ca410ac27ade91af6b924bc (diff)
ipsec skipjack, based on free .fi code (some .gov type will test this for me)
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r--sys/netinet/ip_ipsp.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index bfbf7736d01..34f306f4a92 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.22 1999/02/17 18:10:38 deraadt Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.23 1999/02/17 20:39:17 deraadt Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -132,22 +132,23 @@ struct xformsw
struct tdb *, struct mbuf **));
};
-#define XF_IP4 1 /* IP inside IP */
-#define XF_OLD_AH 2 /* RFCs 1828 & 1852 */
-#define XF_OLD_ESP 3 /* RFCs 1829 & 1851 */
-#define XF_NEW_AH 4 /* AH HMAC 96bits */
-#define XF_NEW_ESP 5 /* ESP + auth 96bits + replay counter */
+#define XF_IP4 1 /* IP inside IP */
+#define XF_OLD_AH 2 /* RFCs 1828 & 1852 */
+#define XF_OLD_ESP 3 /* RFCs 1829 & 1851 */
+#define XF_NEW_AH 4 /* AH HMAC 96bits */
+#define XF_NEW_ESP 5 /* ESP + auth 96bits + replay counter */
/* Supported key hash algorithms */
-#define ALG_AUTH_MD5 1
-#define ALG_AUTH_SHA1 2
-#define ALG_AUTH_RMD160 3
+#define ALG_AUTH_MD5 1
+#define ALG_AUTH_SHA1 2
+#define ALG_AUTH_RMD160 3
/* Supported encryption algorithms */
-#define ALG_ENC_DES 1
-#define ALG_ENC_3DES 2
-#define ALG_ENC_BLF 3
-#define ALG_ENC_CAST 4
+#define ALG_ENC_DES 1
+#define ALG_ENC_3DES 2
+#define ALG_ENC_BLF 3
+#define ALG_ENC_CAST 4
+#define ALG_ENC_SKIPJACK 5
#define XFT_AUTH 0x0001
#define XFT_CONF 0x0100