aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/crypto.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-05-24 11:26:00 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-05-24 11:26:00 +0200
commit52ccea657bcf98dbabaf0d5cba607a8cfab25797 (patch)
tree4dc8d321a2449300e7cd6305d3b27c11d4f21ee3 /src/pluto/crypto.h
parent770b4089029f865e82c00560b7a1c69879ead173 (diff)
downloadstrongswan-52ccea657bcf98dbabaf0d5cba607a8cfab25797.tar.bz2
strongswan-52ccea657bcf98dbabaf0d5cba607a8cfab25797.tar.xz
use the Diffie-Hellman functionality of libstrongswan
Diffstat (limited to 'src/pluto/crypto.h')
-rw-r--r--src/pluto/crypto.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/pluto/crypto.h b/src/pluto/crypto.h
index 0f8741e01..0c9bc8eb8 100644
--- a/src/pluto/crypto.h
+++ b/src/pluto/crypto.h
@@ -22,20 +22,7 @@
extern void init_crypto(void);
extern void free_crypto(void);
-/* Oakley group descriptions */
-
-extern MP_INT groupgenerator; /* MODP group generator (2) */
-
-struct oakley_group_desc {
- u_int16_t group;
- MP_INT *modulus;
- size_t bytes;
-};
-
-extern const struct oakley_group_desc unset_group; /* magic signifier */
-extern const struct oakley_group_desc *lookup_group(u_int16_t group);
-#define OAKLEY_GROUP_SIZE 7
-extern const struct oakley_group_desc oakley_group[OAKLEY_GROUP_SIZE];
+extern const struct dh_desc unset_group; /* magic signifier */
/* unification of cryptographic encoding/decoding algorithms
* The IV is taken from and returned to st->st_new_iv.