mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-25 17:09:44 +00:00
refactor(core): use separate implementation of secret.c for unix
[no changelog]
This commit is contained in:
parent
b9f5e2b409
commit
b5b43f45c7
@ -1 +0,0 @@
|
|||||||
../stm32f4/secret.c
|
|
15
core/embed/sec/secret/unix/secret.c
Normal file
15
core/embed/sec/secret/unix/secret.c
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#include <sec/secret.h>
|
||||||
|
|
||||||
|
#ifdef KERNEL_MODE
|
||||||
|
|
||||||
|
void secret_write_header(void) {}
|
||||||
|
|
||||||
|
secbool secret_optiga_present(void) { return secfalse; }
|
||||||
|
|
||||||
|
void secret_optiga_erase(void) {}
|
||||||
|
|
||||||
|
secbool secret_bootloader_locked(void) { return sectrue; }
|
||||||
|
|
||||||
|
void secret_prepare_fw(secbool allow_run_with_secret, secbool _trust_all) {}
|
||||||
|
|
||||||
|
#endif // KERNEL_MODE
|
Loading…
Reference in New Issue
Block a user