1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 14:08:11 +00:00
trezor-firmware/firmware/protob/messages.options

270 lines
7.5 KiB
Plaintext
Raw Normal View History

2018-05-21 14:33:41 +00:00
Initialize.state max_size:64
2018-02-20 16:31:45 +00:00
2018-05-21 14:33:41 +00:00
Features.vendor max_size:33
Features.device_id max_size:25
Features.language max_size:17
Features.label max_size:33
Features.revision max_size:20
Features.bootloader_hash max_size:32
Features.model max_size:17
Features.fw_vendor max_size:256
Features.fw_vendor_keys max_size:32
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
ApplySettings.language max_size:17
ApplySettings.label max_size:33
ApplySettings.homescreen max_size:1024
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
Ping.message max_size:256
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
Success.message max_size:256
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
Failure.message max_size:256
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
ButtonRequest.data max_size:256
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
PinMatrixAck.pin max_size:10
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
PassphraseAck.passphrase max_size:51
PassphraseAck.state max_size:64
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
PassphraseStateRequest.state max_size:64
2018-03-03 21:22:45 +00:00
2018-05-21 14:33:41 +00:00
Entropy.entropy max_size:1024
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
GetPublicKey.address_n max_count:8
GetPublicKey.ecdsa_curve_name max_size:32
GetPublicKey.coin_name max_size:21
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
PublicKey.xpub max_size:113
2014-08-07 19:53:55 +00:00
2018-05-21 14:33:41 +00:00
GetAddress.address_n max_count:8
GetAddress.coin_name max_size:21
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
Address.address max_size:130
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
EthereumGetAddress.address_n max_count:8
EthereumAddress.address max_size:20
2018-05-21 14:33:41 +00:00
LoadDevice.mnemonic max_size:241
LoadDevice.pin max_size:10
LoadDevice.language max_size:17
LoadDevice.label max_size:33
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
ResetDevice.language max_size:17
ResetDevice.label max_size:33
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
EntropyAck.entropy max_size:128
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
RecoveryDevice.language max_size:17
RecoveryDevice.label max_size:33
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
WordAck.word max_size:12
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
SignMessage.address_n max_count:8
SignMessage.message max_size:1024
SignMessage.coin_name max_size:21
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
VerifyMessage.address max_size:130
VerifyMessage.signature max_size:65
VerifyMessage.message max_size:1024
VerifyMessage.coin_name max_size:21
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
MessageSignature.address max_size:130
MessageSignature.signature max_size:65
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
EthereumSignMessage.address_n max_count:8
EthereumSignMessage.message max_size:1024
2018-05-21 14:33:41 +00:00
EthereumVerifyMessage.address max_size:20
EthereumVerifyMessage.signature max_size:65
EthereumVerifyMessage.message max_size:1024
2018-05-21 14:33:41 +00:00
EthereumMessageSignature.address max_size:20
EthereumMessageSignature.signature max_size:65
# deprecated
2018-05-21 14:33:41 +00:00
EncryptMessage skip_message:true
# EncryptMessage.pubkey max_size:33
# EncryptMessage.message max_size:1024
# EncryptMessage.address_n max_count:8
# EncryptMessage.coin_name max_size:21
# deprecated
2018-05-21 14:33:41 +00:00
EncryptedMessage skip_message:true
# EncryptedMessage.nonce max_size:33
# EncryptedMessage.message max_size:1120
# EncryptedMessage.hmac max_size:8
# deprecated
2018-05-21 14:33:41 +00:00
DecryptMessage skip_message:true
# DecryptMessage.address_n max_count:8
# DecryptMessage.nonce max_size:33
# DecryptMessage.message max_size:1120 # 1 + 9 + 1024 + 21 + 65
# DecryptMessage.hmac max_size:8
# deprecated
2018-05-21 14:33:41 +00:00
DecryptedMessage skip_message:true
# DecryptedMessage.address max_size:130
# DecryptedMessage.message max_size:1024
2018-05-21 14:33:41 +00:00
CipherKeyValue.address_n max_count:8
CipherKeyValue.key max_size:256
CipherKeyValue.value max_size:1024
CipherKeyValue.iv max_size:16
2014-06-05 21:45:01 +00:00
2018-05-21 14:33:41 +00:00
CipheredKeyValue.value max_size:1024
2017-06-28 16:49:44 +00:00
# deprecated
2018-05-21 14:33:41 +00:00
EstimateTxSize skip_message:true
# EstimateTxSize.coin_name max_size:21
2017-06-28 16:49:44 +00:00
# deprecated
2018-05-21 14:33:41 +00:00
TxSize skip_message:true
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
SignTx.coin_name max_size:21
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
EthereumSignTx.address_n max_count:8
EthereumSignTx.nonce max_size:32
EthereumSignTx.gas_price max_size:32
EthereumSignTx.gas_limit max_size:32
EthereumSignTx.to max_size:20
EthereumSignTx.value max_size:32
EthereumSignTx.data_initial_chunk max_size:1024
2018-05-21 14:33:41 +00:00
EthereumTxRequest.signature_r max_size:32
EthereumTxRequest.signature_s max_size:32
2018-05-21 14:33:41 +00:00
EthereumTxAck.data_chunk max_size:1024
2018-05-21 14:33:41 +00:00
SignIdentity.challenge_hidden max_size:256
SignIdentity.challenge_visual max_size:256
SignIdentity.ecdsa_curve_name max_size:32
2015-02-20 18:01:45 +00:00
2018-05-21 14:33:41 +00:00
SignedIdentity.address max_size:130
SignedIdentity.public_key max_size:33
SignedIdentity.signature max_size:65
2015-02-20 18:01:45 +00:00
2018-05-21 14:33:41 +00:00
GetECDHSessionKey.peer_public_key max_size:65
GetECDHSessionKey.ecdsa_curve_name max_size:32
2016-06-11 19:20:38 +00:00
2018-05-21 14:33:41 +00:00
ECDHSessionKey.session_key max_size:65
2016-06-11 19:20:38 +00:00
2018-05-21 14:33:41 +00:00
NEMGetAddress.address_n max_count:8
2017-05-29 13:57:14 +00:00
2018-05-21 14:33:41 +00:00
NEMAddress.address max_size:41
2017-05-29 13:57:14 +00:00
2018-05-21 14:33:41 +00:00
NEMSignedTx.data max_size:2048
NEMSignedTx.signature max_size:64
2017-05-29 13:57:14 +00:00
2018-05-21 14:33:41 +00:00
NEMDecryptMessage.address_n max_count:8
NEMDecryptMessage.public_key max_size:32
NEMDecryptMessage.payload max_size:1072
2017-12-16 19:15:54 +00:00
2018-05-21 14:33:41 +00:00
NEMDecryptedMessage.payload max_size:1024
2017-12-16 19:15:54 +00:00
2018-05-21 14:33:41 +00:00
CosiCommit.address_n max_count:8
CosiCommit.data max_size:32
2017-10-03 11:11:53 +00:00
2018-05-21 14:33:41 +00:00
CosiCommitment.commitment max_size:32
CosiCommitment.pubkey max_size:32
2017-10-03 11:11:53 +00:00
2018-05-21 14:33:41 +00:00
CosiSign.address_n max_count:8
CosiSign.data max_size:32
CosiSign.global_commitment max_size:32
CosiSign.global_pubkey max_size:32
2017-10-03 11:11:53 +00:00
2018-05-21 14:33:41 +00:00
CosiSignature.signature max_size:32
2018-04-06 21:45:32 +00:00
# Stellar
StellarGetAddress.address_n max_count:10
StellarAddress.address max_size:57
2018-05-21 14:33:41 +00:00
StellarGetPublicKey.address_n max_count:10
2018-04-06 21:45:32 +00:00
2018-05-21 14:33:41 +00:00
StellarPublicKey.public_key max_size:32
2018-04-06 21:45:32 +00:00
2018-05-21 14:33:41 +00:00
StellarSignTx.address_n max_count:10
StellarSignTx.network_passphrase max_size:1024
StellarSignTx.source_account max_size:57
2018-05-21 14:33:41 +00:00
StellarSignTx.memo_text max_size:29
StellarSignTx.memo_hash max_size:32
2018-04-06 21:45:32 +00:00
StellarPaymentOp.source_account max_size:57
StellarPaymentOp.destination_account max_size:57
2018-04-06 21:45:32 +00:00
StellarCreateAccountOp.source_account max_size:57
StellarCreateAccountOp.new_account max_size:57
2018-04-06 21:45:32 +00:00
StellarPathPaymentOp.source_account max_size:57
StellarPathPaymentOp.destination_account max_size:57
2018-05-21 14:33:41 +00:00
StellarPathPaymentOp.paths max_count:5
2018-04-06 21:45:32 +00:00
StellarManageOfferOp.source_account max_size:57
2018-04-06 21:45:32 +00:00
StellarCreatePassiveOfferOp.source_account max_size:57
2018-04-06 21:45:32 +00:00
StellarSetOptionsOp.source_account max_size:57
StellarSetOptionsOp.inflation_destination_account max_size:57
2018-05-21 14:33:41 +00:00
StellarSetOptionsOp.home_domain max_size:33
StellarSetOptionsOp.signer_key max_size:32
2018-04-06 21:45:32 +00:00
StellarChangeTrustOp.source_account max_size:57
2018-04-06 21:45:32 +00:00
StellarAllowTrustOp.source_account max_size:57
StellarAllowTrustOp.trusted_account max_size:57
2018-05-21 14:33:41 +00:00
StellarAllowTrustOp.asset_code max_size:13
2018-04-06 21:45:32 +00:00
StellarAccountMergeOp.source_account max_size:57
StellarAccountMergeOp.destination_account max_size:57
2018-04-06 21:45:32 +00:00
StellarManageDataOp.source_account max_size:57
2018-05-21 14:33:41 +00:00
StellarManageDataOp.key max_size:65
StellarManageDataOp.value max_size:65
2018-04-06 21:45:32 +00:00
StellarBumpSequenceOp.source_account max_size:57
2018-04-06 21:45:32 +00:00
2018-05-21 14:33:41 +00:00
StellarSignedTx.public_key max_size:32
StellarSignedTx.signature max_size:64 # ed25519 signatures are 64 bytes, this does not include the hint
2018-04-06 21:45:32 +00:00
# deprecated
2018-05-21 14:33:41 +00:00
SimpleSignTx skip_message:true
# not used in firmware, just in bootloader
2018-05-21 14:33:41 +00:00
FirmwareErase skip_message:true
FirmwareRequest skip_message:true
FirmwareUpload skip_message:true
SelfTest skip_message:true
# Lisk will be supported later
LiskGetAddress skip_message:true
LiskSignTx skip_message:true
LiskGetPublicKey skip_message:true
LiskAddress skip_message:true
LiskSignedTx skip_message:true
LiskPublicKey skip_message:true
LiskSignMessage skip_message:true
LiskMessageSignature skip_message:true
LiskVerifyMessage skip_message:true
2014-04-29 12:26:51 +00:00
# used only in debug firmware
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
DebugLinkDecision.input max_size:33
2018-05-21 14:33:41 +00:00
DebugLinkState.layout max_size:1024
DebugLinkState.pin max_size:10
DebugLinkState.matrix max_size:10
DebugLinkState.mnemonic max_size:241
DebugLinkState.reset_word max_size:12
DebugLinkState.reset_entropy max_size:128
DebugLinkState.recovery_fake_word max_size:12
2014-04-29 12:26:51 +00:00
2018-05-21 14:33:41 +00:00
DebugLinkLog.bucket max_size:33
DebugLinkLog.text max_size:256
2016-05-26 18:27:40 +00:00
2018-05-21 14:33:41 +00:00
DebugLinkMemory.memory max_size:1024
DebugLinkMemoryWrite.memory max_size:1024