1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
Andrew Kozlik
09ed141a0a test(storage): Update storage tests. 2024-06-21 18:55:01 +02:00
cepetr
0f1cac9695 refactor(core): optimize assert/fatal_error for reduced flash footprint
[no changelog]
2024-06-17 16:57:33 +02:00
tychovrahe
ed6aa48726 feat(core): use confidential section for confidential and sensitive data
[no changelog]
2024-04-05 18:54:30 +02:00
cepetr
4cf781abb2 chore(core, legacy, storage): refactor flash drivers
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
8150636a81 feat(core): add basic support for STM32U5 2024-02-29 23:05:56 +01:00
tychovrahe
8147b11345 fix(core): fix quadword-only storage
[no changelog]
2024-02-20 09:37:28 +01:00
Andrew Kozlik
440b1304c0 refactor(storage): Split implementations based on FLASH_BIT_ACCESS.
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
743ed413f6 feat(core): add support for quad-word only storage
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
238e3fd7c1 refactor(core): add abstraction over flash memory layout
[no changelog]
2023-07-25 10:25:20 +02:00
Martin Milata
d0601bed40 test(storage): workaround clang error
flash.c:55:5: error: initializer element is not a compile-time constant
2023-05-16 19:23:33 +02:00
Andrew Kozlik
01edf3f796 fix(storage): Adapt to changing insecure PRNG to be opt-in. 2023-03-24 11:10:42 +01:00
tychovrahe
5a991f3244 feat(core/rust): bootloader implementation in rust 2023-03-09 16:14:36 +01:00
Andrew Kozlik
1da446a8fb refactor: Move flash_init to emulator main. 2022-05-03 19:00:04 +02:00
Martin Milata
18c8304339 fix(core): leftover TREZOR_MODEL defines
[no changelog]
2022-04-28 16:47:22 +02:00
Pavol Rusnak
8f1d33d5f9 build(core,legacy): remove gcc, use cc instead of gcc
for firmware builds we still use arm-none-eabi-gcc via $(PREFIX)gcc

[no changelog]
2022-04-27 15:48:14 +02:00
TychoVrahe
7912a7d0d3
build(core,storage): fix conditional compilation for different Trezor models
* build(core,storage) - Fix conditional compilation for different trezor models

* build(core) - Rename MODEL_* macro to TREZOR_MODEL_*, remove the original TREZOR_MODEL macro (replaced by conditional compilation for QSTR generation)

* build(core) - fixed missing TREZOR_MODEL to TREZOR_MODEL_x changes

[no changelog]
2022-04-26 13:47:40 +02:00
Andrew Kozlik
d6fdadf673 feat(crypto): Sanitize undefined behavior. 2022-01-19 15:22:03 +01:00
Andrew Kozlik
56126b75a7 ci: Use address sanitizer in CI.
[no changelog]
2022-01-19 15:22:03 +01:00
Ondřej Vejpustek
8ee17f69b3 refactor(core): move wait_random and rdi into separate file 2021-05-21 13:42:53 +02:00
Andrew Kozlik
4c2e4bcb65 fix(storage): Check for overflow in counter increment. 2021-03-26 10:54:56 +01:00
Andrew Kozlik
8f5f5daaab test(storage): Update tests to comply with new storage version and interface. 2021-03-25 14:24:41 +01:00
Andrew Kozlik
c68e91c12a feat(storage): Support PIN and wipe code of unlimited length. 2021-03-25 14:24:41 +01:00
Pavol Rusnak
179645e3ad core: unify usage of TREZOR_MODEL 2020-06-06 21:06:15 +02:00
Andrew Kozlik
a08b66ee6c storage: gitignore hypothesis and libtrezor-storage.so. 2019-11-25 12:32:20 +01:00
Andrew Kozlik
a9b98ab966 storage: Implement storage_change_wipe_code(). 2019-11-25 12:32:20 +01:00
Pavol Rusnak
76eefd026f
all: let's use -Wno-missing-braces because clang does not respect
initialization of structs with = {0};
2019-10-11 09:59:32 +02:00
Andrew Kozlik
4f01003637 storage: Add external salt parameter to unlock() and change_pin(). 2019-09-18 18:53:42 +02:00
Pavol Rusnak
54d348228f
all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
Andrew Kozlik
531c610a17 storage: Use wait_random() from common.h. Fix build for tests. 2019-06-11 11:41:40 +02:00
matejcik
9b168daa19 style: improve makefile output, format test files 2019-05-13 18:00:43 +02:00
Tomas Susanka
18482a9c37 storage: style 2019-04-25 16:50:56 +02:00
Tomas Susanka
99329fb30d storage: add tests
from https://github.com/trezor/trezor-storage-test
2019-04-25 16:50:56 +02:00