diff --git a/app/src/crypto_helper.c b/app/src/crypto_helper.c index f9c2c3d..ed97b57 100644 --- a/app/src/crypto_helper.c +++ b/app/src/crypto_helper.c @@ -21,6 +21,7 @@ #include "keys_personalizations.h" #include "rslib.h" #include "zxformat.h" +#include "parser_common.h" #if defined(LEDGER_SPECIFIC) #include "cx.h" @@ -28,14 +29,6 @@ #endif #include "blake2.h" -#define CHECK_PARSER_OK(CALL) \ - do { \ - parser_error_t __cx_err = CALL; \ - if (__cx_err != parser_ok) { \ - return zxerr_unknown; \ - } \ - } while (0) - parser_error_t convertKey(const uint8_t spendingKey[KEY_LENGTH], const uint8_t modifier, uint8_t outputKey[KEY_LENGTH], bool reduceWideByte) { uint8_t output[64] = {0}; diff --git a/deps/ledger-zxlib b/deps/ledger-zxlib index d9ded97..0172a43 160000 --- a/deps/ledger-zxlib +++ b/deps/ledger-zxlib @@ -1 +1 @@ -Subproject commit d9ded9795bcb2700602907ccfff4d34087372225 +Subproject commit 0172a430279045bfd5103e51d3975a3fbb9dc4b4 diff --git a/tests_zemu/snapshots/fl-mainmenu/00001.png b/tests_zemu/snapshots/fl-mainmenu/00001.png index 26916c9..e3dda8a 100644 Binary files a/tests_zemu/snapshots/fl-mainmenu/00001.png and b/tests_zemu/snapshots/fl-mainmenu/00001.png differ diff --git a/tests_zemu/snapshots/fl-mainmenu/00002.png b/tests_zemu/snapshots/fl-mainmenu/00002.png index 998320f..f8a6e75 100644 Binary files a/tests_zemu/snapshots/fl-mainmenu/00002.png and b/tests_zemu/snapshots/fl-mainmenu/00002.png differ diff --git a/tests_zemu/snapshots/fl-mainmenu/00003.png b/tests_zemu/snapshots/fl-mainmenu/00003.png index 26916c9..e3dda8a 100644 Binary files a/tests_zemu/snapshots/fl-mainmenu/00003.png and b/tests_zemu/snapshots/fl-mainmenu/00003.png differ diff --git a/tests_zemu/snapshots/st-mainmenu/00001.png b/tests_zemu/snapshots/st-mainmenu/00001.png index 5f60b4d..7b82196 100644 Binary files a/tests_zemu/snapshots/st-mainmenu/00001.png and b/tests_zemu/snapshots/st-mainmenu/00001.png differ diff --git a/tests_zemu/snapshots/st-mainmenu/00002.png b/tests_zemu/snapshots/st-mainmenu/00002.png index 82a1ef4..d40467c 100644 Binary files a/tests_zemu/snapshots/st-mainmenu/00002.png and b/tests_zemu/snapshots/st-mainmenu/00002.png differ diff --git a/tests_zemu/snapshots/st-mainmenu/00003.png b/tests_zemu/snapshots/st-mainmenu/00003.png index 5f60b4d..7b82196 100644 Binary files a/tests_zemu/snapshots/st-mainmenu/00003.png and b/tests_zemu/snapshots/st-mainmenu/00003.png differ