Designed to be used together with lt_out__session_start(), lt_l2_send() and lt_l2_receive().
- Note
- Secure session will be established after successful execution. For more information read info at the top of this file.
- Parameters
-
| h | Handle for communication with TROPIC01 |
| stpub | STPUB from device's certificate |
| pkey_index | Index of pairing public key |
| shipriv | Secure host private key |
| shipub | Secure host public key |
| host_eph_keys | Host MCU ephemeral keys, must be filled by lt_out__session_start() and used to finish secure session establishment. |
- Returns
- LT_OK if success, otherwise returns other error code.