1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-29 22:45:44 +00:00
trezor-firmware/src/trezor/messages/EncryptedMessage.py
2016-10-03 15:41:38 +02:00

9 lines
280 B
Python

# Automatically generated by pb2py
import protobuf as p
from micropython import const
t = p.MessageType('EncryptedMessage')
t.wire_type = const(50)
t.add_field(1, 'nonce', p.BytesType)
t.add_field(2, 'message', p.BytesType)
t.add_field(3, 'hmac', p.BytesType)
EncryptedMessage = t