mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-25 15:58:08 +00:00
6efe4e4418
drop `from future import` in __init__.py, import just the name, not *
16 lines
451 B
Python
16 lines
451 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
|
|
|
|
class CipherKeyValue(p.MessageType):
|
|
FIELDS = {
|
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
|
2: ('key', p.UnicodeType, 0),
|
|
3: ('value', p.BytesType, 0),
|
|
4: ('encrypt', p.BoolType, 0),
|
|
5: ('ask_on_encrypt', p.BoolType, 0),
|
|
6: ('ask_on_decrypt', p.BoolType, 0),
|
|
7: ('iv', p.BytesType, 0),
|
|
}
|
|
MESSAGE_WIRE_TYPE = 23
|