summaryrefslogtreecommitdiff
path: root/keyexchange/isakmpd-20041012/key.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-08 20:59:57 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-08 20:59:57 +0000
commitf84dc62cc602eacb0daee3e9918a68b711ba94f0 (patch)
tree1acbdabf30b2ece1da880386da6a4b7c002669c3 /keyexchange/isakmpd-20041012/key.h
parent* added AuthTag class (diff)
removed isakmpd
Diffstat (limited to 'keyexchange/isakmpd-20041012/key.h')
-rw-r--r--keyexchange/isakmpd-20041012/key.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/keyexchange/isakmpd-20041012/key.h b/keyexchange/isakmpd-20041012/key.h
deleted file mode 100644
index 81b1328..0000000
--- a/keyexchange/isakmpd-20041012/key.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* $OpenBSD: key.h,v 1.7 2004/04/15 18:39:26 deraadt Exp $ */
-/*
- * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
- *
- * Copyright (c) 2000-2001 Angelos D. Keromytis.
- *
- * Permission to use, copy, and modify this software with or without fee
- * is hereby granted, provided that this entire notice is included in
- * all copies of any software which is or includes a copy or
- * modification of this software.
- * You may use this code under the GNU public license if you so wish. Please
- * contribute changes back to the authors under this freer than GPL license
- * so that we may further the use of strong encryption without limitations to
- * all.
- *
- * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTY. IN PARTICULAR, NONE OF THE AUTHORS MAKES ANY
- * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE
- * MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR
- * PURPOSE.
- */
-
-#ifndef _KEY_H_
-#define _KEY_H_
-
-#define ISAKMP_KEY_NONE 0
-#define ISAKMP_KEY_PASSPHRASE 1
-#define ISAKMP_KEY_RSA 2
-#define ISAKMP_KEY_DSA 3
-
-#define ISAKMP_KEYTYPE_PUBLIC 0
-#define ISAKMP_KEYTYPE_PRIVATE 1
-
-void key_free(int, int, void *);
-void key_serialize(int, int, void *, u_int8_t **, size_t *);
-char *key_printable(int, int, u_int8_t *, int);
-void key_from_printable(int, int, char *, u_int8_t **, u_int32_t *);
-void *key_internalize(int, int, u_int8_t *, int);
-#endif /* _KEY_H_ */