summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/ecdsa/ecdsa.c7
-rw-r--r--src/lib/libcrypto/ecdsa/ecdsa_local.h7
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecdsa.c b/src/lib/libcrypto/ecdsa/ecdsa.c
index 4e00eb5ec8..1be139a695 100644
--- a/src/lib/libcrypto/ecdsa/ecdsa.c
+++ b/src/lib/libcrypto/ecdsa/ecdsa.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecdsa.c,v 1.20 2025/05/10 05:54:38 tb Exp $ */ 1/* $OpenBSD: ecdsa.c,v 1.21 2026/03/16 22:19:32 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -67,6 +67,11 @@
67#include "ecdsa_local.h" 67#include "ecdsa_local.h"
68#include "err_local.h" 68#include "err_local.h"
69 69
70struct ECDSA_SIG_st {
71 BIGNUM *r;
72 BIGNUM *s;
73};
74
70static const ASN1_TEMPLATE ECDSA_SIG_seq_tt[] = { 75static const ASN1_TEMPLATE ECDSA_SIG_seq_tt[] = {
71 { 76 {
72 .flags = 0, 77 .flags = 0,
diff --git a/src/lib/libcrypto/ecdsa/ecdsa_local.h b/src/lib/libcrypto/ecdsa/ecdsa_local.h
index cc3af3e10f..f254d39323 100644
--- a/src/lib/libcrypto/ecdsa/ecdsa_local.h
+++ b/src/lib/libcrypto/ecdsa/ecdsa_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecdsa_local.h,v 1.2 2023/07/28 15:50:33 tb Exp $ */ 1/* $OpenBSD: ecdsa_local.h,v 1.3 2026/03/16 22:19:32 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project 3 * Written by Nils Larsch for the OpenSSL project
4 */ 4 */
@@ -63,11 +63,6 @@
63 63
64__BEGIN_HIDDEN_DECLS 64__BEGIN_HIDDEN_DECLS
65 65
66struct ECDSA_SIG_st {
67 BIGNUM *r;
68 BIGNUM *s;
69};
70
71int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *in_ctx, BIGNUM **out_kinv, 66int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *in_ctx, BIGNUM **out_kinv,
72 BIGNUM **out_r); 67 BIGNUM **out_r);
73int ecdsa_sign(int type, const unsigned char *digest, int digest_len, 68int ecdsa_sign(int type, const unsigned char *digest, int digest_len,