diff options
| author | tb <> | 2021-09-08 17:29:21 +0000 |
|---|---|---|
| committer | tb <> | 2021-09-08 17:29:21 +0000 |
| commit | bb3ed186af675577b3dc493706d7c8cceca9243d (patch) | |
| tree | 485cf97ff684d5d16d39d0844f1d400d6316796e /src/lib/libcrypto/ec/ec.h | |
| parent | e4796a9e5bd3d12ef6b7466ed42d000a6e20f786 (diff) | |
| download | openbsd-bb3ed186af675577b3dc493706d7c8cceca9243d.tar.gz openbsd-bb3ed186af675577b3dc493706d7c8cceca9243d.tar.bz2 openbsd-bb3ed186af675577b3dc493706d7c8cceca9243d.zip | |
Prepare to provide EC_GROUP_order_bits()
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec.h')
| -rw-r--r-- | src/lib/libcrypto/ec/ec.h | 6 |
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 | */ |
| 251 | int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx); | 251 | int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx); |
| 252 | 252 | ||
| 253 | #if defined(LIBRESSL_INTERNAL) | ||
| 254 | int 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 |
