diff options
| author | jsing <> | 2023-03-05 16:11:36 +0000 |
|---|---|---|
| committer | jsing <> | 2023-03-05 16:11:36 +0000 |
| commit | bfdd29231896c00654032c620fec206194c8dd4e (patch) | |
| tree | 1a847f1ae8c4fd3b84ca25f17a8e0f3e51620659 /src | |
| parent | c397e8c15ba4a80189dbd74f6c15da6abf522fc1 (diff) | |
| download | openbsd-bfdd29231896c00654032c620fec206194c8dd4e.tar.gz openbsd-bfdd29231896c00654032c620fec206194c8dd4e.tar.bz2 openbsd-bfdd29231896c00654032c620fec206194c8dd4e.zip | |
Remove ec_GFp_nistp.* prototypes.
This code has been deleted, however the prototypes managed to hang around.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_local.h | 41 |
1 files changed, 1 insertions, 40 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h index e051a4aa17..986534efcc 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.4 2023/03/05 16:06:14 jsing Exp $ */ | 1 | /* $OpenBSD: ec_local.h,v 1.5 2023/03/05 16:11:36 jsing 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 | */ |
| @@ -434,24 +434,6 @@ int ec_GF2m_precompute_mult(EC_GROUP *group, BN_CTX *ctx); | |||
| 434 | int ec_GF2m_have_precompute_mult(const EC_GROUP *group); | 434 | int ec_GF2m_have_precompute_mult(const EC_GROUP *group); |
| 435 | 435 | ||
| 436 | #ifndef OPENSSL_EC_NISTP_64_GCC_128 | 436 | #ifndef OPENSSL_EC_NISTP_64_GCC_128 |
| 437 | /* method functions in ecp_nistp224.c */ | ||
| 438 | int ec_GFp_nistp224_group_init(EC_GROUP *group); | ||
| 439 | int ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *n, BN_CTX *); | ||
| 440 | int ec_GFp_nistp224_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx); | ||
| 441 | int ec_GFp_nistp224_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *); | ||
| 442 | int ec_GFp_nistp224_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx); | ||
| 443 | int ec_GFp_nistp224_precompute_mult(EC_GROUP *group, BN_CTX *ctx); | ||
| 444 | int ec_GFp_nistp224_have_precompute_mult(const EC_GROUP *group); | ||
| 445 | |||
| 446 | /* method functions in ecp_nistp256.c */ | ||
| 447 | int ec_GFp_nistp256_group_init(EC_GROUP *group); | ||
| 448 | int ec_GFp_nistp256_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *n, BN_CTX *); | ||
| 449 | int ec_GFp_nistp256_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx); | ||
| 450 | int ec_GFp_nistp256_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *); | ||
| 451 | int ec_GFp_nistp256_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx); | ||
| 452 | int ec_GFp_nistp256_precompute_mult(EC_GROUP *group, BN_CTX *ctx); | ||
| 453 | int ec_GFp_nistp256_have_precompute_mult(const EC_GROUP *group); | ||
| 454 | |||
| 455 | 437 | ||
| 456 | /* EC_METHOD definitions */ | 438 | /* EC_METHOD definitions */ |
| 457 | 439 | ||
| @@ -491,27 +473,6 @@ int ossl_ecdsa_verify(int type, const unsigned char *dgst, int dgst_len, | |||
| 491 | int ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, | 473 | int ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, |
| 492 | const ECDSA_SIG *sig, EC_KEY *eckey); | 474 | const ECDSA_SIG *sig, EC_KEY *eckey); |
| 493 | 475 | ||
| 494 | /* method functions in ecp_nistp521.c */ | ||
| 495 | int ec_GFp_nistp521_group_init(EC_GROUP *group); | ||
| 496 | int ec_GFp_nistp521_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *n, BN_CTX *); | ||
| 497 | int ec_GFp_nistp521_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx); | ||
| 498 | int ec_GFp_nistp521_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *); | ||
| 499 | int ec_GFp_nistp521_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx); | ||
| 500 | int ec_GFp_nistp521_precompute_mult(EC_GROUP *group, BN_CTX *ctx); | ||
| 501 | int ec_GFp_nistp521_have_precompute_mult(const EC_GROUP *group); | ||
| 502 | |||
| 503 | /* utility functions in ecp_nistputil.c */ | ||
| 504 | void ec_GFp_nistp_points_make_affine_internal(size_t num, void *point_array, | ||
| 505 | size_t felem_size, void *tmp_felems, | ||
| 506 | void (*felem_one)(void *out), | ||
| 507 | int (*felem_is_zero)(const void *in), | ||
| 508 | void (*felem_assign)(void *out, const void *in), | ||
| 509 | void (*felem_square)(void *out, const void *in), | ||
| 510 | void (*felem_mul)(void *out, const void *in1, const void *in2), | ||
| 511 | void (*felem_inv)(void *out, const void *in), | ||
| 512 | void (*felem_contract)(void *out, const void *in)); | ||
| 513 | void ec_GFp_nistp_recode_scalar_bits(unsigned char *sign, unsigned char *digit, unsigned char in); | ||
| 514 | |||
| 515 | #endif | 476 | #endif |
| 516 | 477 | ||
| 517 | __END_HIDDEN_DECLS | 478 | __END_HIDDEN_DECLS |
