mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-15 19:18:11 +00:00
28 lines
559 B
Python
28 lines
559 B
Python
# Automatically generated by pb2py
|
|
# fmt: off
|
|
import protobuf as p
|
|
|
|
if __debug__:
|
|
try:
|
|
from typing import Dict, List, Optional # noqa: F401
|
|
from typing_extensions import Literal # noqa: F401
|
|
except ImportError:
|
|
pass
|
|
|
|
|
|
class Entropy(p.MessageType):
|
|
MESSAGE_WIRE_TYPE = 10
|
|
|
|
def __init__(
|
|
self,
|
|
*,
|
|
entropy: bytes,
|
|
) -> None:
|
|
self.entropy = entropy
|
|
|
|
@classmethod
|
|
def get_fields(cls) -> Dict:
|
|
return {
|
|
1: ('entropy', p.BytesType, p.FLAG_REQUIRED),
|
|
}
|