Skip to content

Commit de18010

Browse files
Merge pull request #995 from LedgerHQ/feat/tlv_from_apdu_improvements
tlv_from_apdu improvements
2 parents 7eb9156 + 57100b2 commit de18010

29 files changed

Lines changed: 378 additions & 342 deletions

src/features/generic_tx_parser/gtp_data_path.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "app_mem_utils.h"
99
#include "tx_ctx.h"
1010
#include "tlv_library.h"
11-
#include "tlv_apdu.h"
11+
#include "tlv_utils.h"
1212

1313
#define DATA_PATH_TAGS(X) \
1414
X(0x00, TAG_VERSION, handle_version, ENFORCE_UNIQUE_TAG) \

src/features/generic_tx_parser/gtp_field.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "mem_utils.h" // mem_buffer_cleanup
88
#include "lists.h"
99
#include "tlv_library.h"
10-
#include "tlv_apdu.h"
10+
#include "tlv_utils.h"
1111

1212
typedef union {
1313
s_param_raw_context raw_ctx;

src/features/generic_tx_parser/gtp_param_calldata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "read.h"
1010
#include "tx_ctx.h"
1111
#include "app_mem_utils.h"
12-
#include "tlv_apdu.h"
12+
#include "tlv_utils.h"
1313

1414
#define PARAM_CALLDATA_TAGS(X) \
1515
X(0x00, TAG_VERSION, handle_version, ENFORCE_UNIQUE_TAG) \

src/features/generic_tx_parser/gtp_param_datetime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include "utils.h"
66
#include "shared_context.h"
77
#include "tlv_library.h"
8-
#include "tlv_apdu.h"
8+
#include "tlv_utils.h"
99

1010
#define PARAM_DATETIME_TAGS(X) \
1111
X(0x00, TAG_VERSION, handle_version, ENFORCE_UNIQUE_TAG) \

src/features/generic_tx_parser/gtp_param_duration.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "utils.h"
55
#include "shared_context.h"
66
#include "tlv_library.h"
7-
#include "tlv_apdu.h"
7+
#include "tlv_utils.h"
88

99
#define SECONDS_IN_MINUTE 60
1010
#define MINUTES_IN_HOUR 60

src/features/generic_tx_parser/gtp_param_enum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "shared_context.h"
77
#include "tx_ctx.h"
88
#include "tlv_library.h"
9-
#include "tlv_apdu.h"
9+
#include "tlv_utils.h"
1010

1111
#define PARAM_ENUM_TAGS(X) \
1212
X(0x00, TAG_VERSION, handle_version, ENFORCE_UNIQUE_TAG) \

src/features/generic_tx_parser/gtp_param_network.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "gtp_field_table.h"
1717
#include "tx_ctx.h"
1818
#include "apdu_constants.h"
19-
#include "tlv_apdu.h"
19+
#include "tlv_utils.h"
2020
#include "chain_config.h"
2121

2222
/**

src/features/generic_tx_parser/gtp_param_nft.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "utils.h"
44
#include "gtp_field_table.h"
55
#include "tlv_library.h"
6-
#include "tlv_apdu.h"
6+
#include "tlv_utils.h"
77

88
#define PARAM_NFT_TAGS(X) \
99
X(0x00, TAG_VERSION, handle_version, ENFORCE_UNIQUE_TAG) \

src/features/generic_tx_parser/gtp_param_raw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "utils.h"
99
#include "shared_context.h"
1010
#include "tlv_library.h"
11-
#include "tlv_apdu.h"
11+
#include "tlv_utils.h"
1212

1313
#define PARAM_RAW_TAGS(X) \
1414
X(0x00, TAG_VERSION, handle_version, ENFORCE_UNIQUE_TAG) \

src/features/generic_tx_parser/gtp_param_token.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "gtp_field_table.h"
88
#include "tx_ctx.h"
99
#include "tlv_library.h"
10-
#include "tlv_apdu.h"
10+
#include "tlv_utils.h"
1111

1212
#define PARAM_TOKEN_TAGS(X) \
1313
X(0x00, TAG_VERSION, handle_version, ENFORCE_UNIQUE_TAG) \

0 commit comments

Comments
 (0)