libtropic
C library for TROPIC01 chip
libtropic_examples.h File Reference

Functions with examples of usage of TROPIC01 chip. More...

#include <stdint.h>
#include "libtropic_common.h"
Include dependency graph for libtropic_examples.h:

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

Author
Tropic Square s.r.o.
License
For the license see file LICENSE.txt file in the root directory of this source tree.