diff options
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecs_local.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_local.h b/src/lib/libcrypto/ecdsa/ecs_local.h index 4f1140483f..295c4756ae 100644 --- a/src/lib/libcrypto/ecdsa/ecs_local.h +++ b/src/lib/libcrypto/ecdsa/ecs_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_local.h,v 1.4 2023/07/05 08:39:40 tb Exp $ */ | 1 | /* $OpenBSD: ecs_local.h,v 1.5 2023/07/05 11:28:50 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project | 3 | * Written by Nils Larsch for the OpenSSL project |
4 | */ | 4 | */ |
@@ -68,12 +68,12 @@ struct ECDSA_SIG_st { | |||
68 | BIGNUM *s; | 68 | BIGNUM *s; |
69 | }; | 69 | }; |
70 | 70 | ||
71 | int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, | 71 | int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *in_ctx, BIGNUM **out_kinv, |
72 | BIGNUM **rp); | 72 | BIGNUM **out_r); |
73 | int ecdsa_sign(int type, const unsigned char *dgst, int dlen, | 73 | int ecdsa_sign(int type, const unsigned char *digest, int digest_len, |
74 | unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, | 74 | unsigned char *signature, unsigned int *signature_len, const BIGNUM *kinv, |
75 | const BIGNUM *r, EC_KEY *eckey); | 75 | const BIGNUM *r, EC_KEY *eckey); |
76 | ECDSA_SIG *ecdsa_sign_sig(const unsigned char *dgst, int dgst_len, | 76 | ECDSA_SIG *ecdsa_sign_sig(const unsigned char *digest, int digest_len, |
77 | const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey); | 77 | const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey); |
78 | 78 | ||
79 | __END_HIDDEN_DECLS | 79 | __END_HIDDEN_DECLS |