diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ecdsa/ecdsa.c | 7 | ||||
| -rw-r--r-- | src/lib/libcrypto/ecdsa/ecdsa_local.h | 7 |
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 | ||
| 70 | struct ECDSA_SIG_st { | ||
| 71 | BIGNUM *r; | ||
| 72 | BIGNUM *s; | ||
| 73 | }; | ||
| 74 | |||
| 70 | static const ASN1_TEMPLATE ECDSA_SIG_seq_tt[] = { | 75 | static 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 | ||
| 66 | struct ECDSA_SIG_st { | ||
| 67 | BIGNUM *r; | ||
| 68 | BIGNUM *s; | ||
| 69 | }; | ||
| 70 | |||
| 71 | int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *in_ctx, BIGNUM **out_kinv, | 66 | int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *in_ctx, BIGNUM **out_kinv, |
| 72 | BIGNUM **out_r); | 67 | BIGNUM **out_r); |
| 73 | int ecdsa_sign(int type, const unsigned char *digest, int digest_len, | 68 | int ecdsa_sign(int type, const unsigned char *digest, int digest_len, |
