|
Embedded SDK
Embedded SDK
|
#include <stddef.h>#include "os_types.h"

Go to the source code of this file.
Macros | |
| #define | FAMILY_AS_STR(x) |
Enumerations | |
| enum | blockchain_family_e { FAMILY_BITCOIN = 0x00 , FAMILY_ETHEREUM = 0x01 , FAMILY_SOLANA = 0x02 , FAMILY_POLKADOT = 0x03 , FAMILY_COSMOS = 0x04 , FAMILY_CARDANO = 0x05 , FAMILY_COUNT } |
Functions | |
| bolos_err_t | addr_book_handle_apdu (uint8_t *buffer, size_t buffer_len, uint8_t p1, uint8_t p2) |
| #define FAMILY_AS_STR | ( | x | ) |
Definition at line 34 of file address_book.h.
| enum blockchain_family_e |
| Enumerator | |
|---|---|
| FAMILY_BITCOIN | |
| FAMILY_ETHEREUM | |
| FAMILY_SOLANA | |
| FAMILY_POLKADOT | |
| FAMILY_COSMOS | |
| FAMILY_CARDANO | |
| FAMILY_COUNT | |
Definition at line 24 of file address_book.h.
| bolos_err_t addr_book_handle_apdu | ( | uint8_t * | buffer, |
| size_t | buffer_len, | ||
| uint8_t | p1, | ||
| uint8_t | p2 | ||
| ) |
Minimum IO APDU buffer size when HAVE_ADDRESS_BOOK is defined.
Worst case: CMD_EDIT_IDENTIFIER (P1=0x03), Ethereum, max path depth, max identifiers: 7 (extended header: CLA INS P1 P2 0x00 Lc_H Lc_L)
Note: Chunk mechanism allows splitting across several APDUs