78#ifndef __TC_ECC_DSA_H__
79#define __TC_ECC_DSA_H__
105int uECC_sign(
const uint8_t *p_private_key,
const uint8_t *p_message_hash,
106 unsigned p_hash_size, uint8_t *p_signature, uECC_Curve curve);
113int uECC_sign_with_k(
const uint8_t *private_key,
const uint8_t *message_hash,
114 unsigned int hash_size, uECC_word_t *k, uint8_t *signature,
132int uECC_verify(
const uint8_t *p_public_key,
const uint8_t *p_message_hash,
133 unsigned int p_hash_size,
const uint8_t *p_signature, uECC_Curve curve);
– Interface to common ECC functions.
int uECC_sign(const uint8_t *p_private_key, const uint8_t *p_message_hash, unsigned p_hash_size, uint8_t *p_signature, uECC_Curve curve)
Generate an ECDSA signature for a given hash value.
Definition ecc_dsa.c:161
int uECC_verify(const uint8_t *p_public_key, const uint8_t *p_message_hash, unsigned int p_hash_size, const uint8_t *p_signature, uECC_Curve curve)
Verify an ECDSA signature.