diff options
| author | tb <> | 2023-07-03 07:26:40 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-03 07:26:40 +0000 |
| commit | fc648de0294a70decca4c07f035d5ac265a3374a (patch) | |
| tree | ac34ce498be86f132bbd893725023c64f6fb490f /src/lib/libcrypto/ec/ec_local.h | |
| parent | 93d85e0506f10086a19e65dabf52fc4b786122f5 (diff) | |
| download | openbsd-fc648de0294a70decca4c07f035d5ac265a3374a.tar.gz openbsd-fc648de0294a70decca4c07f035d5ac265a3374a.tar.bz2 openbsd-fc648de0294a70decca4c07f035d5ac265a3374a.zip | |
Provide internal-only EC_GROUP_get0_order()
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_local.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h index a058878a69..0d219e8e21 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.22 2023/06/27 07:31:18 tb Exp $ */ | 1 | /* $OpenBSD: ec_local.h,v 1.23 2023/07/03 07:26:40 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 | */ |
| @@ -360,4 +360,7 @@ int EC_POINT_set_Jprojective_coordinates(const EC_GROUP *group, EC_POINT *p, | |||
| 360 | int EC_POINT_get_Jprojective_coordinates(const EC_GROUP *group, | 360 | int EC_POINT_get_Jprojective_coordinates(const EC_GROUP *group, |
| 361 | const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx); | 361 | const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx); |
| 362 | 362 | ||
| 363 | /* Public API in OpenSSL */ | ||
| 364 | const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group); | ||
| 365 | |||
| 363 | __END_HIDDEN_DECLS | 366 | __END_HIDDEN_DECLS |
