summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-30 17:24:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-30 17:24:00 +0000
commitcc447b57b36926b58dd27098f08f304149cb4ab3 (patch)
tree481c572a16d5cd383ba63924278433ff9a584e44 /sys/netinet/ip_ipsp.h
parentc36ef4ea79422c0bacfa02bbd338fae6711cafce (diff)
remove final low-level crypto knowledge from base ipsec code
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r--sys/netinet/ip_ipsp.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index f4b77e8093d..02e861e3594 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.36 1999/06/18 07:24:07 deraadt Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.37 1999/06/30 17:23:59 deraadt Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -287,6 +287,17 @@ struct tdb /* tunnel descriptor block */
TAILQ_HEAD(tdb_inp_head, inpcb) tdb_inp;
};
+union authctx_old {
+ MD5_CTX md5ctx;
+ SHA1_CTX sha1ctx;
+};
+
+union authctx {
+ MD5_CTX md5ctx;
+ SHA1_CTX sha1ctx;
+ RMD160_CTX rmd160ctx;
+};
+
struct tdb_ident {
u_int32_t spi;
union sockaddr_union dst;