Skip to content

Commit

Permalink
Dont clear the randomness buffers upon retrieval of the last spend si…
Browse files Browse the repository at this point in the history
…gnature.
  • Loading branch information
murisi committed Sep 27, 2024
1 parent 76b17c0 commit 6bc1b2b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions app/src/nvdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ zxerr_t get_next_spend_signature(uint8_t *result) {
}
MEMCPY(result, (void *)&N_transactioninfo.spend_signatures[index], SIGNATURE_SIZE);
transaction_header.spends_sign_index--;
if (!spend_signatures_more_extract()) {
transaction_reset();
}
return zxerr_ok;
}

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

0 comments on commit 6bc1b2b

Please sign in to comment.