projects
/
BearSSL
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added support for getrandom()/getentropy(), and a fix for the RDRAND bug on AMD CPU...
[BearSSL]
/
src
/
ec
/
ec_p256_m31.c
diff --git
a/src/ec/ec_p256_m31.c
b/src/ec/ec_p256_m31.c
index
ec22c3e
..
d57ef7b
100644
(file)
--- a/
src/ec/ec_p256_m31.c
+++ b/
src/ec/ec_p256_m31.c
@@
-1089,7
+1089,7
@@
p256_decode(p256_jacobian *P, const void *src, size_t len)
memcpy(P->y, ty, sizeof ty);
memset(P->z, 0, sizeof P->z);
P->z[0] = 1;
- return
NEQ(bad, 0) ^ 1
;
+ return
EQ(bad, 0)
;
}
/*