summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ec.h')
-rw-r--r--src/lib/libcrypto/ec/ec.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h
index aac3537655..686f018a9d 100644
--- a/src/lib/libcrypto/ec/ec.h
+++ b/src/lib/libcrypto/ec/ec.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec.h,v 1.43 2023/07/28 09:16:17 tb Exp $ */ 1/* $OpenBSD: ec.h,v 1.44 2023/07/28 09:25:12 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 */
@@ -327,6 +327,11 @@ const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key);
327int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); 327int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth);
328EC_KEY *EC_KEY_new_method(ENGINE *engine); 328EC_KEY *EC_KEY_new_method(ENGINE *engine);
329 329
330int ECDH_size(const EC_KEY *ecdh);
331int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
332 EC_KEY *ecdh,
333 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen));
334
330typedef struct ECDSA_SIG_st ECDSA_SIG; 335typedef struct ECDSA_SIG_st ECDSA_SIG;
331 336
332ECDSA_SIG *ECDSA_SIG_new(void); 337ECDSA_SIG *ECDSA_SIG_new(void);