Libtropic API
SDK for the TROPIC01 secure element
Version: master (latest)
Loading...
Searching...
No Matches

◆ lt_ecc_key_store()

lt_ret_t lt_ecc_key_store ( lt_handle_t h,
const lt_ecc_slot_t  slot,
const lt_ecc_curve_type_t  curve,
const uint8_t *  key 
)
Parameters
hHandle for communication with TROPIC01
slotSlot number lt_ecc_slot_t
curveType of ECC curve. Use L3_ECC_KEY_GENERATE_CURVE_ED25519 or L3_ECC_KEY_GENERATE_CURVE_P256
keyKey to store (only the first 32 bytes are stored)
Return values
LT_OKFunction executed successfully
otherFunction did not execute successully, you might use lt_ret_verbose() to get verbose encoding of returned value