summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2021-09-10 14:35:36 +0000
committertb <>2021-09-10 14:35:36 +0000
commit897e76b2430b02d128ab608ee51530189889ff96 (patch)
tree160ce4cea993ba8b3ba385724e1205f8d6542da7 /src/lib
parenta07cb6e5d5a078c101a9d5592736fec20b083993 (diff)
downloadopenbsd-897e76b2430b02d128ab608ee51530189889ff96.tar.gz
openbsd-897e76b2430b02d128ab608ee51530189889ff96.tar.bz2
openbsd-897e76b2430b02d128ab608ee51530189889ff96.zip
Expose EC_GROUP_order_bits() in <openssl/ec.h>
ok beck jsing
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/ec/ec.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h
index b1cba7d6c8..fc70a1eba9 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.25 2021/09/08 17:29:21 tb Exp $ */ 1/* $OpenBSD: ec.h,v 1.26 2021/09/10 14:35:36 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,9 +250,7 @@ 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); 253int EC_GROUP_order_bits(const EC_GROUP *group);
255#endif
256 254
257/** Gets the cofactor of a EC_GROUP 255/** Gets the cofactor of a EC_GROUP
258 * \param group EC_GROUP object 256 * \param group EC_GROUP object