summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2018-11-06 02:16:13 +0000
committertb <>2018-11-06 02:16:13 +0000
commit867159d65fef4b69f0c1db95cd59203533512e04 (patch)
treeb045e2d811dd314647f7b01462736f13f2eb6b97 /src
parent011adf78027bced403e1190e496f00d941510468 (diff)
downloadopenbsd-867159d65fef4b69f0c1db95cd59203533512e04.tar.gz
openbsd-867159d65fef4b69f0c1db95cd59203533512e04.tar.bz2
openbsd-867159d65fef4b69f0c1db95cd59203533512e04.zip
disable EC_POINT coordinate blinding due to failures in ECDHE and TLS
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/ec/ecp_smpl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ecp_smpl.c b/src/lib/libcrypto/ec/ecp_smpl.c
index 24054a51c5..d3fcd99670 100644
--- a/src/lib/libcrypto/ec/ecp_smpl.c
+++ b/src/lib/libcrypto/ec/ecp_smpl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecp_smpl.c,v 1.25 2018/11/06 02:14:39 tb Exp $ */ 1/* $OpenBSD: ecp_smpl.c,v 1.26 2018/11/06 02:16:13 tb Exp $ */
2/* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> 2/* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de>
3 * for the OpenSSL project. 3 * for the OpenSSL project.
4 * Includes code written by Bodo Moeller for the OpenSSL project. 4 * Includes code written by Bodo Moeller for the OpenSSL project.
@@ -1599,8 +1599,10 @@ ec_GFp_simple_mul_ct(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
1599 * Apply coordinate blinding for EC_POINT if the underlying EC_METHOD 1599 * Apply coordinate blinding for EC_POINT if the underlying EC_METHOD
1600 * implements it. 1600 * implements it.
1601 */ 1601 */
1602#if 0
1602 if (!ec_point_blind_coordinates(group, s, ctx)) 1603 if (!ec_point_blind_coordinates(group, s, ctx))
1603 goto err; 1604 goto err;
1605#endif
1604 1606
1605 /* top bit is a 1, in a fixed pos */ 1607 /* top bit is a 1, in a fixed pos */
1606 if (!EC_POINT_copy(r, s)) 1608 if (!EC_POINT_copy(r, s))