libtropic
C library for TROPIC01 chip

◆ lt_ecc_eddsa_sig_verify()

lt_ret_t lt_ecc_eddsa_sig_verify ( const uint8_t *  msg,
const uint16_t  msg_len,
const uint8_t *  pubkey,
const uint8_t *  rs 
)
Parameters
msgMessage
msg_lenLength of message. Max length is 4095
pubkeyPublic key related to private key which signed the message
rsSignature to be verified, in a form of R and S bytes
Returns
LT_OK if success, otherwise returns other error code. TODO info about other ret values