Update OpenSSL-1.1.1-pre9-dev
This commit is contained in:
@@ -1025,3 +1025,21 @@ int EC_GROUP_do_inverse_ord(const EC_GROUP *group, BIGNUM *res,
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*-
|
||||
* Coordinate blinding for EC_POINT.
|
||||
*
|
||||
* The underlying EC_METHOD can optionally implement this function:
|
||||
* underlying implementations should return 0 on errors, or 1 on
|
||||
* success.
|
||||
*
|
||||
* This wrapper returns 1 in case the underlying EC_METHOD does not
|
||||
* support coordinate blinding.
|
||||
*/
|
||||
int ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx)
|
||||
{
|
||||
if (group->meth->blind_coordinates == NULL)
|
||||
return 1; /* ignore if not implemented */
|
||||
|
||||
return group->meth->blind_coordinates(group, p, ctx);
|
||||
}
|
||||
Reference in New Issue
Block a user