Skip to content

Commit

Permalink
Fix the parsing of convert descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
murisi committed Sep 5, 2024
1 parent 6e0ac0f commit da96e78
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions app/src/parser_impl_masp.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@ static parser_error_t readConvertDescriptionInfo(parser_context_t *ctx, masp_sap
tmp.len = tmp_64 * (ASSET_ID_LEN + INT_128_LEN);
CHECK_ERROR(readBytes(ctx, &tmp.ptr, tmp.len))

// Parse generator
tmp.len = 32;
CHECK_ERROR(readBytes(ctx, &tmp.ptr, tmp.len))

// Parse value
CHECK_ERROR(readUint64(ctx, &tmp_64))

Expand Down
2 changes: 1 addition & 1 deletion deps/ledger-secure-sdk
Submodule ledger-secure-sdk updated 60 files
+0 −46 .github/workflows/documentation.yml
+0 −2 Makefile.defines
+2 −3 Makefile.target
+24 −25 README.md
+2 −2 doc/mainpage.dox
+0 −6 include/os_io_seproxyhal.h
+0 −230 include/os_pki.h
+0 −109 include/sdk_apdu_commands.h
+0 −5 include/syscalls.h
+1 −1 lib_blewbxx_impl/doc/mainpage.dox
+1 −1 lib_cxng/doc/mainpage.dox
+1 −1 lib_nbgl/doc/mainpage.dox
+517 −192 lib_nbgl/doc/nbgl_use_case.dox
+ lib_nbgl/doc/resources/UseCase-AddressConfirmation.png
+ lib_nbgl/doc/resources/UseCase-AddressConfirmationExt.png
+ lib_nbgl/doc/resources/UseCase-Choice.png
+ lib_nbgl/doc/resources/UseCase-HomeExt.png
+ lib_nbgl/doc/resources/UseCase-HomePlugIn.png
+ lib_nbgl/doc/resources/UseCase-HomeSettings.png
+ lib_nbgl/doc/resources/UseCase-HomeSettingsAPI.png
+ lib_nbgl/doc/resources/UseCase-Keypad.png
+ lib_nbgl/doc/resources/UseCase-Review-Status.png
+ lib_nbgl/doc/resources/UseCase-Review.png
+ lib_nbgl/doc/resources/UseCase-Review1.png
+ lib_nbgl/doc/resources/UseCase-ReviewForwardOnly.png
+ lib_nbgl/doc/resources/UseCase-ReviewLight.png
+ lib_nbgl/doc/resources/UseCase-ReviewStart.png
+ lib_nbgl/doc/resources/UseCase-Settings1.png
+ lib_nbgl/doc/resources/UseCase-Settings2.png
+ lib_nbgl/doc/resources/UseCase-Spinner.png
+ lib_nbgl/doc/resources/UseCase-Status.png
+ lib_nbgl/doc/resources/UseCase-Streaming.png
+0 −20 lib_nbgl/include/nbgl_content.h
+1 −3 lib_nbgl/include/nbgl_layout.h
+180 −289 lib_nbgl/src/nbgl_layout.c
+35 −51 lib_nbgl/src/nbgl_layout_keyboard.c
+23 −37 lib_nbgl/src/nbgl_layout_keypad.c
+12 −12 lib_nbgl/src/nbgl_layout_navigation.c
+8 −13 lib_nbgl/src/nbgl_obj.c
+2 −2 lib_nbgl/src/nbgl_obj_keyboard_nanos.c
+0 −1 lib_nbgl/src/nbgl_page.c
+107 −119 lib_nbgl/src/nbgl_use_case.c
+4 −13 lib_nbgl/tools/icon2glyph.py
+1 −1 lib_nfc/doc/mainpage.dox
+1 −1 lib_standard_app/doc/mainpage.dox
+1 −1 lib_stusb/doc/mainpage.dox
+1 −1 lib_stusb_impl/doc/mainpage.dox
+30 −1 lib_stusb_impl/usbd_impl.c
+1 −1 lib_u2f/doc/mainpage.dox
+1 −1 lib_ux/doc/mainpage.dox
+3 −3 lib_ux_nbgl/doc/mainpage.dox
+0 −4 lib_ux_sync/include/ux_sync.h
+0 −22 lib_ux_sync/src/ux_sync.c
+13 −42 src/os_io_seproxyhal.c
+0 −45 src/syscalls.c
+0 −4 target/flex/include/bolos_target.h
+0 −6 target/nanos/include/bolos_target.h
+0 −6 target/nanos2/include/bolos_target.h
+0 −6 target/nanox/include/bolos_target.h
+0 −4 target/stax/include/bolos_target.h
2 changes: 1 addition & 1 deletion deps/nanos-secure-sdk
Submodule nanos-secure-sdk updated 60 files
+0 −46 .github/workflows/documentation.yml
+0 −2 Makefile.defines
+2 −3 Makefile.target
+24 −25 README.md
+2 −2 doc/mainpage.dox
+0 −6 include/os_io_seproxyhal.h
+0 −230 include/os_pki.h
+0 −109 include/sdk_apdu_commands.h
+0 −5 include/syscalls.h
+1 −1 lib_blewbxx_impl/doc/mainpage.dox
+1 −1 lib_cxng/doc/mainpage.dox
+1 −1 lib_nbgl/doc/mainpage.dox
+517 −192 lib_nbgl/doc/nbgl_use_case.dox
+ lib_nbgl/doc/resources/UseCase-AddressConfirmation.png
+ lib_nbgl/doc/resources/UseCase-AddressConfirmationExt.png
+ lib_nbgl/doc/resources/UseCase-Choice.png
+ lib_nbgl/doc/resources/UseCase-HomeExt.png
+ lib_nbgl/doc/resources/UseCase-HomePlugIn.png
+ lib_nbgl/doc/resources/UseCase-HomeSettings.png
+ lib_nbgl/doc/resources/UseCase-HomeSettingsAPI.png
+ lib_nbgl/doc/resources/UseCase-Keypad.png
+ lib_nbgl/doc/resources/UseCase-Review-Status.png
+ lib_nbgl/doc/resources/UseCase-Review.png
+ lib_nbgl/doc/resources/UseCase-Review1.png
+ lib_nbgl/doc/resources/UseCase-ReviewForwardOnly.png
+ lib_nbgl/doc/resources/UseCase-ReviewLight.png
+ lib_nbgl/doc/resources/UseCase-ReviewStart.png
+ lib_nbgl/doc/resources/UseCase-Settings1.png
+ lib_nbgl/doc/resources/UseCase-Settings2.png
+ lib_nbgl/doc/resources/UseCase-Spinner.png
+ lib_nbgl/doc/resources/UseCase-Status.png
+ lib_nbgl/doc/resources/UseCase-Streaming.png
+0 −20 lib_nbgl/include/nbgl_content.h
+1 −3 lib_nbgl/include/nbgl_layout.h
+180 −289 lib_nbgl/src/nbgl_layout.c
+35 −51 lib_nbgl/src/nbgl_layout_keyboard.c
+23 −37 lib_nbgl/src/nbgl_layout_keypad.c
+12 −12 lib_nbgl/src/nbgl_layout_navigation.c
+8 −13 lib_nbgl/src/nbgl_obj.c
+2 −2 lib_nbgl/src/nbgl_obj_keyboard_nanos.c
+0 −1 lib_nbgl/src/nbgl_page.c
+107 −119 lib_nbgl/src/nbgl_use_case.c
+4 −13 lib_nbgl/tools/icon2glyph.py
+1 −1 lib_nfc/doc/mainpage.dox
+1 −1 lib_standard_app/doc/mainpage.dox
+1 −1 lib_stusb/doc/mainpage.dox
+1 −1 lib_stusb_impl/doc/mainpage.dox
+30 −1 lib_stusb_impl/usbd_impl.c
+1 −1 lib_u2f/doc/mainpage.dox
+1 −1 lib_ux/doc/mainpage.dox
+3 −3 lib_ux_nbgl/doc/mainpage.dox
+0 −4 lib_ux_sync/include/ux_sync.h
+0 −22 lib_ux_sync/src/ux_sync.c
+13 −42 src/os_io_seproxyhal.c
+0 −45 src/syscalls.c
+0 −4 target/flex/include/bolos_target.h
+0 −6 target/nanos/include/bolos_target.h
+0 −6 target/nanos2/include/bolos_target.h
+0 −6 target/nanox/include/bolos_target.h
+0 −4 target/stax/include/bolos_target.h
2 changes: 1 addition & 1 deletion deps/nanosplus-secure-sdk
Submodule nanosplus-secure-sdk updated 60 files
+0 −46 .github/workflows/documentation.yml
+0 −2 Makefile.defines
+2 −3 Makefile.target
+24 −25 README.md
+2 −2 doc/mainpage.dox
+0 −6 include/os_io_seproxyhal.h
+0 −230 include/os_pki.h
+0 −109 include/sdk_apdu_commands.h
+0 −5 include/syscalls.h
+1 −1 lib_blewbxx_impl/doc/mainpage.dox
+1 −1 lib_cxng/doc/mainpage.dox
+1 −1 lib_nbgl/doc/mainpage.dox
+517 −192 lib_nbgl/doc/nbgl_use_case.dox
+ lib_nbgl/doc/resources/UseCase-AddressConfirmation.png
+ lib_nbgl/doc/resources/UseCase-AddressConfirmationExt.png
+ lib_nbgl/doc/resources/UseCase-Choice.png
+ lib_nbgl/doc/resources/UseCase-HomeExt.png
+ lib_nbgl/doc/resources/UseCase-HomePlugIn.png
+ lib_nbgl/doc/resources/UseCase-HomeSettings.png
+ lib_nbgl/doc/resources/UseCase-HomeSettingsAPI.png
+ lib_nbgl/doc/resources/UseCase-Keypad.png
+ lib_nbgl/doc/resources/UseCase-Review-Status.png
+ lib_nbgl/doc/resources/UseCase-Review.png
+ lib_nbgl/doc/resources/UseCase-Review1.png
+ lib_nbgl/doc/resources/UseCase-ReviewForwardOnly.png
+ lib_nbgl/doc/resources/UseCase-ReviewLight.png
+ lib_nbgl/doc/resources/UseCase-ReviewStart.png
+ lib_nbgl/doc/resources/UseCase-Settings1.png
+ lib_nbgl/doc/resources/UseCase-Settings2.png
+ lib_nbgl/doc/resources/UseCase-Spinner.png
+ lib_nbgl/doc/resources/UseCase-Status.png
+ lib_nbgl/doc/resources/UseCase-Streaming.png
+0 −20 lib_nbgl/include/nbgl_content.h
+1 −3 lib_nbgl/include/nbgl_layout.h
+180 −289 lib_nbgl/src/nbgl_layout.c
+35 −51 lib_nbgl/src/nbgl_layout_keyboard.c
+23 −37 lib_nbgl/src/nbgl_layout_keypad.c
+12 −12 lib_nbgl/src/nbgl_layout_navigation.c
+8 −13 lib_nbgl/src/nbgl_obj.c
+2 −2 lib_nbgl/src/nbgl_obj_keyboard_nanos.c
+0 −1 lib_nbgl/src/nbgl_page.c
+107 −119 lib_nbgl/src/nbgl_use_case.c
+4 −13 lib_nbgl/tools/icon2glyph.py
+1 −1 lib_nfc/doc/mainpage.dox
+1 −1 lib_standard_app/doc/mainpage.dox
+1 −1 lib_stusb/doc/mainpage.dox
+1 −1 lib_stusb_impl/doc/mainpage.dox
+30 −1 lib_stusb_impl/usbd_impl.c
+1 −1 lib_u2f/doc/mainpage.dox
+1 −1 lib_ux/doc/mainpage.dox
+3 −3 lib_ux_nbgl/doc/mainpage.dox
+0 −4 lib_ux_sync/include/ux_sync.h
+0 −22 lib_ux_sync/src/ux_sync.c
+13 −42 src/os_io_seproxyhal.c
+0 −45 src/syscalls.c
+0 −4 target/flex/include/bolos_target.h
+0 −6 target/nanos/include/bolos_target.h
+0 −6 target/nanos2/include/bolos_target.h
+0 −6 target/nanox/include/bolos_target.h
+0 −4 target/stax/include/bolos_target.h
2 changes: 1 addition & 1 deletion deps/nanox-secure-sdk
Submodule nanox-secure-sdk updated 60 files
+0 −46 .github/workflows/documentation.yml
+0 −2 Makefile.defines
+2 −3 Makefile.target
+24 −25 README.md
+2 −2 doc/mainpage.dox
+0 −6 include/os_io_seproxyhal.h
+0 −230 include/os_pki.h
+0 −109 include/sdk_apdu_commands.h
+0 −5 include/syscalls.h
+1 −1 lib_blewbxx_impl/doc/mainpage.dox
+1 −1 lib_cxng/doc/mainpage.dox
+1 −1 lib_nbgl/doc/mainpage.dox
+517 −192 lib_nbgl/doc/nbgl_use_case.dox
+ lib_nbgl/doc/resources/UseCase-AddressConfirmation.png
+ lib_nbgl/doc/resources/UseCase-AddressConfirmationExt.png
+ lib_nbgl/doc/resources/UseCase-Choice.png
+ lib_nbgl/doc/resources/UseCase-HomeExt.png
+ lib_nbgl/doc/resources/UseCase-HomePlugIn.png
+ lib_nbgl/doc/resources/UseCase-HomeSettings.png
+ lib_nbgl/doc/resources/UseCase-HomeSettingsAPI.png
+ lib_nbgl/doc/resources/UseCase-Keypad.png
+ lib_nbgl/doc/resources/UseCase-Review-Status.png
+ lib_nbgl/doc/resources/UseCase-Review.png
+ lib_nbgl/doc/resources/UseCase-Review1.png
+ lib_nbgl/doc/resources/UseCase-ReviewForwardOnly.png
+ lib_nbgl/doc/resources/UseCase-ReviewLight.png
+ lib_nbgl/doc/resources/UseCase-ReviewStart.png
+ lib_nbgl/doc/resources/UseCase-Settings1.png
+ lib_nbgl/doc/resources/UseCase-Settings2.png
+ lib_nbgl/doc/resources/UseCase-Spinner.png
+ lib_nbgl/doc/resources/UseCase-Status.png
+ lib_nbgl/doc/resources/UseCase-Streaming.png
+0 −20 lib_nbgl/include/nbgl_content.h
+1 −3 lib_nbgl/include/nbgl_layout.h
+180 −289 lib_nbgl/src/nbgl_layout.c
+35 −51 lib_nbgl/src/nbgl_layout_keyboard.c
+23 −37 lib_nbgl/src/nbgl_layout_keypad.c
+12 −12 lib_nbgl/src/nbgl_layout_navigation.c
+8 −13 lib_nbgl/src/nbgl_obj.c
+2 −2 lib_nbgl/src/nbgl_obj_keyboard_nanos.c
+0 −1 lib_nbgl/src/nbgl_page.c
+107 −119 lib_nbgl/src/nbgl_use_case.c
+4 −13 lib_nbgl/tools/icon2glyph.py
+1 −1 lib_nfc/doc/mainpage.dox
+1 −1 lib_standard_app/doc/mainpage.dox
+1 −1 lib_stusb/doc/mainpage.dox
+1 −1 lib_stusb_impl/doc/mainpage.dox
+30 −1 lib_stusb_impl/usbd_impl.c
+1 −1 lib_u2f/doc/mainpage.dox
+1 −1 lib_ux/doc/mainpage.dox
+3 −3 lib_ux_nbgl/doc/mainpage.dox
+0 −4 lib_ux_sync/include/ux_sync.h
+0 −22 lib_ux_sync/src/ux_sync.c
+13 −42 src/os_io_seproxyhal.c
+0 −45 src/syscalls.c
+0 −4 target/flex/include/bolos_target.h
+0 −6 target/nanos/include/bolos_target.h
+0 −6 target/nanos2/include/bolos_target.h
+0 −6 target/nanox/include/bolos_target.h
+0 −4 target/stax/include/bolos_target.h

0 comments on commit da96e78

Please sign in to comment.