From ea355dbc7953a008b9e4fd155c97f4a471520a58 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Fri, 24 Mar 2017 16:58:04 +0100 Subject: [PATCH] there's no reason to disable DH when using GMP as MPI provider --- src/headers/tomcrypt_custom.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/headers/tomcrypt_custom.h b/src/headers/tomcrypt_custom.h index 6d6f4f3..fda79f7 100644 --- a/src/headers/tomcrypt_custom.h +++ b/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 */