mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-22 12:32:02 +00:00
fix(core): change PROTOCOL_NAME in thp encryption
[no changelog]
This commit is contained in:
parent
7c2b2d550f
commit
c31ed2d7b5
@ -62,7 +62,7 @@ class BusyDecoder:
|
||||
return computed_tag == tag
|
||||
|
||||
|
||||
PROTOCOL_NAME = bytes("Noise_XX_25519_AESGCM_SHA256", "ascii")
|
||||
PROTOCOL_NAME = b"Noise_XX_25519_AESGCM_SHA256\x00\x00\x00\x00"
|
||||
IV_1 = b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
|
||||
IV_2 = b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user