summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-07-05 11:28:50 +0000
committertb <>2023-07-05 11:28:50 +0000
commitf08e8cf436b1c377b749ee710ef28d9dacc22367 (patch)
treea1552ce93dbe4959cea6e0be8aa4fa3ed1ee7e08
parent788b0a1692618872b1e6c2f13445dbf7721f7c02 (diff)
downloadopenbsd-f08e8cf436b1c377b749ee710ef28d9dacc22367.tar.gz
openbsd-f08e8cf436b1c377b749ee710ef28d9dacc22367.tar.bz2
openbsd-f08e8cf436b1c377b749ee710ef28d9dacc22367.zip
Make variables in prototypes match function declarations
-rw-r--r--src/lib/libcrypto/ecdsa/ecs_local.h12
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
71int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, 71int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *in_ctx, BIGNUM **out_kinv,
72 BIGNUM **rp); 72 BIGNUM **out_r);
73int ecdsa_sign(int type, const unsigned char *dgst, int dlen, 73int 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);
76ECDSA_SIG *ecdsa_sign_sig(const unsigned char *dgst, int dgst_len, 76ECDSA_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