aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/crypto.h
diff options
context:
space:
mode:
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.