summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/ecdsa.h
diff options
context:
space:
mode:
authortb <>2023-07-28 09:16:17 +0000
committertb <>2023-07-28 09:16:17 +0000
commite6ec7919f70f22021fc29a98f165fd18d5a7ccd0 (patch)
treea83e66610995e8159b7ddb9a9fef83087d8709a4 /src/lib/libcrypto/hidden/openssl/ecdsa.h
parent5fdc6aff8969f405877cb212f681afded1f948e6 (diff)
downloadopenbsd-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.h46
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
28LCRYPTO_USED(ECDSA_SIG_new);
29LCRYPTO_USED(ECDSA_SIG_free);
30LCRYPTO_USED(i2d_ECDSA_SIG);
31LCRYPTO_USED(d2i_ECDSA_SIG);
32LCRYPTO_USED(ECDSA_SIG_get0);
33LCRYPTO_USED(ECDSA_SIG_get0_r);
34LCRYPTO_USED(ECDSA_SIG_get0_s);
35LCRYPTO_USED(ECDSA_SIG_set0);
36LCRYPTO_USED(ECDSA_do_sign);
37LCRYPTO_USED(ECDSA_do_verify);
38LCRYPTO_USED(ECDSA_size);
39LCRYPTO_USED(ECDSA_sign);
40LCRYPTO_USED(ECDSA_verify);
41LCRYPTO_USED(EC_KEY_METHOD_set_sign);
42LCRYPTO_USED(EC_KEY_METHOD_set_verify);
43LCRYPTO_USED(EC_KEY_METHOD_get_sign);
44LCRYPTO_USED(EC_KEY_METHOD_get_verify);
45
46#endif /* _LIBCRYPTO_ECDSA_H */