summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ec.h')
-rw-r--r--src/lib/libcrypto/ec/ec.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h
index 61b70897f9..b1cba7d6c8 100644
--- a/src/lib/libcrypto/ec/ec.h
+++ b/src/lib/libcrypto/ec/ec.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec.h,v 1.24 2021/05/10 16:58:19 tb Exp $ */ 1/* $OpenBSD: ec.h,v 1.25 2021/09/08 17:29:21 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 */
@@ -250,6 +250,10 @@ const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
250 */ 250 */
251int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx); 251int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
252 252
253#if defined(LIBRESSL_INTERNAL)
254int EC_GROUP_order_bits(const EC_GROUP *group);
255#endif
256
253/** Gets the cofactor of a EC_GROUP 257/** Gets the cofactor of a EC_GROUP
254 * \param group EC_GROUP object 258 * \param group EC_GROUP object
255 * \param cofactor BIGNUM to which the cofactor is copied 259 * \param cofactor BIGNUM to which the cofactor is copied