Libtropic API
SDK for the TROPIC01 secure element
Version: v4.0.0
Loading...
Searching...
No Matches

◆ lt_out__ecc_ecdsa_sign()

lt_ret_t lt_out__ecc_ecdsa_sign ( lt_handle_t h,
const lt_ecc_slot_t  slot,
const uint8_t *  msg_hash,
const uint32_t  msg_hash_len 
)
Note
Used for separate L3 communication, for more information read info at the top of this file.
Parameters
hHandle for communication with TROPIC01
slotECC key slot to use for signing
msg_hashBuffer containing a 32-byte hash of the message to sign
msg_hash_lenLength of the hash; must be exactly 32 bytes
Returns
LT_OK if success, otherwise returns other error code