Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chcmedeiros committed Apr 15, 2024
1 parent e0addc1 commit 6601082
Show file tree
Hide file tree
Showing 8 changed files with 2,694 additions and 2,650 deletions.
1 change: 1 addition & 0 deletions app/src/apdu_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ __Z_INLINE void handleSign(volatile uint32_t *flags, volatile uint32_t *tx, uint

parser_tx_obj.tx_json.own_addr = (const char *) (G_io_apdu_buffer + VIEW_ADDRESS_OFFSET_SECP256K1);
const char *error_msg = tx_parse(sign_type);
zemu_log_stack("carlos-out of parser");
if (error_msg != NULL) {
const int error_msg_length = strnlen(error_msg, sizeof(G_io_apdu_buffer));
MEMCPY(G_io_apdu_buffer, error_msg, error_msg_length);
Expand Down
1 change: 1 addition & 0 deletions app/src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ parser_error_t parser_parse(parser_context_t *ctx,
if (tx_obj->tx_type == tx_textual) {
CHECK_PARSER_ERR(_read_text_tx(ctx, tx_obj))
} else {
zemu_log_stack("carlos-in json parser");
CHECK_PARSER_ERR(_read_json_tx(ctx, tx_obj))
}

Expand Down
Loading

0 comments on commit 6601082

Please sign in to comment.