summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
-rw-r--r--src/lib/libcrypto/ec/ec_local.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index 1a49067cd8..7aa1c3f64e 100644
--- a/src/lib/libcrypto/ec/ec_local.h
+++ b/src/lib/libcrypto/ec/ec_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_local.h,v 1.32 2024/10/28 18:01:26 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.33 2024/10/30 06:10:35 tb Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -359,6 +359,12 @@ int EC_POINT_get_Jprojective_coordinates(const EC_GROUP *group,
359int ec_group_is_builtin_curve(const EC_GROUP *group); 359int ec_group_is_builtin_curve(const EC_GROUP *group);
360int ec_group_get_field_type(const EC_GROUP *group); 360int ec_group_get_field_type(const EC_GROUP *group);
361 361
362/*
363 * Wrapper around the unergonomic EC_POINT_point2oct().
364 */
365int ec_point_to_octets(const EC_GROUP *group, const EC_POINT *point, int form,
366 unsigned char **out_buf, size_t *len, BN_CTX *ctx_in);
367
362/* Public API in OpenSSL */ 368/* Public API in OpenSSL */
363const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group); 369const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group);
364const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group); 370const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);