libtropic
C library for TROPIC01 chip
|
lt_ret_t lt_in__session_start | ( | lt_handle_t * | h, |
const uint8_t * | stpub, | ||
const pkey_index_t | pkey_index, | ||
const uint8_t * | shipriv, | ||
const uint8_t * | shipub, | ||
session_state_t * | state | ||
) |
Designed to be used together with lt_out__session_start()
, lt_l2_send()
and lt_l2_receive()
.
h | Device's handle |
stpub | STPUB from device's certificate |
pkey_index | Index of pairing public key |
shipriv | Secure host private key |
shipub | Secure host public key |
state | Content must be filled with lt_out__session_start and is used to finish secure session establishment. |