remove OPENSSL_NO_ASM dependency
[oweals/openssl.git] / crypto / dh / dh.h
index da44778b58108d56c288f1cf9ed3dbac34de4aed..d1559fd4f878cf9e7b8a1eae15f1bdf3ab486c96 100644 (file)
 #include <openssl/bn.h>
 #endif
        
-#define DH_FLAG_CACHE_MONT_P   0x01
+#define DH_FLAG_CACHE_MONT_P     0x01
+#define DH_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DH
+                                       * implementation now uses constant time
+                                       * modular exponentiation for secret exponents
+                                       * by default. This flag causes the
+                                       * faster variable sliding window method to
+                                       * be used for all exponents.
+                                       */
 
 #ifdef  __cplusplus
 extern "C" {