2
0
Эх сурвалжийг харах

there's no reason to disable DH when using GMP as MPI provider

Steffen Jaeckel 8 жил өмнө
parent
commit
ea355dbc79

+ 0 - 2
src/headers/tomcrypt_custom.h

@@ -343,7 +343,6 @@
 #define LTC_MRSA
 
 /* Include Diffie-Hellman support */
-#ifndef GMP_DESC
 /* is_prime fails for GMP */
 #define LTC_MDH
 /* Supported Key Sizes */
@@ -360,7 +359,6 @@
 #define LTC_DH3072
 #define LTC_DH4096
 #endif
-#endif
 
 /* Include Katja (a Rabin variant like RSA) */
 /* #define LTC_MKAT */