1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
tychovrahe
57f72d5aa7 fix(core): use secure-unprivileged SAES XOR key for storage encryption
[no changelog]
2024-09-24 12:21:53 +02:00
Andrew Kozlik
1016b0c98a feat(storage): Do not lock freshly initialized storage. 2024-07-09 16:52:50 +02:00
Andrew Kozlik
a4cf0b2c72 feat(core): Show PIN initialization progress when Optiga throttling delays are active 2024-07-09 16:52:50 +02:00
Andrew Kozlik
9420b38a35 feat(core): Account for Optiga throttling delay in PIN countdown. 2024-07-09 16:52:50 +02:00
tychovrahe
e30a0e6231 fix(core): fix storage compilation for U5 models without optiga
[no changelog]
2024-07-03 17:27:46 +02:00
Andrew Kozlik
869b6fe6dc refactor(core): Use remaining PIN attempts in Optiga API.
[no changelog]
2024-07-01 18:05:20 +02:00
Andrew Kozlik
fc09379877 refactor(core): Clean up Optiga error handling.
[no changelog]
2024-07-01 18:05:20 +02:00
Andrew Kozlik
f393064ce7 feat(core): Improve PIN progress precision. 2024-06-21 18:55:01 +02:00
Andrew Kozlik
509e291118 feat(core): Rework Optiga PIN slot configuration. 2024-06-21 18:55:01 +02:00
Andrew Kozlik
183e53d3c2 feat(storage): Rework PIN processing and upgrade storage. 2024-06-21 18:55:01 +02:00
Andrew Kozlik
ecf31610b0 refactor(storage): Refactor storage_upgrade(). 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
e060ac68c5 feat(core): use U5 HW keys to additionally encrypt storage items
[no changelog]
2024-04-08 21:41:30 +02:00
tychovrahe
ed6aa48726 feat(core): use confidential section for confidential and sensitive data
[no changelog]
2024-04-05 18:54:30 +02:00
matejcik
f60cc75c7c feat(storage): return enum values instead of strings, so that they are translatable 2024-03-30 12:10:59 +01:00
tychovrahe
434ed04b7f feat(storage): implemented more effective pin logs for blockwise storage
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
8147b11345 fix(core): fix quadword-only storage
[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
grdddj
b8ea21d24a feat(all): implement translations into Trezor
Co-authored-by matejcik <ja@matejcik.cz>
2024-02-12 14:49:32 +01:00
Andrew Kozlik
3d0ba4b69f feat(core): Finish progress for wrong PIN.
[no changelog]
2023-10-05 14:41:08 +02:00
Andrew Kozlik
392add3f8e feat(storage): Synchronize Optiga and MCU PIN counters. 2023-10-04 11:22:46 +02:00
Andrew Kozlik
1fa2929607 feat(core): Distinguish Optiga errors from invalid PIN. 2023-10-04 11:22:46 +02:00
matejcik
3c413ecf02 fix(storage): correctly fail when Optiga operations fail 2023-10-04 11:22:46 +02:00
Andrew Kozlik
dee559f4f9 feat(core): Integrate Optiga into PIN verification. 2023-09-27 17:17:09 +02:00
Andrew Kozlik
91592717da refactor(storage): Simplify progress callbacks and expose constants. 2023-09-27 17:17:09 +02:00
tychovrahe
5a991f3244 feat(core/rust): bootloader implementation in rust 2023-03-09 16:14:36 +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
c68e91c12a feat(storage): Support PIN and wipe code of unlimited length. 2021-03-25 14:24:41 +01:00
Tomas Susanka
41966c60db legacy: initialized field in Features is true only if mnemonic is stored 2020-06-05 11:07:01 +02:00
Andrew Kozlik
bfd834d1de storage: Add storage_ensure_not_wipe_code(). 2020-03-19 15:04:33 +01:00
Andrew Kozlik
77bb6deb66 storage: Check for invalid PIN. 2020-03-17 11:53:48 +01:00
Tomas Susanka
49cf2423f5 storage: move unlocked statement straight after key generation 2019-12-09 08:11:19 +00:00
Tomas Susanka
252d069a66 storage: unlock storage after wipe 2019-12-09 08:11:19 +00:00
Andrew Kozlik
de96e675e5 fixup! storage: Implement storage_change_wipe_code(). 2019-12-02 16:06:36 +01:00
Andrew Kozlik
d0d3ad2912 fixup! storage: Change secequal32() to use length in bytes instead of length in words. 2019-12-02 14:29:04 +01:00
Andrew Kozlik
a3b608d8dd storage, core: Reveal the wipe code status after the device is unlocked. 2019-11-25 12:32:20 +01:00
Andrew Kozlik
b874539e2c storage: Change secequal32() to use length in bytes instead of length in words. 2019-11-25 12:32:20 +01:00
Andrew Kozlik
1deebf1065 storage: Add STORAGE_UPGRADED_KEY to protect against fake storage upgrade attacks. 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
1caae698ca
storage: make FLAG_PUBLIC and FLAGS_WRITE part of public API 2019-11-11 19:47:48 +01:00
Ondřej Vejpustek
97ba9f17d9
storage: explicitly initialize variables 2019-10-09 17:07:42 +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
Pavol Rusnak
8b06598474
core+legacy: rework code styling checks 2019-04-18 17:40:55 +02:00
matejcik
71f2c0ef25 MONOREPO MERGE trezor-storage 2019-04-15 19:15:05 +02:00