diff options
| author | tb <> | 2025-03-09 15:33:35 +0000 |
|---|---|---|
| committer | tb <> | 2025-03-09 15:33:35 +0000 |
| commit | aea3014df333871d02dc263a69746399371b2009 (patch) | |
| tree | 5ea07c323509da65b5e08fe62e83b6238f547a51 /src/lib/libcrypto/hidden/openssl | |
| parent | 9175c6902a8e145ca23903d60576f90eb073d460 (diff) | |
| download | openbsd-aea3014df333871d02dc263a69746399371b2009.tar.gz openbsd-aea3014df333871d02dc263a69746399371b2009.tar.bz2 openbsd-aea3014df333871d02dc263a69746399371b2009.zip | |
Unexport EC_METHOD and all API using it
This is an implementation detail and there is no reason to leak it from
the library.
This removes EC_GFp_{mont,simple}_method(), EC_GROUP_{method_of,new}(),
EC_METHOD_get_field_type(), EC_POINT_method_of() from the public API.
EC_GROUP_copy() is now quite useless, so it will go as well.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl')
| -rw-r--r-- | src/lib/libcrypto/hidden/openssl/ec.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/ec.h b/src/lib/libcrypto/hidden/openssl/ec.h index 0b64474c4b..8ffa017d2d 100644 --- a/src/lib/libcrypto/hidden/openssl/ec.h +++ b/src/lib/libcrypto/hidden/openssl/ec.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec.h,v 1.7 2024/10/22 15:54:33 tb Exp $ */ | 1 | /* $OpenBSD: ec.h,v 1.8 2025/03/09 15:33:35 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> |
| 4 | * | 4 | * |
| @@ -25,14 +25,9 @@ | |||
| 25 | #endif | 25 | #endif |
| 26 | #include "crypto_namespace.h" | 26 | #include "crypto_namespace.h" |
| 27 | 27 | ||
| 28 | LCRYPTO_USED(EC_GFp_simple_method); | ||
| 29 | LCRYPTO_USED(EC_GFp_mont_method); | ||
| 30 | LCRYPTO_USED(EC_GROUP_new); | ||
| 31 | LCRYPTO_USED(EC_GROUP_free); | 28 | LCRYPTO_USED(EC_GROUP_free); |
| 32 | LCRYPTO_USED(EC_GROUP_copy); | 29 | LCRYPTO_USED(EC_GROUP_copy); |
| 33 | LCRYPTO_USED(EC_GROUP_dup); | 30 | LCRYPTO_USED(EC_GROUP_dup); |
| 34 | LCRYPTO_USED(EC_GROUP_method_of); | ||
| 35 | LCRYPTO_USED(EC_METHOD_get_field_type); | ||
| 36 | LCRYPTO_USED(EC_GROUP_set_generator); | 31 | LCRYPTO_USED(EC_GROUP_set_generator); |
| 37 | LCRYPTO_USED(EC_GROUP_get0_generator); | 32 | LCRYPTO_USED(EC_GROUP_get0_generator); |
| 38 | LCRYPTO_USED(EC_GROUP_get_order); | 33 | LCRYPTO_USED(EC_GROUP_get_order); |
| @@ -62,7 +57,6 @@ LCRYPTO_USED(EC_POINT_new); | |||
| 62 | LCRYPTO_USED(EC_POINT_free); | 57 | LCRYPTO_USED(EC_POINT_free); |
| 63 | LCRYPTO_USED(EC_POINT_copy); | 58 | LCRYPTO_USED(EC_POINT_copy); |
| 64 | LCRYPTO_USED(EC_POINT_dup); | 59 | LCRYPTO_USED(EC_POINT_dup); |
| 65 | LCRYPTO_USED(EC_POINT_method_of); | ||
| 66 | LCRYPTO_USED(EC_POINT_set_to_infinity); | 60 | LCRYPTO_USED(EC_POINT_set_to_infinity); |
| 67 | LCRYPTO_USED(EC_POINT_set_affine_coordinates); | 61 | LCRYPTO_USED(EC_POINT_set_affine_coordinates); |
| 68 | LCRYPTO_USED(EC_POINT_get_affine_coordinates); | 62 | LCRYPTO_USED(EC_POINT_get_affine_coordinates); |
