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.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecdsa.h b/src/lib/libcrypto/ecdsa/ecdsa.h
index 7b57f534ef..eccca65b5a 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.10 2022/01/14 07:49:49 tb Exp $ */ 1/* $OpenBSD: ecdsa.h,v 1.11 2022/01/14 08:31:03 tb Exp $ */
2/** 2/**
3 * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions 3 * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions
4 * \author Written by Nils Larsch for the OpenSSL project 4 * \author Written by Nils Larsch for the OpenSSL project
@@ -85,10 +85,6 @@ struct ecdsa_method {
85 BIGNUM **r); 85 BIGNUM **r);
86 int (*ecdsa_do_verify)(const unsigned char *dgst, int dgst_len, 86 int (*ecdsa_do_verify)(const unsigned char *dgst, int dgst_len,
87 const ECDSA_SIG *sig, EC_KEY *eckey); 87 const ECDSA_SIG *sig, EC_KEY *eckey);
88#if 0
89 int (*init)(EC_KEY *eckey);
90 int (*finish)(EC_KEY *eckey);
91#endif
92 int flags; 88 int flags;
93 char *app_data; 89 char *app_data;
94}; 90};
@@ -101,11 +97,6 @@ struct ecdsa_method {
101 97
102#define ECDSA_FLAG_FIPS_METHOD 0x1 98#define ECDSA_FLAG_FIPS_METHOD 0x1
103 99
104struct ECDSA_SIG_st {
105 BIGNUM *r;
106 BIGNUM *s;
107};
108
109/** Allocates and initialize a ECDSA_SIG structure 100/** Allocates and initialize a ECDSA_SIG structure
110 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred 101 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred
111 */ 102 */