From c0de11fbeb0ca753ed4def72bbc6143d32e0bd83 Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 15 Aug 2023 17:11:36 +0200 Subject: [PATCH] fix(core): use stm32f4 implementation of secret.c for unix too (fixes bootloader_emu build because there was an error in the unix dummy impl) --- core/embed/trezorhal/unix/secret.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) mode change 100644 => 120000 core/embed/trezorhal/unix/secret.c diff --git a/core/embed/trezorhal/unix/secret.c b/core/embed/trezorhal/unix/secret.c deleted file mode 100644 index 24fee45f93..0000000000 --- a/core/embed/trezorhal/unix/secret.c +++ /dev/null @@ -1,9 +0,0 @@ -#include "secret.h" - -void secret_write(uint8_t* data, uint32_t offset, uint32_t len) {} - -void secret_read(uint8_t* data, uint32_t offset, uint32_t len) {} - -secbool secret_wiped(void) { return secfalse; } - -void secret_erase(void) {} diff --git a/core/embed/trezorhal/unix/secret.c b/core/embed/trezorhal/unix/secret.c new file mode 120000 index 0000000000..91e08f2ec9 --- /dev/null +++ b/core/embed/trezorhal/unix/secret.c @@ -0,0 +1 @@ +../stm32f4/secret.c \ No newline at end of file