summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa/ecs_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecs_locl.h')
-rw-r--r--src/lib/libcrypto/ecdsa/ecs_locl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_locl.h b/src/lib/libcrypto/ecdsa/ecs_locl.h
index 94e8874332..0a9f17908b 100644
--- a/src/lib/libcrypto/ecdsa/ecs_locl.h
+++ b/src/lib/libcrypto/ecdsa/ecs_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecs_locl.h,v 1.5 2016/12/21 15:49:29 jsing Exp $ */ 1/* $OpenBSD: ecs_locl.h,v 1.6 2019/01/19 01:07:00 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project 3 * Written by Nils Larsch for the OpenSSL project
4 */ 4 */
@@ -81,6 +81,14 @@ typedef struct ecdsa_data_st {
81 */ 81 */
82ECDSA_DATA *ecdsa_check(EC_KEY *eckey); 82ECDSA_DATA *ecdsa_check(EC_KEY *eckey);
83 83
84int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
85 BIGNUM **rp);
86int ossl_ecdsa_sign(int type, const unsigned char *dgst, int dlen,
87 unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv,
88 const BIGNUM *r, EC_KEY *eckey);
89ECDSA_SIG *ossl_ecdsa_sign_sig(const unsigned char *dgst, int dgst_len,
90 const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey);
91
84__END_HIDDEN_DECLS 92__END_HIDDEN_DECLS
85 93
86#endif /* HEADER_ECS_LOCL_H */ 94#endif /* HEADER_ECS_LOCL_H */