summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdh/ecdh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ecdh/ecdh.h')
-rw-r--r--src/lib/libcrypto/ecdh/ecdh.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/libcrypto/ecdh/ecdh.h b/src/lib/libcrypto/ecdh/ecdh.h
index a5e32bea48..3163b9ea2e 100644
--- a/src/lib/libcrypto/ecdh/ecdh.h
+++ b/src/lib/libcrypto/ecdh/ecdh.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecdh.h,v 1.8 2023/07/28 09:19:59 tb Exp $ */ 1/* $OpenBSD: ecdh.h,v 1.9 2023/07/28 09:22:26 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. 3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
4 * 4 *
@@ -83,22 +83,11 @@
83extern "C" { 83extern "C" {
84#endif 84#endif
85 85
86const ECDH_METHOD *ECDH_OpenSSL(void);
87
88void ECDH_set_default_method(const ECDH_METHOD *);
89const ECDH_METHOD *ECDH_get_default_method(void);
90int ECDH_set_method(EC_KEY *, const ECDH_METHOD *);
91
92int ECDH_size(const EC_KEY *ecdh); 86int ECDH_size(const EC_KEY *ecdh);
93int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, 87int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
94 EC_KEY *ecdh, 88 EC_KEY *ecdh,
95 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)); 89 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen));
96 90
97int ECDH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new
98*new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
99int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg);
100void *ECDH_get_ex_data(EC_KEY *d, int idx);
101
102#ifdef __cplusplus 91#ifdef __cplusplus
103} 92}
104#endif 93#endif