PR: 2632
[openssl.git] / crypto / ec / ec2_mult.c
index e12b9b284a00298cec51623ec81193c2e86499b9..f41665ac10bcbb8bc3065710506f7c97ed7a7854 100644 (file)
  *
  */
 
+#define OPENSSL_FIPSAPI
+
 #include <openssl/err.h>
 
 #include "ec_lcl.h"
 
+#ifndef OPENSSL_NO_EC2M
+
 
 /* Compute the x-coordinate x/z for the point 2*(x/z) in Montgomery projective 
  * coordinates.
@@ -384,3 +388,5 @@ int ec_GF2m_have_precompute_mult(const EC_GROUP *group)
        {
        return ec_wNAF_have_precompute_mult(group);
        }
+
+#endif