diff options
author | tb <> | 2023-07-28 09:16:17 +0000 |
---|---|---|
committer | tb <> | 2023-07-28 09:16:17 +0000 |
commit | e6ec7919f70f22021fc29a98f165fd18d5a7ccd0 (patch) | |
tree | a83e66610995e8159b7ddb9a9fef83087d8709a4 /src/lib/libcrypto/hidden/openssl/ecdsa.h | |
parent | 5fdc6aff8969f405877cb212f681afded1f948e6 (diff) | |
download | openbsd-e6ec7919f70f22021fc29a98f165fd18d5a7ccd0.tar.gz openbsd-e6ec7919f70f22021fc29a98f165fd18d5a7ccd0.tar.bz2 openbsd-e6ec7919f70f22021fc29a98f165fd18d5a7ccd0.zip |
Merge ecdsa.h into ec.h
Move the remaining ECDSA API into ec.h to match OpenSSL 1.1's interface
better. In particular, the EC_KEY sign and verify method accessors are
moved to the right header. Whether the rest of the ECDSA stuff belongs
there is debatable, but that was upstream's choice.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/ecdsa.h')
-rw-r--r-- | src/lib/libcrypto/hidden/openssl/ecdsa.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/ecdsa.h b/src/lib/libcrypto/hidden/openssl/ecdsa.h deleted file mode 100644 index 5846906be9..0000000000 --- a/src/lib/libcrypto/hidden/openssl/ecdsa.h +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /* $OpenBSD: ecdsa.h,v 1.5 2023/07/28 09:08:31 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | ||
4 | * | ||
5 | * Permission to use, copy, modify, and distribute this software for any | ||
6 | * purpose with or without fee is hereby granted, provided that the above | ||
7 | * copyright notice and this permission notice appear in all copies. | ||
8 | * | ||
9 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
10 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
11 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
12 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
13 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
14 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
16 | */ | ||
17 | |||
18 | #ifndef _LIBCRYPTO_ECDSA_H | ||
19 | #define _LIBCRYPTO_ECDSA_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/ecdsa.h> | ||
23 | #else | ||
24 | #include "../include/openssl/ecdsa.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(ECDSA_SIG_new); | ||
29 | LCRYPTO_USED(ECDSA_SIG_free); | ||
30 | LCRYPTO_USED(i2d_ECDSA_SIG); | ||
31 | LCRYPTO_USED(d2i_ECDSA_SIG); | ||
32 | LCRYPTO_USED(ECDSA_SIG_get0); | ||
33 | LCRYPTO_USED(ECDSA_SIG_get0_r); | ||
34 | LCRYPTO_USED(ECDSA_SIG_get0_s); | ||
35 | LCRYPTO_USED(ECDSA_SIG_set0); | ||
36 | LCRYPTO_USED(ECDSA_do_sign); | ||
37 | LCRYPTO_USED(ECDSA_do_verify); | ||
38 | LCRYPTO_USED(ECDSA_size); | ||
39 | LCRYPTO_USED(ECDSA_sign); | ||
40 | LCRYPTO_USED(ECDSA_verify); | ||
41 | LCRYPTO_USED(EC_KEY_METHOD_set_sign); | ||
42 | LCRYPTO_USED(EC_KEY_METHOD_set_verify); | ||
43 | LCRYPTO_USED(EC_KEY_METHOD_get_sign); | ||
44 | LCRYPTO_USED(EC_KEY_METHOD_get_verify); | ||
45 | |||
46 | #endif /* _LIBCRYPTO_ECDSA_H */ | ||