9# define ZPC_ECDSA_CTX_H
35__attribute__((visibility(
"default")))
44__attribute__((visibility(
"default")))
59__attribute__((visibility(
"default")))
61 const
unsigned char *hash,
unsigned int hash_len,
62 unsigned char *signature,
unsigned int *sig_len);
73__attribute__((visibility(
"default")))
75 const
unsigned char *hash,
unsigned int hash_len,
76 const
unsigned char *signature,
unsigned int sig_len);
82__attribute__((visibility(
"default")))
int zpc_ecdsa_verify(struct zpc_ecdsa_ctx *ctx, const unsigned char *hash, unsigned int hash_len, const unsigned char *signature, unsigned int sig_len)
int zpc_ecdsa_sign(struct zpc_ecdsa_ctx *ctx, const unsigned char *hash, unsigned int hash_len, unsigned char *signature, unsigned int *sig_len)
int zpc_ecdsa_ctx_alloc(struct zpc_ecdsa_ctx **ctx)
void zpc_ecdsa_ctx_free(struct zpc_ecdsa_ctx **ctx)
int zpc_ecdsa_ctx_set_key(struct zpc_ecdsa_ctx *ctx, struct zpc_ec_key *key)