Commit Graph

139 Commits

Author SHA1 Message Date
Martin Pastyřík
860ef85c4a feat(prodtest): enable disabling Tropic sensors in prodtest
add prodtest cli commands to read and set the reversible configuration of the sensors (0x08)

also add a command to read the whole configurations to get a better clarity of what is set and what is not set

[no changelog]
2026-01-27 17:23:41 +01:00
Andrew Kozlik
cf823028fe feat(core): Add optiga-metadata-read command to prodtest. 2026-01-27 15:29:56 +01:00
Ondřej Vejpustek
4f036203a3 fix(core/prodtest): call cli_trace(cli, ...) only if cli is not NULL
[no changelog]
2026-01-26 17:13:11 +01:00
Ondřej Vejpustek
45ee386aad feat(core/prodtest): introduce logging in tropic_wait_for_ready() 2026-01-23 18:41:02 +01:00
Ondřej Vejpustek
8789956261 feat(core/prodtest): introduce logging in tropic_get_pubkey() and tropic_get_cert_chain_ptr() 2026-01-23 18:41:02 +01:00
Ondřej Vejpustek
c6118b08b6 feat(core/prodtest): introduce logging in tropic_custom_session_start() 2026-01-23 18:41:02 +01:00
Ondřej Vejpustek
79d6007554 refactor(core): fix typo in constant name 2026-01-23 16:14:52 +01:00
Ondřej Vejpustek
98be244189 feat(core/prodtest): introduce tropic stress test 2026-01-23 16:14:52 +01:00
kopecdav
de571e9e96 feat(core): add telemetry response in unix.
[no changelog]
2026-01-23 12:54:34 +01:00
kopecdav
e64bddf7d0 feat(core): Add battery cycles updates into device telemetry.
[no changelog]
2026-01-23 12:54:34 +01:00
tychovrahe
dddef12583 feat(core): add telemetry logging of battery errors
[no changelog]
2026-01-19 12:58:56 +01:00
cepetr
7cf653c258 refactor(core): move telemetry to sec layers
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
521cdb2e0e refactor(core): split and move suspend module into io and sec layers
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
f0d12275d3 refactor(core): move rsod to io/gfx and sec/rsod
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
0703f9688c refactor(core): move hw_revision to sec layer
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
2cc46b0f08 refactor(core): move image module to sec layer
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
899323cf77 refactor(core): move fwutils to sec layer
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
79dd851f78 refactor(core): move flash driver to sys layer
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
01da364328 refactor(core): move i2c_bus driver to sys layer
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
6fb3167a02 refactor(core): move option_bytes to sec layer
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
8d4546a81f refactor(core): move board_capabilities to sec layer
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
5df2ecdff2 refactor(core): move unit_properties to sec layer
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
2761e69f8d refactor(core): split rng module into sys/rng and sec/rng_strong
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
cb1b9cc474 refactor(core): move backup_ram driver from sys to sec
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
3e3ce55d3f refactor(core): move tamper driver from sys to sec
[no changelog]
2026-01-13 11:18:26 +01:00
cepetr
1a37ddf1b9 refactor(core): remove circular deps between rtl and sys
[no changelog]
2026-01-13 11:18:26 +01:00
tychovrahe
e2bfa90870 feat(core): introduce secmon downgrade protection 2026-01-13 09:30:29 +01:00
matejcik
780357f30b style(core): appease clang about _Static_assert
[no changelog]
2026-01-12 22:03:22 +01:00
M1nd3r
469337cd76 chore(core): add crypto_ctx to tropic_driver_t 2026-01-02 19:10:13 +01:00
M1nd3r
f977099a5f chore(core): replace lt_port_unix_tcp by libtropic_port_posix_tcp for emulator 2026-01-02 19:10:13 +01:00
M1nd3r
9e853f7291 chore(core): use memzero wrapper instead of lt_secure_memzero 2026-01-02 19:10:13 +01:00
M1nd3r
853e2a039f chore(core): use fixed TROPIC_SLOT_MAX_SIZE_V1
- size fixed to 444 B for backwards compatibility with tropic
  Application FW <2 Since the version 2.0.0, 475 B can be utilized from
  each slot.
2026-01-02 19:10:13 +01:00
M1nd3r
93756a24f4 chore(core): adjust core to be compatible with libtropic 3.0.0 2026-01-02 19:10:13 +01:00
tychovrahe
b3b0e8c0b3 fix(core): fix tropic retry-command reset sequence
[no changelog]
2025-12-16 15:11:18 +01:00
tychovrahe
a8190e0e28 fix(core): fix tropic reset by adding chip select handling
[no changelog]
2025-12-16 15:11:18 +01:00
cepetr
80c5444a2e fix(core): remove rsod screens from rtl error handling
[no changelog]
2025-12-16 11:49:07 +01:00
cepetr
a1fa1fbbdb refactor(core): use LOG macros instead of printfs
[no changelog]
2025-12-12 15:18:35 +01:00
Ondřej Vejpustek
66c1502082 feat(core/embed): reset tropic and retry command when alarm mode is
detected
2025-12-11 14:03:02 +01:00
Ondřej Vejpustek
3cb8a6f012 refactor(core/embed): factor out generate_correct_mac_and_destroy_output()
[no changelog]
2025-12-11 14:03:02 +01:00
Ondřej Vejpustek
333a135c94 refactor(core/embed): factor out lt_r_mem_data_erase_write()
[no changelog]
2025-12-11 14:03:02 +01:00
Ondřej Vejpustek
7db3fa0183 refactor(core/embed): cache tropic change pin counter
[no changelog]
2025-12-05 16:25:12 +01:00
Ondřej Vejpustek
8b07b5442f feat(core/embed): introduce wear leveling of mac-and-destroy slots 2025-12-05 16:25:12 +01:00
Martin Milata
43e0ac4125 build(core): fix T3W1 build with DISABLE_OPTIGA=1
[no changelog]
2025-11-26 17:04:05 +01:00
cepetr
3f383a6fd1 refactor(core): remove coreapp specific logic from applets
[no changelog]
2025-11-13 09:01:37 +01:00
cepetr
54e319e274 refactor(core): improve applet interface
[no changelog]
2025-11-13 09:01:37 +01:00
kopecdav
c5925feedc feat(core): Add optiga suspend/resume functions + refactor the optiga initialization routines.
[no changelog]
2025-11-10 20:18:06 +01:00
Ondřej Vejpustek
2f857bf6d4 refator(core): refactor tropic certificate cache 2025-11-10 15:22:26 +01:00
Ondřej Vejpustek
9eeb61b769 feat(core/embed): do not reestablish session for the same key
[no changelog]
2025-11-10 15:22:26 +01:00
Ondřej Vejpustek
1ba7872697 refactor(core/embed): refactor and improve tropic session establishing
[no changelog]
2025-11-10 15:22:26 +01:00
Ondřej Vejpustek
40dffd113d feat(core/embed): introduce tropic progress in lt_port_delay()
[no changelog]
2025-11-07 13:42:16 +01:00