Commit Graph

11 Commits

Author SHA1 Message Date
Szymon Lesisz
3dd5d01ce5 chore(transport): remove obsolete THP code 2026-02-03 16:00:58 +01:00
Szymon Lesisz
8aae408c06 chore(protocol): add host_static_key to ThpCredentials 2025-12-30 15:15:20 +01:00
Szymon Lesisz
a43bdb2945 refactor(protocol): encode ThpAck **only** from ThpState 2025-11-24 18:12:18 +01:00
Szymon Lesisz
10c54bd35d refactor(protocol): THP getControlBit returns both ack and sequence bits 2025-11-24 18:12:18 +01:00
Szymon Lesisz
37cd1c6ba1 Revert "fix(transport): allow skipping ThpAck from device"
This reverts commit 118327a6ba.
2025-11-13 17:08:02 +01:00
Marek Polak
118327a6ba fix(transport): allow skipping ThpAck from device 2025-11-11 15:04:47 +01:00
Szymon Lesisz
30e20f7096 fix(protocol): ignore unexpected chunks in ThpAck after send 2025-08-21 17:29:12 +02:00
Szymon Lesisz
2d26b5c928 feat(protocol): add THP pairing messages and state 2025-08-18 16:01:21 +02:00
Szymon Lesisz
f16730bebb feat(protocol): add THP pairing cryptography
Functions used by THP pairing workflow
2025-08-18 16:01:21 +02:00
Szymon Lesisz
b3056f54d2 feat(protocol): add THP cryptography
Co-authored-by: Ondřej Vejpustek <ondrej.vejpustek@satoshilabs.com>

following: https://github.com/trezor/trezor-firmware/pull/3435
2025-05-26 09:49:51 +02:00
Szymon Lesisz
b33b491b40 feat(protocol): add THP encoding/decoding logic
- only one message exchange is supported ThpCreateChannelRequest > ThpCreateChannelResponse
- without cryptography module. will be added in the next commit
2025-05-23 14:52:42 +02:00