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.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/lib/libcrypto/ecdh/ecdh.h b/src/lib/libcrypto/ecdh/ecdh.h
index 98cc2223a1..a5e32bea48 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.7 2023/04/18 08:33:43 tb Exp $ */ 1/* $OpenBSD: ecdh.h,v 1.8 2023/07/28 09:19:59 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. 3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
4 * 4 *
@@ -99,23 +99,6 @@ int ECDH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new
99int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg); 99int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg);
100void *ECDH_get_ex_data(EC_KEY *d, int idx); 100void *ECDH_get_ex_data(EC_KEY *d, int idx);
101 101
102
103void ERR_load_ECDH_strings(void);
104
105/* Error codes for the ECDH functions. */
106
107/* Function codes. */
108#define ECDH_F_ECDH_CHECK 102
109#define ECDH_F_ECDH_COMPUTE_KEY 100
110#define ECDH_F_ECDH_DATA_NEW_METHOD 101
111
112/* Reason codes. */
113#define ECDH_R_KDF_FAILED 102
114#define ECDH_R_KEY_TRUNCATION 104
115#define ECDH_R_NON_FIPS_METHOD 103
116#define ECDH_R_NO_PRIVATE_VALUE 100
117#define ECDH_R_POINT_ARITHMETIC_FAILURE 101
118
119#ifdef __cplusplus 102#ifdef __cplusplus
120} 103}
121#endif 104#endif