Browse Source

enable timing resistant ECC calculations by default

Steffen Jaeckel 11 years ago
parent
commit
c63c0433c1
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/headers/tomcrypt_custom.h

+ 4 - 2
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 */