aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/utils.h')
-rw-r--r--src/libstrongswan/utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstrongswan/utils.h b/src/libstrongswan/utils.h
index 4d05ce58b..326047644 100644
--- a/src/libstrongswan/utils.h
+++ b/src/libstrongswan/utils.h
@@ -41,6 +41,11 @@
#define BUF_LEN 512
/**
+ * Entropy in bits of secret Diffie-Hellman exponents
+ */
+#define DH_EXPONENT_ENTROPY_SIZE 512
+
+/**
* Macro compares two strings for equality
*/
#define streq(x,y) (strcmp(x, y) == 0)