diff options
Diffstat (limited to 'src/lib/libcrypto/ecdh/ecdh.h')
| -rw-r--r-- | src/lib/libcrypto/ecdh/ecdh.h | 13 |
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 @@ | |||
| 83 | extern "C" { | 83 | extern "C" { |
| 84 | #endif | 84 | #endif |
| 85 | 85 | ||
| 86 | const ECDH_METHOD *ECDH_OpenSSL(void); | ||
| 87 | |||
| 88 | void ECDH_set_default_method(const ECDH_METHOD *); | ||
| 89 | const ECDH_METHOD *ECDH_get_default_method(void); | ||
| 90 | int ECDH_set_method(EC_KEY *, const ECDH_METHOD *); | ||
| 91 | |||
| 92 | int ECDH_size(const EC_KEY *ecdh); | 86 | int ECDH_size(const EC_KEY *ecdh); |
| 93 | int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, | 87 | int 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 | ||
| 97 | int 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); | ||
| 99 | int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg); | ||
| 100 | void *ECDH_get_ex_data(EC_KEY *d, int idx); | ||
| 101 | |||
| 102 | #ifdef __cplusplus | 91 | #ifdef __cplusplus |
| 103 | } | 92 | } |
| 104 | #endif | 93 | #endif |
