@@ -157,12 +157,16 @@ pub struct DeviceInfoResponse {
157157 pub mnemonic_passphrase_enabled : bool ,
158158 #[ prost( uint32, tag = "5" ) ]
159159 pub monotonic_increments_remaining : u32 ,
160- /// From v9.6.0: "ATECC608A" or "ATECC608B".
160+ /// From v9.6.0: "ATECC608A" or "ATECC608B" or "OPTIGA_TRUST_M_V3" .
161161 #[ prost( string, tag = "6" ) ]
162162 pub securechip_model : :: prost:: alloc:: string:: String ,
163163 /// Only present in Bluetooth-enabled devices.
164164 #[ prost( message, optional, tag = "7" ) ]
165165 pub bluetooth : :: core:: option:: Option < device_info_response:: Bluetooth > ,
166+ /// From v9.25.0. This together with `securechip_model` determines the password stretching
167+ /// algorithm.
168+ #[ prost( string, tag = "8" ) ]
169+ pub password_stretching_algo : :: prost:: alloc:: string:: String ,
166170}
167171/// Nested message and enum types in `DeviceInfoResponse`.
168172pub mod device_info_response {
@@ -1706,6 +1710,9 @@ pub struct EthSignRequest {
17061710 pub chain_id : u64 ,
17071711 #[ prost( enumeration = "EthAddressCase" , tag = "11" ) ]
17081712 pub address_case : i32 ,
1713+ /// For streaming: if non-zero, data field should be empty and data will be requested in chunks
1714+ #[ prost( uint32, tag = "12" ) ]
1715+ pub data_length : u32 ,
17091716}
17101717/// TX payload for an EIP-1559 (type 2) transaction: <https://eips.ethereum.org/EIPS/eip-1559>
17111718#[ cfg_attr( feature = "wasm" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
@@ -1744,6 +1751,25 @@ pub struct EthSignEip1559Request {
17441751 pub host_nonce_commitment : :: core:: option:: Option < AntiKleptoHostNonceCommitment > ,
17451752 #[ prost( enumeration = "EthAddressCase" , tag = "11" ) ]
17461753 pub address_case : i32 ,
1754+ /// For streaming: if non-zero, data field should be empty and data will be requested in chunks
1755+ #[ prost( uint32, tag = "12" ) ]
1756+ pub data_length : u32 ,
1757+ }
1758+ #[ cfg_attr( feature = "wasm" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
1759+ #[ cfg_attr( feature = "wasm" , serde( rename_all = "camelCase" ) ) ]
1760+ #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
1761+ pub struct EthSignDataRequestChunkResponse {
1762+ #[ prost( uint32, tag = "1" ) ]
1763+ pub offset : u32 ,
1764+ #[ prost( uint32, tag = "2" ) ]
1765+ pub length : u32 ,
1766+ }
1767+ #[ cfg_attr( feature = "wasm" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
1768+ #[ cfg_attr( feature = "wasm" , serde( rename_all = "camelCase" ) ) ]
1769+ #[ derive( Clone , PartialEq , :: prost:: Message ) ]
1770+ pub struct EthSignDataResponseChunkRequest {
1771+ #[ prost( bytes = "vec" , tag = "1" ) ]
1772+ pub chunk : :: prost:: alloc:: vec:: Vec < u8 > ,
17471773}
17481774#[ cfg_attr( feature = "wasm" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
17491775#[ cfg_attr( feature = "wasm" , serde( rename_all = "camelCase" ) ) ]
@@ -1952,7 +1978,7 @@ pub struct EthTypedMessageValueRequest {
19521978#[ cfg_attr( feature = "wasm" , serde( rename_all = "camelCase" ) ) ]
19531979#[ derive( Clone , PartialEq , :: prost:: Message ) ]
19541980pub struct EthRequest {
1955- #[ prost( oneof = "eth_request::Request" , tags = "1, 2, 3, 4, 5, 6, 7" ) ]
1981+ #[ prost( oneof = "eth_request::Request" , tags = "1, 2, 3, 4, 5, 6, 7, 8 " ) ]
19561982 pub request : :: core:: option:: Option < eth_request:: Request > ,
19571983}
19581984/// Nested message and enum types in `ETHRequest`.
@@ -1975,13 +2001,15 @@ pub mod eth_request {
19752001 TypedMsgValue ( super :: EthTypedMessageValueRequest ) ,
19762002 #[ prost( message, tag = "7" ) ]
19772003 SignEip1559 ( super :: EthSignEip1559Request ) ,
2004+ #[ prost( message, tag = "8" ) ]
2005+ DataResponseChunk ( super :: EthSignDataResponseChunkRequest ) ,
19782006 }
19792007}
19802008#[ cfg_attr( feature = "wasm" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
19812009#[ cfg_attr( feature = "wasm" , serde( rename_all = "camelCase" ) ) ]
19822010#[ derive( Clone , PartialEq , :: prost:: Message ) ]
19832011pub struct EthResponse {
1984- #[ prost( oneof = "eth_response::Response" , tags = "1, 2, 3, 4" ) ]
2012+ #[ prost( oneof = "eth_response::Response" , tags = "1, 2, 3, 4, 5 " ) ]
19852013 pub response : :: core:: option:: Option < eth_response:: Response > ,
19862014}
19872015/// Nested message and enum types in `ETHResponse`.
@@ -1998,6 +2026,8 @@ pub mod eth_response {
19982026 AntikleptoSignerCommitment ( super :: AntiKleptoSignerCommitment ) ,
19992027 #[ prost( message, tag = "4" ) ]
20002028 TypedMsgValue ( super :: EthTypedMessageValueResponse ) ,
2029+ #[ prost( message, tag = "5" ) ]
2030+ DataRequestChunk ( super :: EthSignDataRequestChunkResponse ) ,
20012031 }
20022032}
20032033/// Kept for backwards compatibility. Use chain_id instead, introduced in v9.10.0.
0 commit comments