Kaynağa Gözat

enable timing resistant ECC calculations by default

Steffen Jaeckel 11 yıl önce
ebeveyn
işleme
c63c0433c1
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  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 */