diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_ameth.c | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/ec/ec_local.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_ameth.c b/src/lib/libcrypto/ec/ec_ameth.c index a47110827e..246da22450 100644 --- a/src/lib/libcrypto/ec/ec_ameth.c +++ b/src/lib/libcrypto/ec/ec_ameth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec_ameth.c,v 1.70 2024/10/20 10:52:51 tb Exp $ */ | 1 | /* $OpenBSD: ec_ameth.c,v 1.71 2024/10/28 18:01:26 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006. | 3 | * project 2006. |
| 4 | */ | 4 | */ |
| @@ -310,7 +310,7 @@ eckey_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) | |||
| 310 | return -2; | 310 | return -2; |
| 311 | } | 311 | } |
| 312 | 312 | ||
| 313 | static int | 313 | int |
| 314 | eckey_compute_pubkey(EC_KEY *eckey) | 314 | eckey_compute_pubkey(EC_KEY *eckey) |
| 315 | { | 315 | { |
| 316 | const BIGNUM *priv_key; | 316 | const BIGNUM *priv_key; |
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h index 4786f8520b..1a49067cd8 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.31 2024/10/22 12:06:08 tb Exp $ */ | 1 | /* $OpenBSD: ec_local.h,v 1.32 2024/10/28 18:01:26 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 | */ |
| @@ -336,6 +336,7 @@ struct ec_key_method_st { | |||
| 336 | 336 | ||
| 337 | #define EC_KEY_METHOD_DYNAMIC 1 | 337 | #define EC_KEY_METHOD_DYNAMIC 1 |
| 338 | 338 | ||
| 339 | int eckey_compute_pubkey(EC_KEY *eckey); | ||
| 339 | int ec_key_gen(EC_KEY *eckey); | 340 | int ec_key_gen(EC_KEY *eckey); |
| 340 | int ecdh_compute_key(unsigned char **out, size_t *out_len, | 341 | int ecdh_compute_key(unsigned char **out, size_t *out_len, |
| 341 | const EC_POINT *pub_key, const EC_KEY *ecdh); | 342 | const EC_POINT *pub_key, const EC_KEY *ecdh); |
