matejcik
39e1085295
chore(core): add T3T1 QA bootloader 2.1.5
2024-04-22 10:56:25 +02:00
matejcik
66b96bc279
build(core): fix prodtest build from build-docker
...
build-docker.sh will unconditionally pass in a value for the
VENDOR_HEADER envvar. This is a problem if the user didn't specify one,
because the value inside the container is going to be empty string.
We make prodtest look at whether the value of VENDOR_HEADER is truthy
instead of a literal None. Which is a correct logic: if the user
deliberately sets the value to an empty string, the build will fail
anyway, so we ignore such value.
2024-04-22 10:56:25 +02:00
matejcik
f0c7cc4e8e
chore(core): add signed vendor headers for T3T1
2024-04-22 10:56:25 +02:00
matejcik
c01302dd31
chore(core): add signed production T3T1 bootloader v2.1.5
2024-04-22 10:56:25 +02:00
tychovrahe
e5e40cf4a8
fix(core): ensure correctly programmed oem key option bytes
...
[no changelog]
2024-04-22 09:15:42 +02:00
tychovrahe
916dbdff9c
fix(core): fix reboot to bootloader crash when display copying is in progress
...
[no changelog]
2024-04-18 10:50:46 +02:00
matejcik
90afd9c96a
chore(core): bump versions of prodtest / bootloader after release
2024-04-17 14:40:30 +02:00
matejcik
4728b14bcc
docs(core): add changelogs for prodtest and bootloader
2024-04-17 14:40:29 +02:00
matejcik
5b0b145f12
build(core): allow custom vendor header for prodtest
...
to facilitate building prodtest with unsigned VH and then replacing it
2024-04-17 14:40:29 +02:00
tychovrahe
dfe5ee67f1
fix(core): move OEM key check after display initialization so that error message can be displayed
...
[no changelog]
2024-04-17 14:23:09 +02:00
tychovrahe
457e5956c8
fix(core): fix sha256 calculation with hash processor
...
[no changelog]
2024-04-17 10:48:37 +02:00
Ondřej Vejpustek
e9f6eb0b2b
fix(core/reflash): fix compile errors
...
[no changelog]
2024-04-16 17:41:30 +02:00
matejcik
89fdaed31e
chore(core): add unsigned vendor headers with production keys
2024-04-12 16:13:52 +02:00
matejcik
0109ab2232
chore(core): make vendor_unsafe.toif small
2024-04-12 16:13:52 +02:00
matejcik
867300b8c6
chore(core): include T3T1 boardloader / bootloader production keys
2024-04-12 16:13:52 +02:00
matejcik
5d9bb0ebfc
tools(core): nicer build_vendorheader for manual use
...
also will show you required header size
2024-04-12 16:13:52 +02:00
matejcik
729d7c59e1
fix(core/vendorheader): include correct backup key into trezor_btconly vendor header
2024-04-12 16:13:52 +02:00
Martin Milata
4baa4d95a4
fix(core): fix display fatal error screen (T3T1)
...
[no changelog]
2024-04-12 12:25:46 +00:00
Martin Milata
5c5433ada2
refactor(core/rust): use more Self
...
[no changelog]
2024-04-12 12:25:46 +00:00
Martin Milata
906c00e4e5
refactor(core): rename screen_boot_{empty,full} to screen_boot_stage_{1,2}
...
[no changelog]
2024-04-12 12:25:46 +00:00
Martin Milata
804d97c9d8
feat(core): bootloader: T3T1 startup UI
...
[no changelog]
2024-04-12 12:25:46 +00:00
tychovrahe
c277dbcfcb
feat(core): T3T1 loader
...
[no changelog]
2024-04-12 12:25:46 +00:00
Martin Milata
cf00726152
feat(core): copy T2T1 bootloader UI for T3T1
2024-04-12 12:25:46 +00:00
Martin Milata
b5fa5a3f3a
feat(core): add fonts for T3T1 bootloader
...
[no changelog]
2024-04-12 12:25:46 +00:00
tychovrahe
72146c2ae2
fix(core): fix display fatal error screen
...
[no changelog]
2024-04-11 19:16:23 +02:00
tychovrahe
165238b78e
fix(core): fix T3T1 unsafe vendorheader
...
[no changelog]
2024-04-11 19:16:23 +02:00
tychovrahe
1600759457
refactor(core): simplify secret.h api, hide platform differences
...
[no changelog]
2024-04-11 16:13:58 +02:00
tychovrahe
89c6590e45
feat(core/prodtest): add commands TOUCH VERSION and VARIANT READ
...
[no changelog]
2024-04-11 10:05:13 +02:00
tychovrahe
c8e18dd4d2
fix(core): slow down SDIO communication in T3T1 prodtest
...
[no changelog]
2024-04-11 09:54:28 +02:00
Ondřej Vejpustek
548e329f9d
fix(core): prevent negative-length array
...
[no changelog]
2024-04-09 14:29:46 +02:00
tychovrahe
a873a7064e
chore(core): add comments to secret.h functions
...
[no changelog]
2024-04-08 21:41:30 +02:00
tychovrahe
8a18cfe0d4
feat(core): use U5 DHUK to encrypt optiga pairing secret in flash
...
[no changelog]
2024-04-08 21:41:30 +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
cepetr
b1fb876709
fix(core): fix ts3 fonts
...
[no changelog]
2024-04-08 15:38:39 +02:00
Martin Milata
c7832c39ab
refactor(core/rust/ui): use TString instead of StrBuffer when constructing layouts
...
[no changelog]
2024-04-06 20:31:36 +00:00
tychovrahe
256adc3567
refactor(core/rust) use TString in Label and Button
...
[no changelog]
2024-04-06 20:31:36 +00:00
tychovrahe
ed6aa48726
feat(core): use confidential section for confidential and sensitive data
...
[no changelog]
2024-04-05 18:54:30 +02:00
tychovrahe
535a052df4
refactor(core/rust): introduce UIFeaturesXXX trait as an abstraction over different UI implementation
...
[no changelog]
2024-04-05 18:16:59 +02:00
tychovrahe
ba741b81fd
feat(core): use HSI as PLL source on T3T1
...
[no changelog]
2024-04-05 15:17:42 +02:00
tychovrahe
acb0e9fdc5
chore(core): set stack protector to strong
...
[no changelog]
2024-04-05 15:07:03 +02:00
cepetr
285b22e53e
refactor(core): add ufmt, bump heapless from 0.7.6 - 0.8.0
...
[no changelog]
2024-04-04 15:02:28 +02:00
tychovrahe
ffccf849eb
chore(core): fill T3T1 model full name
...
[no changelog]
2024-04-04 12:46:44 +02:00
matejcik
39b7b22777
refactor(core/rust): Paragraph is now based on TString
2024-04-04 10:04:00 +02:00
matejcik
9c287adf64
feat(core/rust): some useful traits for TString
...
string equality comparison and SkipPrefix
2024-04-04 10:04:00 +02:00
matejcik
f3b884bf93
refactor(core): improve safety of translation blobs
...
* the public interface to Translations is now completely safe
* it is more obvious that `map_translated` needs to work the way it does
* documentation is improved
2024-04-04 09:53:45 +02:00
tychovrahe
ba065c5b38
fix(core/prodtest): do not require sd detect pin for running SD card test
...
[no changelog]
2024-04-03 16:48:28 +02:00
Pavol Rusnak
4b189eb2cb
fix(core): always zero-initialize structures in trezorhal
...
[no changelog]
2024-04-03 13:08:16 +02:00
tychovrahe
576ed7e04e
chore(core): use SD hal driver from submodule
...
[no changelog]
2024-04-03 13:08:16 +02:00
tychovrahe
69ed626ca0
fix(core): slowdown i2c on u5 to 200kHz
...
[no changelog]
2024-04-03 11:01:35 +02:00
Andrew Kozlik
15e02be4e4
fix(core): Clean up when constructor fails to reduce memory fragmentation.
...
[no changelog]
2024-04-03 10:26:46 +02:00