libtropic
C library for TROPIC01 chip
libtropic examples

Show simple example usage of libtropic. More...

Files

file  libtropic_examples.h
 Functions with examples of usage of TROPIC01 chip.
 

Functions

int lt_ex_hello_world (lt_handle_t *h)
 Establishes Secure Session and executes Ping L3 command. More...
 
int lt_ex_hello_world_separate_API (lt_handle_t *h)
 Establishes Secure Session and executes Ping L3 command using separated API. More...
 
int lt_ex_hardware_wallet (lt_handle_t *h)
 Example usage of TROPIC01 chip in a generic hardware wallet project. More...
 
int lt_ex_fw_update (lt_handle_t *h)
 Performs firmware update of TROPIC01 chip. More...
 
int lt_ex_macandd (lt_handle_t *h)
 Example usage of TROPIC01 flagship feature - 'Mac And Destroy' PIN verification engine. More...
 
int lt_ex_show_chip_id_and_fwver (lt_handle_t *h)
 This example shows how to read TROPIC01's chip ID and firmware versions. Prints chip application firmware versions and also bootloader version. More...
 

Variables

uint8_t sh0priv []
 
uint8_t sh0pub []
 
uint8_t sh1priv []
 
uint8_t sh1pub []
 
uint8_t sh2priv []
 
uint8_t sh2pub []
 
uint8_t sh3priv []
 
uint8_t sh3pub []
 

Detailed Description