Fixed carry propagation bug in m64 impl for P-256.
[BearSSL] / src / ec / ec_c25519_m62.c
index 44eb455..6b058eb 100644 (file)
 
 #if BR_INT128 || BR_UMUL128
 
 
 #if BR_INT128 || BR_UMUL128
 
+#if BR_UMUL128
+#include <intrin.h>
+#endif
+
 static const unsigned char GEN[] = {
        0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 static const unsigned char GEN[] = {
        0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,