From c63c0433c1d03b77af2ee341d0e7c3633d34e672 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Thu, 8 May 2014 15:06:42 +0200 Subject: [PATCH] enable timing resistant ECC calculations by default --- src/headers/tomcrypt_custom.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/headers/tomcrypt_custom.h b/src/headers/tomcrypt_custom.h index e34beb1..0494202 100644 --- a/src/headers/tomcrypt_custom.h +++ b/src/headers/tomcrypt_custom.h @@ -358,8 +358,10 @@ /* do we want fixed point ECC */ /* #define LTC_MECC_FP */ -/* Timing Resistant? */ -/* #define LTC_ECC_TIMING_RESISTANT */ +#ifndef LTC_NO_ECC_TIMING_RESISTANT +/* Enable ECC timing resistant version by default */ +#define LTC_ECC_TIMING_RESISTANT +#endif #endif /* LTC_NO_PK */