summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/ec/ecp_nistp521.c
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@iij.ad.jp>2015-03-30 14:41:01 +0900
committerShigeki Ohtsu <ohtsu@iij.ad.jp>2015-04-15 00:36:13 +0900
commite4872d7405c60da50692e3c4cd5a9df2e96a5680 (patch)
tree2ccc49f465ec7364702c99f6aa190c8c60de16ef /deps/openssl/openssl/crypto/ec/ecp_nistp521.c
parent50e9fc197d57ecd7b3c23ae85d66b59fedf4ea82 (diff)
downloadandroid-node-v8-e4872d7405c60da50692e3c4cd5a9df2e96a5680.tar.gz
android-node-v8-e4872d7405c60da50692e3c4cd5a9df2e96a5680.tar.bz2
android-node-v8-e4872d7405c60da50692e3c4cd5a9df2e96a5680.zip
deps: upgrade openssl to 1.0.2a
This just replaces all sources in deps/openssl/openssl to originals in https://www.openssl.org/source/openssl-1.0.2a.tar.gz Fixes: https://github.com/iojs/io.js/issues/589 PR-URL: https://github.com/iojs/io.js/pull/1389 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/openssl/openssl/crypto/ec/ecp_nistp521.c')
-rw-r--r--deps/openssl/openssl/crypto/ec/ecp_nistp521.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/openssl/openssl/crypto/ec/ecp_nistp521.c b/deps/openssl/openssl/crypto/ec/ecp_nistp521.c
index cc7634512d..360b9a3516 100644
--- a/deps/openssl/openssl/crypto/ec/ecp_nistp521.c
+++ b/deps/openssl/openssl/crypto/ec/ecp_nistp521.c
@@ -1282,11 +1282,11 @@ static void point_add(felem x3, felem y3, felem z3,
felem_scalar128(tmp2, 2);
/* tmp2[i] < 17*2^121 */
felem_diff128(tmp, tmp2);
- /*-
- * tmp[i] < 2^127 - 2^69 + 17*2^122
- * = 2^126 - 2^122 - 2^6 - 2^2 - 1
- * < 2^127
- */
+ /*-
+ * tmp[i] < 2^127 - 2^69 + 17*2^122
+ * = 2^126 - 2^122 - 2^6 - 2^2 - 1
+ * < 2^127
+ */
felem_reduce(y_out, tmp);
copy_conditional(x_out, x2, z1_is_zero);