diff options
author | tb <> | 2023-07-28 09:01:25 +0000 |
---|---|---|
committer | tb <> | 2023-07-28 09:01:25 +0000 |
commit | 4b0019a4c482019d6ceec85774d0379f5d4f7009 (patch) | |
tree | d1cbf4b2ff221548fc0009d89f5f244c90d8a78e /src/lib/libcrypto/ecdsa/ecdsa.h | |
parent | 7aa7795ba7b5996013e1187d1dcfb2ba5ab41ade (diff) | |
download | openbsd-4b0019a4c482019d6ceec85774d0379f5d4f7009.tar.gz openbsd-4b0019a4c482019d6ceec85774d0379f5d4f7009.tar.bz2 openbsd-4b0019a4c482019d6ceec85774d0379f5d4f7009.zip |
Remove ecs_err.c
These error codes have been unused for a while, so the public API loading
them is pointless.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecdsa.h')
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecdsa.h | 23 |
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 | ||
160 | void 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 |