summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa/ecdsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecdsa.h')
-rw-r--r--src/lib/libcrypto/ecdsa/ecdsa.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecdsa.h b/src/lib/libcrypto/ecdsa/ecdsa.h
index 9960a4b1ea..122b0eb000 100644
--- a/src/lib/libcrypto/ecdsa/ecdsa.h
+++ b/src/lib/libcrypto/ecdsa/ecdsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecdsa.h,v 1.17 2023/07/28 08:49:43 tb Exp $ */ 1/* $OpenBSD: ecdsa.h,v 1.18 2023/07/28 09:01:25 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project 3 * Written by Nils Larsch for the OpenSSL project
4 */ 4 */
@@ -157,27 +157,6 @@ void EC_KEY_METHOD_get_verify(const EC_KEY_METHOD *meth,
157 int (**pverify_sig)(const unsigned char *dgst, int dgst_len, 157 int (**pverify_sig)(const unsigned char *dgst, int dgst_len,
158 const ECDSA_SIG *sig, EC_KEY *eckey)); 158 const ECDSA_SIG *sig, EC_KEY *eckey));
159 159
160void ERR_load_ECDSA_strings(void);
161
162/* Error codes for the ECDSA functions. */
163
164/* Function codes. */
165#define ECDSA_F_ECDSA_CHECK 104
166#define ECDSA_F_ECDSA_DATA_NEW_METHOD 100
167#define ECDSA_F_ECDSA_DO_SIGN 101
168#define ECDSA_F_ECDSA_DO_VERIFY 102
169#define ECDSA_F_ECDSA_SIGN_SETUP 103
170
171/* Reason codes. */
172#define ECDSA_R_BAD_SIGNATURE 100
173#define ECDSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 101
174#define ECDSA_R_ERR_EC_LIB 102
175#define ECDSA_R_MISSING_PARAMETERS 103
176#define ECDSA_R_NEED_NEW_SETUP_VALUES 106
177#define ECDSA_R_NON_FIPS_METHOD 107
178#define ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED 104
179#define ECDSA_R_SIGNATURE_MALLOC_FAILED 105
180
181#ifdef __cplusplus 160#ifdef __cplusplus
182} 161}
183#endif 162#endif