From 98291f8465b520fa66e55641da585e62b502fcc4 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 2 Nov 2018 11:38:52 -0700 Subject: [PATCH] Update comment in dh.c. --- wolfcrypt/src/dh.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wolfcrypt/src/dh.c b/wolfcrypt/src/dh.c index a8aa85357..8e53301f9 100644 --- a/wolfcrypt/src/dh.c +++ b/wolfcrypt/src/dh.c @@ -56,6 +56,17 @@ #endif +/* +Possible DH enable options: + * NO_RSA: Overall control of DH default: on (not defined) + * WOLFSSL_OLD_PRIME_CHECK: Disables the new prime number check. It does not + directly effect this file, but it does speed up DH + removing the testing. It is not recommended to + disable the prime checking. default: off + +*/ + + #if !defined(USER_MATH_LIB) && !defined(WOLFSSL_DH_CONST) #include #define XPOW(x,y) pow((x),(y))