summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_ameth.c
diff options
context:
space:
mode:
authortb <>2024-10-28 18:01:26 +0000
committertb <>2024-10-28 18:01:26 +0000
commit7fe8b6a60797c33d896cb1e34f152c4a7c2ac1a7 (patch)
treecd8e83a1317983c280eb48717ea32c45adb363d5 /src/lib/libcrypto/ec/ec_ameth.c
parent3730b3cfc1d512f1a6c71b83d5cbdecf724b845a (diff)
downloadopenbsd-7fe8b6a60797c33d896cb1e34f152c4a7c2ac1a7.tar.gz
openbsd-7fe8b6a60797c33d896cb1e34f152c4a7c2ac1a7.tar.bz2
openbsd-7fe8b6a60797c33d896cb1e34f152c4a7c2ac1a7.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_ameth.c')
-rw-r--r--src/lib/libcrypto/ec/ec_ameth.c4
1 files changed, 2 insertions, 2 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
313static int 313int
314eckey_compute_pubkey(EC_KEY *eckey) 314eckey_compute_pubkey(EC_KEY *eckey)
315{ 315{
316 const BIGNUM *priv_key; 316 const BIGNUM *priv_key;