uECC_verify() function
Verify an ECDSA signature.
Arguments
p_public_key
IN -- The signer's public key.
p_message_hash
IN -- The hash of the signed data.
p_hash_size
IN -- The size of p_message_hash in bytes.
p_signature
IN -- The signature values.
Return value
returns TC_SUCCESS (1) if the signature is valid returns TC_FAIL (0) if the signature is invalid.
Notes
Usage: Compute the hash of the signed data using the same hash as the signer and pass it to this function along with the signer's public key and the signature values (hash_size and signature).