avoid naming conflict

This commit is contained in:
Michele Balistreri 2024-02-08 08:07:35 +01:00
parent 51d0afc36c
commit a992bf51d5
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
2 changed files with 2 additions and 2 deletions

View File

@ -660,7 +660,7 @@ int ecdh_multiply(const ecdsa_curve *curve, const uint8_t *priv_key,
// msg is a data to be signed
// msg_len is the message length
int ecdsa_sign(const ecdsa_curve *curve, HasherType hasher_sign,
int ecdsa_hash_and_sign(const ecdsa_curve *curve, HasherType hasher_sign,
const uint8_t *priv_key, const uint8_t *msg, uint32_t msg_len,
uint8_t *sig, uint8_t *pby,
int (*is_canonical)(uint8_t by, uint8_t sig[64])) {

View File

@ -79,7 +79,7 @@ void uncompress_coords(const ecdsa_curve *curve, uint8_t odd,
int ecdsa_uncompress_pubkey(const ecdsa_curve *curve, const uint8_t *pub_key,
uint8_t *uncompressed);
int ecdsa_sign(const ecdsa_curve *curve, HasherType hasher_sign,
int ecdsa_hash_and_sign(const ecdsa_curve *curve, HasherType hasher_sign,
const uint8_t *priv_key, const uint8_t *msg, uint32_t msg_len,
uint8_t *sig, uint8_t *pby,
int (*is_canonical)(uint8_t by, uint8_t sig[64]));