projects
/
BearSSL
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed carry propagation bug in P-256 'm62' implementation (found by Auke Zeilstra...
[BearSSL]
/
src
/
ec
/
ec_c25519_m62.c
diff --git
a/src/ec/ec_c25519_m62.c
b/src/ec/ec_c25519_m62.c
index
44eb455
..
6b058eb
100644
(file)
--- a/
src/ec/ec_c25519_m62.c
+++ b/
src/ec/ec_c25519_m62.c
@@
-26,6
+26,10
@@
#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,