[openssl-dev] ecp_nistz256 is_one is too liberal with what it considers to be one
Brian Smith
brian at briansmith.org
Tue Jul 5 01:25:43 UTC 2016
Please see the attached program and consider the following change:
```
if (P256_LIMBS == 8) {
res |= a[4] ^ ONE[4];
res |= a[5] ^ ONE[5];
res |= a[6] ^ ONE[6];
+ res |= a[7] ^ ONE[7];
}
```
Cheers,
Brian
--
https://briansmith.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160704/aa6d5cd8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: is_one.c
Type: text/x-csrc
Size: 1090 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160704/aa6d5cd8/attachment-0001.c>
More information about the openssl-dev
mailing list