Files
trezor-firmware/python/stubs/noise/state.pyi
matejcik 6e3018509b refactor(python): rework session-based API
Co-authored-by: M1nd3r <petrsedlacek.km@seznam.cz>
Co-authored-by: Roman Zeyde <roman.zeyde@satoshilabs.com>

[no changelog]
2026-02-03 14:47:31 +01:00

13 lines
259 B
Python

import typing as t
Priv = t.TypeVar("Priv")
Pub = t.TypeVar("Pub")
from .functions.keypair import KeyPair
class HandshakeState(t.Generic[Priv, Pub]):
s: KeyPair[Priv, Pub]
e: KeyPair[Priv, Pub]
rs: KeyPair[Priv, Pub]
re: KeyPair[Priv, Pub]