1
0
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:
M1nd3r 2024-07-26 15:28:18 +02:00
parent 7c2b2d550f
commit c31ed2d7b5

View File

@ -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"