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

◆ lt_out__session_start()

lt_ret_t lt_out__session_start ( lt_handle_t h,
const lt_pkey_index_t  pkey_index,
lt_host_eph_keys_t host_eph_keys 
)

After successful execution, h->l2->buff will contain data for L2 handshake request.

Note
For more information read info at the top of this file.
Parameters
hHandle for communication with TROPIC01
pkey_indexIndex of pairing public key
host_eph_keysHost MCU ephemeral keys, used to finish secure session establishment in lt_in__session_start().
Returns
LT_OK if success, otherwise returns other error code.