#include <stdint.h>
#include <string.h>
#include <ctype.h>
#include "os_utils.h"
#include "ox_ec.h"
#include "os_pic.h"
#include "os_app.h"
#include "cx.h"
#include "os_pki.h"
#include "ledger_pki.h"
#include "tlv_use_case_dynamic_descriptor.h"
Go to the source code of this file.
|
| static bool | handle_structure_type (const tlv_data_t *data, void *tlv_extracted_ptr) |
| static bool | handle_version (const tlv_data_t *data, void *tlv_extracted_ptr) |
| static bool | handle_coin_type (const tlv_data_t *data, void *tlv_extracted_ptr) |
| static bool | handle_application_name (const tlv_data_t *data, void *tlv_extracted_ptr) |
| static bool | handle_ticker (const tlv_data_t *data, void *tlv_extracted_ptr) |
| static bool | handle_magnitude (const tlv_data_t *data, void *tlv_extracted_ptr) |
| static bool | handle_tuid (const tlv_data_t *data, void *tlv_extracted_ptr) |
| static bool | handle_signature (const tlv_data_t *data, void *tlv_extracted_ptr) |
| static bool | handle_common (const tlv_data_t *data, void *tlv_extracted_ptr) |
| tlv_dynamic_descriptor_status_t | tlv_use_case_dynamic_descriptor (const buffer_t *payload, tlv_dynamic_descriptor_out_t *out) |
| | Processes a TLV dynamic descriptor use case.
|
◆ TLV_TAGS
Value:
static bool handle_tuid(const tlv_data_t *data, void *tlv_extracted_ptr)
static bool handle_coin_type(const tlv_data_t *data, void *tlv_extracted_ptr)
static bool handle_ticker(const tlv_data_t *data, void *tlv_extracted_ptr)
static bool handle_version(const tlv_data_t *data, void *tlv_extracted_ptr)
static bool handle_application_name(const tlv_data_t *data, void *tlv_extracted_ptr)
static bool handle_structure_type(const tlv_data_t *data, void *tlv_extracted_ptr)
static bool handle_signature(const tlv_data_t *data, void *tlv_extracted_ptr)
static bool handle_magnitude(const tlv_data_t *data, void *tlv_extracted_ptr)
Definition at line 113 of file tlv_use_case_dynamic_descriptor.c.
◆ TYPE_DYNAMIC_TOKEN
| #define TYPE_DYNAMIC_TOKEN 0x90 |
◆ tlv_extracted_t
◆ handle_application_name()
| bool handle_application_name |
( |
const tlv_data_t * | data, |
|
|
void * | tlv_extracted_ptr ) |
|
static |
◆ handle_coin_type()
| bool handle_coin_type |
( |
const tlv_data_t * | data, |
|
|
void * | tlv_extracted_ptr ) |
|
static |
◆ handle_common()
| bool handle_common |
( |
const tlv_data_t * | data, |
|
|
void * | tlv_extracted_ptr ) |
|
static |
◆ handle_magnitude()
| bool handle_magnitude |
( |
const tlv_data_t * | data, |
|
|
void * | tlv_extracted_ptr ) |
|
static |
◆ handle_signature()
| bool handle_signature |
( |
const tlv_data_t * | data, |
|
|
void * | tlv_extracted_ptr ) |
|
static |
◆ handle_structure_type()
| bool handle_structure_type |
( |
const tlv_data_t * | data, |
|
|
void * | tlv_extracted_ptr ) |
|
static |
◆ handle_ticker()
| bool handle_ticker |
( |
const tlv_data_t * | data, |
|
|
void * | tlv_extracted_ptr ) |
|
static |
◆ handle_tuid()
| bool handle_tuid |
( |
const tlv_data_t * | data, |
|
|
void * | tlv_extracted_ptr ) |
|
static |
◆ handle_version()
| bool handle_version |
( |
const tlv_data_t * | data, |
|
|
void * | tlv_extracted_ptr ) |
|
static |
◆ tlv_use_case_dynamic_descriptor()
Processes a TLV dynamic descriptor use case.
This function parses the provided payload buffer and extracts dynamic descriptor information, storing the results in the output structure.
- Parameters
-
| [in] | payload | Pointer to the buffer containing the TLV payload data. |
| [out] | out | Pointer to the structure where the parsed dynamic descriptor will be stored. |
- Returns
- Status code indicating the result of the operation. See tlv_dynamic_descriptor_status_t for possible values.
Definition at line 137 of file tlv_use_case_dynamic_descriptor.c.