#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, tlv_extracted_t *tlv_extracted) |
| |
| static bool | handle_version (const tlv_data_t *data, tlv_extracted_t *tlv_extracted) |
| |
| static bool | handle_coin_type (const tlv_data_t *data, tlv_extracted_t *tlv_extracted) |
| |
| static bool | handle_application_name (const tlv_data_t *data, tlv_extracted_t *tlv_extracted) |
| |
| static bool | handle_ticker (const tlv_data_t *data, tlv_extracted_t *tlv_extracted) |
| |
| static bool | handle_magnitude (const tlv_data_t *data, tlv_extracted_t *tlv_extracted) |
| |
| static bool | handle_tuid (const tlv_data_t *data, tlv_extracted_t *tlv_extracted) |
| |
| static bool | handle_signature (const tlv_data_t *data, tlv_extracted_t *tlv_extracted) |
| |
| static bool | handle_common (const tlv_data_t *data, tlv_extracted_t *tlv_extracted) |
| |
| 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_signature(const tlv_data_t *data, tlv_extracted_t *tlv_extracted)
static bool handle_coin_type(const tlv_data_t *data, tlv_extracted_t *tlv_extracted)
static bool handle_application_name(const tlv_data_t *data, tlv_extracted_t *tlv_extracted)
static bool handle_tuid(const tlv_data_t *data, tlv_extracted_t *tlv_extracted)
static bool handle_version(const tlv_data_t *data, tlv_extracted_t *tlv_extracted)
static bool handle_magnitude(const tlv_data_t *data, tlv_extracted_t *tlv_extracted)
static bool handle_ticker(const tlv_data_t *data, tlv_extracted_t *tlv_extracted)
static bool handle_structure_type(const tlv_data_t *data, tlv_extracted_t *tlv_extracted)
Definition at line 97 of file tlv_use_case_dynamic_descriptor.c.
◆ TYPE_DYNAMIC_TOKEN
| #define TYPE_DYNAMIC_TOKEN 0x90 |
◆ tlv_extracted_t
◆ handle_application_name()
◆ handle_coin_type()
◆ handle_common()
◆ handle_magnitude()
◆ handle_signature()
◆ handle_structure_type()
◆ handle_ticker()
◆ handle_tuid()
◆ handle_version()
◆ 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 119 of file tlv_use_case_dynamic_descriptor.c.