Loading crypto/ec/ecp_nistz256.c +3 −2 Original line number Diff line number Diff line Loading @@ -1074,6 +1074,7 @@ static int ecp_nistz256_points_mul(const EC_GROUP * group, const BIGNUM * scalars[], BN_CTX * ctx) { int i = 0, ret = 0, no_precomp_for_generator = 0, p_is_infinity = 0; size_t j; unsigned char p_str[33] = { 0 }; const PRECOMP256_ROW *preComputedTable = NULL; const EC_PRE_COMP *pre_comp = NULL; Loading @@ -1095,8 +1096,8 @@ static int ecp_nistz256_points_mul(const EC_GROUP * group, if ((scalar == NULL) && (num == 0)) return EC_POINT_set_to_infinity(group, r); for (i = 0; i < num; i++) { if (group->meth != points[i]->meth) { for (j = 0; j < num; j++) { if (group->meth != points[j]->meth) { ECerr(EC_F_NISTZ256_POINTS_MUL, EC_R_INCOMPATIBLE_OBJECTS); return 0; } Loading Loading
crypto/ec/ecp_nistz256.c +3 −2 Original line number Diff line number Diff line Loading @@ -1074,6 +1074,7 @@ static int ecp_nistz256_points_mul(const EC_GROUP * group, const BIGNUM * scalars[], BN_CTX * ctx) { int i = 0, ret = 0, no_precomp_for_generator = 0, p_is_infinity = 0; size_t j; unsigned char p_str[33] = { 0 }; const PRECOMP256_ROW *preComputedTable = NULL; const EC_PRE_COMP *pre_comp = NULL; Loading @@ -1095,8 +1096,8 @@ static int ecp_nistz256_points_mul(const EC_GROUP * group, if ((scalar == NULL) && (num == 0)) return EC_POINT_set_to_infinity(group, r); for (i = 0; i < num; i++) { if (group->meth != points[i]->meth) { for (j = 0; j < num; j++) { if (group->meth != points[j]->meth) { ECerr(EC_F_NISTZ256_POINTS_MUL, EC_R_INCOMPATIBLE_OBJECTS); return 0; } Loading