libtropic
C library for TROPIC01 chip
|
lt_ret_t lt_ecc_eddsa_sign | ( | lt_handle_t * | h, |
const ecc_slot_t | ecc_slot, | ||
const uint8_t * | msg, | ||
const uint16_t | msg_len, | ||
uint8_t * | rs, | ||
const uint8_t | rs_len | ||
) |
h | Device's handle |
slot | Slot containing a private key, ECC_SLOT_0 - ECC_SLOT_31 |
msg | Buffer containing a message to sign, max length is 4096B |
msg_len | Length of a message |
rs | Buffer for storing a silt_r_mem_data_erasewise returns other error code. TODO info about other ret values |