sync with OpenBSD -current

This commit is contained in:
purplerain 2024-10-19 18:44:04 +00:00
parent 5f899da0da
commit b9b2353a61
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
19 changed files with 361 additions and 464 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: ec_local.h,v 1.29 2024/10/15 06:27:43 tb Exp $ */
/* $OpenBSD: ec_local.h,v 1.30 2024/10/18 17:27:07 tb Exp $ */
/*
* Originally written by Bodo Moeller for the OpenSSL project.
*/
@ -355,6 +355,8 @@ int EC_POINT_set_Jprojective_coordinates(const EC_GROUP *group, EC_POINT *p,
int EC_POINT_get_Jprojective_coordinates(const EC_GROUP *group,
const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx);
int ec_group_is_builtin_curve(const EC_GROUP *group);
/* Public API in OpenSSL */
const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group);
const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);