diff --git a/Makefile b/Makefile index ba603dc..6476c47 100644 --- a/Makefile +++ b/Makefile @@ -71,6 +71,7 @@ else APP_SOURCE_PATH += src_bagl endif APP_SOURCE_FILES += ${BOLOS_SDK}/lib_standard_app/crypto_helpers.c +INCLUDES_PATH += ${BOLOS_SDK}/lib_standard_app ifeq ($(TARGET_NAME),TARGET_STAX) NETWORK_ICONS_FILE = $(GEN_SRC_DIR)/net_icons.gen.c diff --git a/src/handle_check_address.c b/src/handle_check_address.c index fd0d79e..f9afddb 100644 --- a/src/handle_check_address.c +++ b/src/handle_check_address.c @@ -3,7 +3,7 @@ #include "os.h" #include "shared_context.h" #include "string.h" -#include "lib_standard_app/crypto_helpers.h" +#include "crypto_helpers.h" #define ZERO(x) explicit_bzero(&x, sizeof(x)) diff --git a/src/main.c b/src/main.c index c148a7a..bc0892d 100644 --- a/src/main.c +++ b/src/main.c @@ -31,7 +31,7 @@ #include "commands_712.h" #include "challenge.h" #include "domain_name.h" -#include "lib_standard_app/crypto_helpers.h" +#include "crypto_helpers.h" unsigned char G_io_seproxyhal_spi_buffer[IO_SEPROXYHAL_BUFFER_SIZE_B]; diff --git a/src_features/getPublicKey/cmd_getPublicKey.c b/src_features/getPublicKey/cmd_getPublicKey.c index dbc84bb..4c5a115 100644 --- a/src_features/getPublicKey/cmd_getPublicKey.c +++ b/src_features/getPublicKey/cmd_getPublicKey.c @@ -4,7 +4,7 @@ #include "feature_getPublicKey.h" #include "common_ui.h" #include "os_io_seproxyhal.h" -#include "lib_standard_app/crypto_helpers.h" +#include "crypto_helpers.h" void handleGetPublicKey(uint8_t p1, uint8_t p2, diff --git a/src_features/signMessage/ui_common_signMessage.c b/src_features/signMessage/ui_common_signMessage.c index 4bc7da9..d58fd6c 100644 --- a/src_features/signMessage/ui_common_signMessage.c +++ b/src_features/signMessage/ui_common_signMessage.c @@ -1,6 +1,6 @@ #include "os_io_seproxyhal.h" #include "apdu_constants.h" -#include "lib_standard_app/crypto_helpers.h" +#include "crypto_helpers.h" #include "common_ui.h" unsigned int io_seproxyhal_touch_signMessage_ok(void) { diff --git a/src_features/signMessageEIP712_common/common_712.c b/src_features/signMessageEIP712_common/common_712.c index e45e30c..95b8866 100644 --- a/src_features/signMessageEIP712_common/common_712.c +++ b/src_features/signMessageEIP712_common/common_712.c @@ -1,7 +1,7 @@ #include "shared_context.h" #include "apdu_constants.h" #include "os_io_seproxyhal.h" -#include "lib_standard_app/crypto_helpers.h" +#include "crypto_helpers.h" #include "ui_callbacks.h" #include "common_712.h" #include "ui_callbacks.h" diff --git a/src_features/signTx/logic_signTx.c b/src_features/signTx/logic_signTx.c index 20c1375..1ada770 100644 --- a/src_features/signTx/logic_signTx.c +++ b/src_features/signTx/logic_signTx.c @@ -8,7 +8,7 @@ #include "common_ui.h" #include "ui_callbacks.h" #include "apdu_constants.h" -#include "lib_standard_app/crypto_helpers.h" +#include "crypto_helpers.h" #define ERR_SILENT_MODE_CHECK_FAILED 0x6001 diff --git a/src_features/signTx/ui_common_signTx.c b/src_features/signTx/ui_common_signTx.c index 96eee2f..9041c70 100644 --- a/src_features/signTx/ui_common_signTx.c +++ b/src_features/signTx/ui_common_signTx.c @@ -1,4 +1,4 @@ -#include "lib_standard_app/crypto_helpers.h" +#include "crypto_helpers.h" #include "os_io_seproxyhal.h" #include "shared_context.h" #include "common_utils.h"