summaryrefslogtreecommitdiffhomepage
path: root/algo.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-05-02 23:48:16 +0200
committerMatt Johnston <matt@ucc.asn.au>2016-05-02 23:48:16 +0200
commitd6daad29fcfc20295473bf7e6a96f3016282e9e6 (patch)
tree5ac3e533fca2a1141509e16de6f73e2905e45e23 /algo.h
parent4664ce2c35e69ff79949eff178be1720bf288ddc (diff)
options for disabling "normal" DH
Diffstat (limited to 'algo.h')
-rw-r--r--algo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/algo.h b/algo.h
index 49c4f41..17b0072 100644
--- a/algo.h
+++ b/algo.h
@@ -83,9 +83,15 @@ struct dropbear_hash {
};
enum dropbear_kex_mode {
+#if DROPBEAR_NORMAL_DH
DROPBEAR_KEX_NORMAL_DH,
+#endif
+#ifdef DROPBEAR_ECDH
DROPBEAR_KEX_ECDH,
+#endif
+#ifdef DROPBEAR_CURVE25519
DROPBEAR_KEX_CURVE25519,
+#endif
};
struct dropbear_kex {