libtropic
C library for TROPIC01 chip

◆ lt_l2_recv_encrypted_res()

lt_ret_t lt_l2_recv_encrypted_res ( lt_l2_state_t s2,
uint8_t *  buff,
uint16_t  max_len 
)
Parameters
s2Structure holding l2 state
buffBuffer where encrypted l3 result will be stored
max_lenMaximal length of buff. Whole buffer might be used, or just its part.
Returns
LT_OK if success, otherwise returns other error code.