diff options
| author | tb <> | 2024-10-28 18:01:26 +0000 |
|---|---|---|
| committer | tb <> | 2024-10-28 18:01:26 +0000 |
| commit | b489a32343150e531040adb95107a40c69ce9efb (patch) | |
| tree | cd8e83a1317983c280eb48717ea32c45adb363d5 /src/lib/libcrypto/ec/ec_local.h | |
| parent | ffcada1420a16468d4f8fc529d3b6b229319d5e0 (diff) | |
| download | openbsd-b489a32343150e531040adb95107a40c69ce9efb.tar.gz openbsd-b489a32343150e531040adb95107a40c69ce9efb.tar.bz2 openbsd-b489a32343150e531040adb95107a40c69ce9efb.zip | |
Expose eckey_compute_key() from ec_ameth
This helper will be needed in a subsequent commit.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_local.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
