mirror of
https://github.com/trezor/trezor-firmware.git
synced 2026-03-03 14:06:40 +01:00
Co-authored-by: M1nd3r <petrsedlacek.km@seznam.cz> Co-authored-by: Roman Zeyde <roman.zeyde@satoshilabs.com> [no changelog]
13 lines
259 B
Python
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]
|