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

◆ lt_l2_send_encrypted_cmd()

lt_ret_t lt_l2_send_encrypted_cmd ( lt_l2_state_t s2,
uint8_t *  buff,
uint16_t  buff_len 
)

Data are sent from handle's l3_buff.

Note
Use only after secure session was established with lt_session_start().
Parameters
s2Structure holding l2 state
buffBuffer containing encrypted l3 command
buff_lenLength of buff.
Return values
LT_OKFunction executed successfully
otherFunction did not execute successully