messages-management.pb.go 57 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: messages-management.proto
  3. package trezor
  4. import (
  5. fmt "fmt"
  6. math "math"
  7. proto "github.com/golang/protobuf/proto"
  8. )
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  18. //*
  19. // Structure representing passphrase source
  20. type ApplySettings_PassphraseSourceType int32
  21. const (
  22. ApplySettings_ASK ApplySettings_PassphraseSourceType = 0
  23. ApplySettings_DEVICE ApplySettings_PassphraseSourceType = 1
  24. ApplySettings_HOST ApplySettings_PassphraseSourceType = 2
  25. )
  26. var ApplySettings_PassphraseSourceType_name = map[int32]string{
  27. 0: "ASK",
  28. 1: "DEVICE",
  29. 2: "HOST",
  30. }
  31. var ApplySettings_PassphraseSourceType_value = map[string]int32{
  32. "ASK": 0,
  33. "DEVICE": 1,
  34. "HOST": 2,
  35. }
  36. func (x ApplySettings_PassphraseSourceType) Enum() *ApplySettings_PassphraseSourceType {
  37. p := new(ApplySettings_PassphraseSourceType)
  38. *p = x
  39. return p
  40. }
  41. func (x ApplySettings_PassphraseSourceType) String() string {
  42. return proto.EnumName(ApplySettings_PassphraseSourceType_name, int32(x))
  43. }
  44. func (x *ApplySettings_PassphraseSourceType) UnmarshalJSON(data []byte) error {
  45. value, err := proto.UnmarshalJSONEnum(ApplySettings_PassphraseSourceType_value, data, "ApplySettings_PassphraseSourceType")
  46. if err != nil {
  47. return err
  48. }
  49. *x = ApplySettings_PassphraseSourceType(value)
  50. return nil
  51. }
  52. func (ApplySettings_PassphraseSourceType) EnumDescriptor() ([]byte, []int) {
  53. return fileDescriptor_0c720c20d27aa029, []int{4, 0}
  54. }
  55. //*
  56. // Type of recovery procedure. These should be used as bitmask, e.g.,
  57. // `RecoveryDeviceType_ScrambledWords | RecoveryDeviceType_Matrix`
  58. // listing every method supported by the host computer.
  59. //
  60. // Note that ScrambledWords must be supported by every implementation
  61. // for backward compatibility; there is no way to not support it.
  62. type RecoveryDevice_RecoveryDeviceType int32
  63. const (
  64. // use powers of two when extending this field
  65. RecoveryDevice_RecoveryDeviceType_ScrambledWords RecoveryDevice_RecoveryDeviceType = 0
  66. RecoveryDevice_RecoveryDeviceType_Matrix RecoveryDevice_RecoveryDeviceType = 1
  67. )
  68. var RecoveryDevice_RecoveryDeviceType_name = map[int32]string{
  69. 0: "RecoveryDeviceType_ScrambledWords",
  70. 1: "RecoveryDeviceType_Matrix",
  71. }
  72. var RecoveryDevice_RecoveryDeviceType_value = map[string]int32{
  73. "RecoveryDeviceType_ScrambledWords": 0,
  74. "RecoveryDeviceType_Matrix": 1,
  75. }
  76. func (x RecoveryDevice_RecoveryDeviceType) Enum() *RecoveryDevice_RecoveryDeviceType {
  77. p := new(RecoveryDevice_RecoveryDeviceType)
  78. *p = x
  79. return p
  80. }
  81. func (x RecoveryDevice_RecoveryDeviceType) String() string {
  82. return proto.EnumName(RecoveryDevice_RecoveryDeviceType_name, int32(x))
  83. }
  84. func (x *RecoveryDevice_RecoveryDeviceType) UnmarshalJSON(data []byte) error {
  85. value, err := proto.UnmarshalJSONEnum(RecoveryDevice_RecoveryDeviceType_value, data, "RecoveryDevice_RecoveryDeviceType")
  86. if err != nil {
  87. return err
  88. }
  89. *x = RecoveryDevice_RecoveryDeviceType(value)
  90. return nil
  91. }
  92. func (RecoveryDevice_RecoveryDeviceType) EnumDescriptor() ([]byte, []int) {
  93. return fileDescriptor_0c720c20d27aa029, []int{17, 0}
  94. }
  95. //*
  96. // Type of Recovery Word request
  97. type WordRequest_WordRequestType int32
  98. const (
  99. WordRequest_WordRequestType_Plain WordRequest_WordRequestType = 0
  100. WordRequest_WordRequestType_Matrix9 WordRequest_WordRequestType = 1
  101. WordRequest_WordRequestType_Matrix6 WordRequest_WordRequestType = 2
  102. )
  103. var WordRequest_WordRequestType_name = map[int32]string{
  104. 0: "WordRequestType_Plain",
  105. 1: "WordRequestType_Matrix9",
  106. 2: "WordRequestType_Matrix6",
  107. }
  108. var WordRequest_WordRequestType_value = map[string]int32{
  109. "WordRequestType_Plain": 0,
  110. "WordRequestType_Matrix9": 1,
  111. "WordRequestType_Matrix6": 2,
  112. }
  113. func (x WordRequest_WordRequestType) Enum() *WordRequest_WordRequestType {
  114. p := new(WordRequest_WordRequestType)
  115. *p = x
  116. return p
  117. }
  118. func (x WordRequest_WordRequestType) String() string {
  119. return proto.EnumName(WordRequest_WordRequestType_name, int32(x))
  120. }
  121. func (x *WordRequest_WordRequestType) UnmarshalJSON(data []byte) error {
  122. value, err := proto.UnmarshalJSONEnum(WordRequest_WordRequestType_value, data, "WordRequest_WordRequestType")
  123. if err != nil {
  124. return err
  125. }
  126. *x = WordRequest_WordRequestType(value)
  127. return nil
  128. }
  129. func (WordRequest_WordRequestType) EnumDescriptor() ([]byte, []int) {
  130. return fileDescriptor_0c720c20d27aa029, []int{18, 0}
  131. }
  132. //*
  133. // Request: Reset device to default state and ask for device details
  134. // @start
  135. // @next Features
  136. type Initialize struct {
  137. State []byte `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"`
  138. SkipPassphrase *bool `protobuf:"varint,2,opt,name=skip_passphrase,json=skipPassphrase" json:"skip_passphrase,omitempty"`
  139. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  140. XXX_unrecognized []byte `json:"-"`
  141. XXX_sizecache int32 `json:"-"`
  142. }
  143. func (m *Initialize) Reset() { *m = Initialize{} }
  144. func (m *Initialize) String() string { return proto.CompactTextString(m) }
  145. func (*Initialize) ProtoMessage() {}
  146. func (*Initialize) Descriptor() ([]byte, []int) {
  147. return fileDescriptor_0c720c20d27aa029, []int{0}
  148. }
  149. func (m *Initialize) XXX_Unmarshal(b []byte) error {
  150. return xxx_messageInfo_Initialize.Unmarshal(m, b)
  151. }
  152. func (m *Initialize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  153. return xxx_messageInfo_Initialize.Marshal(b, m, deterministic)
  154. }
  155. func (m *Initialize) XXX_Merge(src proto.Message) {
  156. xxx_messageInfo_Initialize.Merge(m, src)
  157. }
  158. func (m *Initialize) XXX_Size() int {
  159. return xxx_messageInfo_Initialize.Size(m)
  160. }
  161. func (m *Initialize) XXX_DiscardUnknown() {
  162. xxx_messageInfo_Initialize.DiscardUnknown(m)
  163. }
  164. var xxx_messageInfo_Initialize proto.InternalMessageInfo
  165. func (m *Initialize) GetState() []byte {
  166. if m != nil {
  167. return m.State
  168. }
  169. return nil
  170. }
  171. func (m *Initialize) GetSkipPassphrase() bool {
  172. if m != nil && m.SkipPassphrase != nil {
  173. return *m.SkipPassphrase
  174. }
  175. return false
  176. }
  177. //*
  178. // Request: Ask for device details (no device reset)
  179. // @start
  180. // @next Features
  181. type GetFeatures struct {
  182. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  183. XXX_unrecognized []byte `json:"-"`
  184. XXX_sizecache int32 `json:"-"`
  185. }
  186. func (m *GetFeatures) Reset() { *m = GetFeatures{} }
  187. func (m *GetFeatures) String() string { return proto.CompactTextString(m) }
  188. func (*GetFeatures) ProtoMessage() {}
  189. func (*GetFeatures) Descriptor() ([]byte, []int) {
  190. return fileDescriptor_0c720c20d27aa029, []int{1}
  191. }
  192. func (m *GetFeatures) XXX_Unmarshal(b []byte) error {
  193. return xxx_messageInfo_GetFeatures.Unmarshal(m, b)
  194. }
  195. func (m *GetFeatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  196. return xxx_messageInfo_GetFeatures.Marshal(b, m, deterministic)
  197. }
  198. func (m *GetFeatures) XXX_Merge(src proto.Message) {
  199. xxx_messageInfo_GetFeatures.Merge(m, src)
  200. }
  201. func (m *GetFeatures) XXX_Size() int {
  202. return xxx_messageInfo_GetFeatures.Size(m)
  203. }
  204. func (m *GetFeatures) XXX_DiscardUnknown() {
  205. xxx_messageInfo_GetFeatures.DiscardUnknown(m)
  206. }
  207. var xxx_messageInfo_GetFeatures proto.InternalMessageInfo
  208. //*
  209. // Response: Reports various information about the device
  210. // @end
  211. type Features struct {
  212. Vendor *string `protobuf:"bytes,1,opt,name=vendor" json:"vendor,omitempty"`
  213. MajorVersion *uint32 `protobuf:"varint,2,opt,name=major_version,json=majorVersion" json:"major_version,omitempty"`
  214. MinorVersion *uint32 `protobuf:"varint,3,opt,name=minor_version,json=minorVersion" json:"minor_version,omitempty"`
  215. PatchVersion *uint32 `protobuf:"varint,4,opt,name=patch_version,json=patchVersion" json:"patch_version,omitempty"`
  216. BootloaderMode *bool `protobuf:"varint,5,opt,name=bootloader_mode,json=bootloaderMode" json:"bootloader_mode,omitempty"`
  217. DeviceId *string `protobuf:"bytes,6,opt,name=device_id,json=deviceId" json:"device_id,omitempty"`
  218. PinProtection *bool `protobuf:"varint,7,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
  219. PassphraseProtection *bool `protobuf:"varint,8,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
  220. Language *string `protobuf:"bytes,9,opt,name=language" json:"language,omitempty"`
  221. Label *string `protobuf:"bytes,10,opt,name=label" json:"label,omitempty"`
  222. Initialized *bool `protobuf:"varint,12,opt,name=initialized" json:"initialized,omitempty"`
  223. Revision []byte `protobuf:"bytes,13,opt,name=revision" json:"revision,omitempty"`
  224. BootloaderHash []byte `protobuf:"bytes,14,opt,name=bootloader_hash,json=bootloaderHash" json:"bootloader_hash,omitempty"`
  225. Imported *bool `protobuf:"varint,15,opt,name=imported" json:"imported,omitempty"`
  226. PinCached *bool `protobuf:"varint,16,opt,name=pin_cached,json=pinCached" json:"pin_cached,omitempty"`
  227. PassphraseCached *bool `protobuf:"varint,17,opt,name=passphrase_cached,json=passphraseCached" json:"passphrase_cached,omitempty"`
  228. FirmwarePresent *bool `protobuf:"varint,18,opt,name=firmware_present,json=firmwarePresent" json:"firmware_present,omitempty"`
  229. NeedsBackup *bool `protobuf:"varint,19,opt,name=needs_backup,json=needsBackup" json:"needs_backup,omitempty"`
  230. Flags *uint32 `protobuf:"varint,20,opt,name=flags" json:"flags,omitempty"`
  231. Model *string `protobuf:"bytes,21,opt,name=model" json:"model,omitempty"`
  232. FwMajor *uint32 `protobuf:"varint,22,opt,name=fw_major,json=fwMajor" json:"fw_major,omitempty"`
  233. FwMinor *uint32 `protobuf:"varint,23,opt,name=fw_minor,json=fwMinor" json:"fw_minor,omitempty"`
  234. FwPatch *uint32 `protobuf:"varint,24,opt,name=fw_patch,json=fwPatch" json:"fw_patch,omitempty"`
  235. FwVendor *string `protobuf:"bytes,25,opt,name=fw_vendor,json=fwVendor" json:"fw_vendor,omitempty"`
  236. FwVendorKeys []byte `protobuf:"bytes,26,opt,name=fw_vendor_keys,json=fwVendorKeys" json:"fw_vendor_keys,omitempty"`
  237. UnfinishedBackup *bool `protobuf:"varint,27,opt,name=unfinished_backup,json=unfinishedBackup" json:"unfinished_backup,omitempty"`
  238. NoBackup *bool `protobuf:"varint,28,opt,name=no_backup,json=noBackup" json:"no_backup,omitempty"`
  239. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  240. XXX_unrecognized []byte `json:"-"`
  241. XXX_sizecache int32 `json:"-"`
  242. }
  243. func (m *Features) Reset() { *m = Features{} }
  244. func (m *Features) String() string { return proto.CompactTextString(m) }
  245. func (*Features) ProtoMessage() {}
  246. func (*Features) Descriptor() ([]byte, []int) {
  247. return fileDescriptor_0c720c20d27aa029, []int{2}
  248. }
  249. func (m *Features) XXX_Unmarshal(b []byte) error {
  250. return xxx_messageInfo_Features.Unmarshal(m, b)
  251. }
  252. func (m *Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  253. return xxx_messageInfo_Features.Marshal(b, m, deterministic)
  254. }
  255. func (m *Features) XXX_Merge(src proto.Message) {
  256. xxx_messageInfo_Features.Merge(m, src)
  257. }
  258. func (m *Features) XXX_Size() int {
  259. return xxx_messageInfo_Features.Size(m)
  260. }
  261. func (m *Features) XXX_DiscardUnknown() {
  262. xxx_messageInfo_Features.DiscardUnknown(m)
  263. }
  264. var xxx_messageInfo_Features proto.InternalMessageInfo
  265. func (m *Features) GetVendor() string {
  266. if m != nil && m.Vendor != nil {
  267. return *m.Vendor
  268. }
  269. return ""
  270. }
  271. func (m *Features) GetMajorVersion() uint32 {
  272. if m != nil && m.MajorVersion != nil {
  273. return *m.MajorVersion
  274. }
  275. return 0
  276. }
  277. func (m *Features) GetMinorVersion() uint32 {
  278. if m != nil && m.MinorVersion != nil {
  279. return *m.MinorVersion
  280. }
  281. return 0
  282. }
  283. func (m *Features) GetPatchVersion() uint32 {
  284. if m != nil && m.PatchVersion != nil {
  285. return *m.PatchVersion
  286. }
  287. return 0
  288. }
  289. func (m *Features) GetBootloaderMode() bool {
  290. if m != nil && m.BootloaderMode != nil {
  291. return *m.BootloaderMode
  292. }
  293. return false
  294. }
  295. func (m *Features) GetDeviceId() string {
  296. if m != nil && m.DeviceId != nil {
  297. return *m.DeviceId
  298. }
  299. return ""
  300. }
  301. func (m *Features) GetPinProtection() bool {
  302. if m != nil && m.PinProtection != nil {
  303. return *m.PinProtection
  304. }
  305. return false
  306. }
  307. func (m *Features) GetPassphraseProtection() bool {
  308. if m != nil && m.PassphraseProtection != nil {
  309. return *m.PassphraseProtection
  310. }
  311. return false
  312. }
  313. func (m *Features) GetLanguage() string {
  314. if m != nil && m.Language != nil {
  315. return *m.Language
  316. }
  317. return ""
  318. }
  319. func (m *Features) GetLabel() string {
  320. if m != nil && m.Label != nil {
  321. return *m.Label
  322. }
  323. return ""
  324. }
  325. func (m *Features) GetInitialized() bool {
  326. if m != nil && m.Initialized != nil {
  327. return *m.Initialized
  328. }
  329. return false
  330. }
  331. func (m *Features) GetRevision() []byte {
  332. if m != nil {
  333. return m.Revision
  334. }
  335. return nil
  336. }
  337. func (m *Features) GetBootloaderHash() []byte {
  338. if m != nil {
  339. return m.BootloaderHash
  340. }
  341. return nil
  342. }
  343. func (m *Features) GetImported() bool {
  344. if m != nil && m.Imported != nil {
  345. return *m.Imported
  346. }
  347. return false
  348. }
  349. func (m *Features) GetPinCached() bool {
  350. if m != nil && m.PinCached != nil {
  351. return *m.PinCached
  352. }
  353. return false
  354. }
  355. func (m *Features) GetPassphraseCached() bool {
  356. if m != nil && m.PassphraseCached != nil {
  357. return *m.PassphraseCached
  358. }
  359. return false
  360. }
  361. func (m *Features) GetFirmwarePresent() bool {
  362. if m != nil && m.FirmwarePresent != nil {
  363. return *m.FirmwarePresent
  364. }
  365. return false
  366. }
  367. func (m *Features) GetNeedsBackup() bool {
  368. if m != nil && m.NeedsBackup != nil {
  369. return *m.NeedsBackup
  370. }
  371. return false
  372. }
  373. func (m *Features) GetFlags() uint32 {
  374. if m != nil && m.Flags != nil {
  375. return *m.Flags
  376. }
  377. return 0
  378. }
  379. func (m *Features) GetModel() string {
  380. if m != nil && m.Model != nil {
  381. return *m.Model
  382. }
  383. return ""
  384. }
  385. func (m *Features) GetFwMajor() uint32 {
  386. if m != nil && m.FwMajor != nil {
  387. return *m.FwMajor
  388. }
  389. return 0
  390. }
  391. func (m *Features) GetFwMinor() uint32 {
  392. if m != nil && m.FwMinor != nil {
  393. return *m.FwMinor
  394. }
  395. return 0
  396. }
  397. func (m *Features) GetFwPatch() uint32 {
  398. if m != nil && m.FwPatch != nil {
  399. return *m.FwPatch
  400. }
  401. return 0
  402. }
  403. func (m *Features) GetFwVendor() string {
  404. if m != nil && m.FwVendor != nil {
  405. return *m.FwVendor
  406. }
  407. return ""
  408. }
  409. func (m *Features) GetFwVendorKeys() []byte {
  410. if m != nil {
  411. return m.FwVendorKeys
  412. }
  413. return nil
  414. }
  415. func (m *Features) GetUnfinishedBackup() bool {
  416. if m != nil && m.UnfinishedBackup != nil {
  417. return *m.UnfinishedBackup
  418. }
  419. return false
  420. }
  421. func (m *Features) GetNoBackup() bool {
  422. if m != nil && m.NoBackup != nil {
  423. return *m.NoBackup
  424. }
  425. return false
  426. }
  427. //*
  428. // Request: clear session (removes cached PIN, passphrase, etc).
  429. // @start
  430. // @next Success
  431. type ClearSession struct {
  432. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  433. XXX_unrecognized []byte `json:"-"`
  434. XXX_sizecache int32 `json:"-"`
  435. }
  436. func (m *ClearSession) Reset() { *m = ClearSession{} }
  437. func (m *ClearSession) String() string { return proto.CompactTextString(m) }
  438. func (*ClearSession) ProtoMessage() {}
  439. func (*ClearSession) Descriptor() ([]byte, []int) {
  440. return fileDescriptor_0c720c20d27aa029, []int{3}
  441. }
  442. func (m *ClearSession) XXX_Unmarshal(b []byte) error {
  443. return xxx_messageInfo_ClearSession.Unmarshal(m, b)
  444. }
  445. func (m *ClearSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  446. return xxx_messageInfo_ClearSession.Marshal(b, m, deterministic)
  447. }
  448. func (m *ClearSession) XXX_Merge(src proto.Message) {
  449. xxx_messageInfo_ClearSession.Merge(m, src)
  450. }
  451. func (m *ClearSession) XXX_Size() int {
  452. return xxx_messageInfo_ClearSession.Size(m)
  453. }
  454. func (m *ClearSession) XXX_DiscardUnknown() {
  455. xxx_messageInfo_ClearSession.DiscardUnknown(m)
  456. }
  457. var xxx_messageInfo_ClearSession proto.InternalMessageInfo
  458. //*
  459. // Request: change language and/or label of the device
  460. // @start
  461. // @next Success
  462. // @next Failure
  463. type ApplySettings struct {
  464. Language *string `protobuf:"bytes,1,opt,name=language" json:"language,omitempty"`
  465. Label *string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
  466. UsePassphrase *bool `protobuf:"varint,3,opt,name=use_passphrase,json=usePassphrase" json:"use_passphrase,omitempty"`
  467. Homescreen []byte `protobuf:"bytes,4,opt,name=homescreen" json:"homescreen,omitempty"`
  468. PassphraseSource *ApplySettings_PassphraseSourceType `protobuf:"varint,5,opt,name=passphrase_source,json=passphraseSource,enum=hw.trezor.messages.management.ApplySettings_PassphraseSourceType" json:"passphrase_source,omitempty"`
  469. AutoLockDelayMs *uint32 `protobuf:"varint,6,opt,name=auto_lock_delay_ms,json=autoLockDelayMs" json:"auto_lock_delay_ms,omitempty"`
  470. DisplayRotation *uint32 `protobuf:"varint,7,opt,name=display_rotation,json=displayRotation" json:"display_rotation,omitempty"`
  471. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  472. XXX_unrecognized []byte `json:"-"`
  473. XXX_sizecache int32 `json:"-"`
  474. }
  475. func (m *ApplySettings) Reset() { *m = ApplySettings{} }
  476. func (m *ApplySettings) String() string { return proto.CompactTextString(m) }
  477. func (*ApplySettings) ProtoMessage() {}
  478. func (*ApplySettings) Descriptor() ([]byte, []int) {
  479. return fileDescriptor_0c720c20d27aa029, []int{4}
  480. }
  481. func (m *ApplySettings) XXX_Unmarshal(b []byte) error {
  482. return xxx_messageInfo_ApplySettings.Unmarshal(m, b)
  483. }
  484. func (m *ApplySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  485. return xxx_messageInfo_ApplySettings.Marshal(b, m, deterministic)
  486. }
  487. func (m *ApplySettings) XXX_Merge(src proto.Message) {
  488. xxx_messageInfo_ApplySettings.Merge(m, src)
  489. }
  490. func (m *ApplySettings) XXX_Size() int {
  491. return xxx_messageInfo_ApplySettings.Size(m)
  492. }
  493. func (m *ApplySettings) XXX_DiscardUnknown() {
  494. xxx_messageInfo_ApplySettings.DiscardUnknown(m)
  495. }
  496. var xxx_messageInfo_ApplySettings proto.InternalMessageInfo
  497. func (m *ApplySettings) GetLanguage() string {
  498. if m != nil && m.Language != nil {
  499. return *m.Language
  500. }
  501. return ""
  502. }
  503. func (m *ApplySettings) GetLabel() string {
  504. if m != nil && m.Label != nil {
  505. return *m.Label
  506. }
  507. return ""
  508. }
  509. func (m *ApplySettings) GetUsePassphrase() bool {
  510. if m != nil && m.UsePassphrase != nil {
  511. return *m.UsePassphrase
  512. }
  513. return false
  514. }
  515. func (m *ApplySettings) GetHomescreen() []byte {
  516. if m != nil {
  517. return m.Homescreen
  518. }
  519. return nil
  520. }
  521. func (m *ApplySettings) GetPassphraseSource() ApplySettings_PassphraseSourceType {
  522. if m != nil && m.PassphraseSource != nil {
  523. return *m.PassphraseSource
  524. }
  525. return ApplySettings_ASK
  526. }
  527. func (m *ApplySettings) GetAutoLockDelayMs() uint32 {
  528. if m != nil && m.AutoLockDelayMs != nil {
  529. return *m.AutoLockDelayMs
  530. }
  531. return 0
  532. }
  533. func (m *ApplySettings) GetDisplayRotation() uint32 {
  534. if m != nil && m.DisplayRotation != nil {
  535. return *m.DisplayRotation
  536. }
  537. return 0
  538. }
  539. //*
  540. // Request: set flags of the device
  541. // @start
  542. // @next Success
  543. // @next Failure
  544. type ApplyFlags struct {
  545. Flags *uint32 `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"`
  546. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  547. XXX_unrecognized []byte `json:"-"`
  548. XXX_sizecache int32 `json:"-"`
  549. }
  550. func (m *ApplyFlags) Reset() { *m = ApplyFlags{} }
  551. func (m *ApplyFlags) String() string { return proto.CompactTextString(m) }
  552. func (*ApplyFlags) ProtoMessage() {}
  553. func (*ApplyFlags) Descriptor() ([]byte, []int) {
  554. return fileDescriptor_0c720c20d27aa029, []int{5}
  555. }
  556. func (m *ApplyFlags) XXX_Unmarshal(b []byte) error {
  557. return xxx_messageInfo_ApplyFlags.Unmarshal(m, b)
  558. }
  559. func (m *ApplyFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  560. return xxx_messageInfo_ApplyFlags.Marshal(b, m, deterministic)
  561. }
  562. func (m *ApplyFlags) XXX_Merge(src proto.Message) {
  563. xxx_messageInfo_ApplyFlags.Merge(m, src)
  564. }
  565. func (m *ApplyFlags) XXX_Size() int {
  566. return xxx_messageInfo_ApplyFlags.Size(m)
  567. }
  568. func (m *ApplyFlags) XXX_DiscardUnknown() {
  569. xxx_messageInfo_ApplyFlags.DiscardUnknown(m)
  570. }
  571. var xxx_messageInfo_ApplyFlags proto.InternalMessageInfo
  572. func (m *ApplyFlags) GetFlags() uint32 {
  573. if m != nil && m.Flags != nil {
  574. return *m.Flags
  575. }
  576. return 0
  577. }
  578. //*
  579. // Request: Starts workflow for setting/changing/removing the PIN
  580. // @start
  581. // @next Success
  582. // @next Failure
  583. type ChangePin struct {
  584. Remove *bool `protobuf:"varint,1,opt,name=remove" json:"remove,omitempty"`
  585. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  586. XXX_unrecognized []byte `json:"-"`
  587. XXX_sizecache int32 `json:"-"`
  588. }
  589. func (m *ChangePin) Reset() { *m = ChangePin{} }
  590. func (m *ChangePin) String() string { return proto.CompactTextString(m) }
  591. func (*ChangePin) ProtoMessage() {}
  592. func (*ChangePin) Descriptor() ([]byte, []int) {
  593. return fileDescriptor_0c720c20d27aa029, []int{6}
  594. }
  595. func (m *ChangePin) XXX_Unmarshal(b []byte) error {
  596. return xxx_messageInfo_ChangePin.Unmarshal(m, b)
  597. }
  598. func (m *ChangePin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  599. return xxx_messageInfo_ChangePin.Marshal(b, m, deterministic)
  600. }
  601. func (m *ChangePin) XXX_Merge(src proto.Message) {
  602. xxx_messageInfo_ChangePin.Merge(m, src)
  603. }
  604. func (m *ChangePin) XXX_Size() int {
  605. return xxx_messageInfo_ChangePin.Size(m)
  606. }
  607. func (m *ChangePin) XXX_DiscardUnknown() {
  608. xxx_messageInfo_ChangePin.DiscardUnknown(m)
  609. }
  610. var xxx_messageInfo_ChangePin proto.InternalMessageInfo
  611. func (m *ChangePin) GetRemove() bool {
  612. if m != nil && m.Remove != nil {
  613. return *m.Remove
  614. }
  615. return false
  616. }
  617. //*
  618. // Request: Test if the device is alive, device sends back the message in Success response
  619. // @start
  620. // @next Success
  621. type Ping struct {
  622. Message *string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
  623. ButtonProtection *bool `protobuf:"varint,2,opt,name=button_protection,json=buttonProtection" json:"button_protection,omitempty"`
  624. PinProtection *bool `protobuf:"varint,3,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
  625. PassphraseProtection *bool `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
  626. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  627. XXX_unrecognized []byte `json:"-"`
  628. XXX_sizecache int32 `json:"-"`
  629. }
  630. func (m *Ping) Reset() { *m = Ping{} }
  631. func (m *Ping) String() string { return proto.CompactTextString(m) }
  632. func (*Ping) ProtoMessage() {}
  633. func (*Ping) Descriptor() ([]byte, []int) {
  634. return fileDescriptor_0c720c20d27aa029, []int{7}
  635. }
  636. func (m *Ping) XXX_Unmarshal(b []byte) error {
  637. return xxx_messageInfo_Ping.Unmarshal(m, b)
  638. }
  639. func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  640. return xxx_messageInfo_Ping.Marshal(b, m, deterministic)
  641. }
  642. func (m *Ping) XXX_Merge(src proto.Message) {
  643. xxx_messageInfo_Ping.Merge(m, src)
  644. }
  645. func (m *Ping) XXX_Size() int {
  646. return xxx_messageInfo_Ping.Size(m)
  647. }
  648. func (m *Ping) XXX_DiscardUnknown() {
  649. xxx_messageInfo_Ping.DiscardUnknown(m)
  650. }
  651. var xxx_messageInfo_Ping proto.InternalMessageInfo
  652. func (m *Ping) GetMessage() string {
  653. if m != nil && m.Message != nil {
  654. return *m.Message
  655. }
  656. return ""
  657. }
  658. func (m *Ping) GetButtonProtection() bool {
  659. if m != nil && m.ButtonProtection != nil {
  660. return *m.ButtonProtection
  661. }
  662. return false
  663. }
  664. func (m *Ping) GetPinProtection() bool {
  665. if m != nil && m.PinProtection != nil {
  666. return *m.PinProtection
  667. }
  668. return false
  669. }
  670. func (m *Ping) GetPassphraseProtection() bool {
  671. if m != nil && m.PassphraseProtection != nil {
  672. return *m.PassphraseProtection
  673. }
  674. return false
  675. }
  676. //*
  677. // Request: Abort last operation that required user interaction
  678. // @start
  679. // @next Failure
  680. type Cancel struct {
  681. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  682. XXX_unrecognized []byte `json:"-"`
  683. XXX_sizecache int32 `json:"-"`
  684. }
  685. func (m *Cancel) Reset() { *m = Cancel{} }
  686. func (m *Cancel) String() string { return proto.CompactTextString(m) }
  687. func (*Cancel) ProtoMessage() {}
  688. func (*Cancel) Descriptor() ([]byte, []int) {
  689. return fileDescriptor_0c720c20d27aa029, []int{8}
  690. }
  691. func (m *Cancel) XXX_Unmarshal(b []byte) error {
  692. return xxx_messageInfo_Cancel.Unmarshal(m, b)
  693. }
  694. func (m *Cancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  695. return xxx_messageInfo_Cancel.Marshal(b, m, deterministic)
  696. }
  697. func (m *Cancel) XXX_Merge(src proto.Message) {
  698. xxx_messageInfo_Cancel.Merge(m, src)
  699. }
  700. func (m *Cancel) XXX_Size() int {
  701. return xxx_messageInfo_Cancel.Size(m)
  702. }
  703. func (m *Cancel) XXX_DiscardUnknown() {
  704. xxx_messageInfo_Cancel.DiscardUnknown(m)
  705. }
  706. var xxx_messageInfo_Cancel proto.InternalMessageInfo
  707. //*
  708. // Request: Request a sample of random data generated by hardware RNG. May be used for testing.
  709. // @start
  710. // @next Entropy
  711. // @next Failure
  712. type GetEntropy struct {
  713. Size *uint32 `protobuf:"varint,1,req,name=size" json:"size,omitempty"`
  714. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  715. XXX_unrecognized []byte `json:"-"`
  716. XXX_sizecache int32 `json:"-"`
  717. }
  718. func (m *GetEntropy) Reset() { *m = GetEntropy{} }
  719. func (m *GetEntropy) String() string { return proto.CompactTextString(m) }
  720. func (*GetEntropy) ProtoMessage() {}
  721. func (*GetEntropy) Descriptor() ([]byte, []int) {
  722. return fileDescriptor_0c720c20d27aa029, []int{9}
  723. }
  724. func (m *GetEntropy) XXX_Unmarshal(b []byte) error {
  725. return xxx_messageInfo_GetEntropy.Unmarshal(m, b)
  726. }
  727. func (m *GetEntropy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  728. return xxx_messageInfo_GetEntropy.Marshal(b, m, deterministic)
  729. }
  730. func (m *GetEntropy) XXX_Merge(src proto.Message) {
  731. xxx_messageInfo_GetEntropy.Merge(m, src)
  732. }
  733. func (m *GetEntropy) XXX_Size() int {
  734. return xxx_messageInfo_GetEntropy.Size(m)
  735. }
  736. func (m *GetEntropy) XXX_DiscardUnknown() {
  737. xxx_messageInfo_GetEntropy.DiscardUnknown(m)
  738. }
  739. var xxx_messageInfo_GetEntropy proto.InternalMessageInfo
  740. func (m *GetEntropy) GetSize() uint32 {
  741. if m != nil && m.Size != nil {
  742. return *m.Size
  743. }
  744. return 0
  745. }
  746. //*
  747. // Response: Reply with random data generated by internal RNG
  748. // @end
  749. type Entropy struct {
  750. Entropy []byte `protobuf:"bytes,1,req,name=entropy" json:"entropy,omitempty"`
  751. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  752. XXX_unrecognized []byte `json:"-"`
  753. XXX_sizecache int32 `json:"-"`
  754. }
  755. func (m *Entropy) Reset() { *m = Entropy{} }
  756. func (m *Entropy) String() string { return proto.CompactTextString(m) }
  757. func (*Entropy) ProtoMessage() {}
  758. func (*Entropy) Descriptor() ([]byte, []int) {
  759. return fileDescriptor_0c720c20d27aa029, []int{10}
  760. }
  761. func (m *Entropy) XXX_Unmarshal(b []byte) error {
  762. return xxx_messageInfo_Entropy.Unmarshal(m, b)
  763. }
  764. func (m *Entropy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  765. return xxx_messageInfo_Entropy.Marshal(b, m, deterministic)
  766. }
  767. func (m *Entropy) XXX_Merge(src proto.Message) {
  768. xxx_messageInfo_Entropy.Merge(m, src)
  769. }
  770. func (m *Entropy) XXX_Size() int {
  771. return xxx_messageInfo_Entropy.Size(m)
  772. }
  773. func (m *Entropy) XXX_DiscardUnknown() {
  774. xxx_messageInfo_Entropy.DiscardUnknown(m)
  775. }
  776. var xxx_messageInfo_Entropy proto.InternalMessageInfo
  777. func (m *Entropy) GetEntropy() []byte {
  778. if m != nil {
  779. return m.Entropy
  780. }
  781. return nil
  782. }
  783. //*
  784. // Request: Request device to wipe all sensitive data and settings
  785. // @start
  786. // @next Success
  787. // @next Failure
  788. type WipeDevice struct {
  789. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  790. XXX_unrecognized []byte `json:"-"`
  791. XXX_sizecache int32 `json:"-"`
  792. }
  793. func (m *WipeDevice) Reset() { *m = WipeDevice{} }
  794. func (m *WipeDevice) String() string { return proto.CompactTextString(m) }
  795. func (*WipeDevice) ProtoMessage() {}
  796. func (*WipeDevice) Descriptor() ([]byte, []int) {
  797. return fileDescriptor_0c720c20d27aa029, []int{11}
  798. }
  799. func (m *WipeDevice) XXX_Unmarshal(b []byte) error {
  800. return xxx_messageInfo_WipeDevice.Unmarshal(m, b)
  801. }
  802. func (m *WipeDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  803. return xxx_messageInfo_WipeDevice.Marshal(b, m, deterministic)
  804. }
  805. func (m *WipeDevice) XXX_Merge(src proto.Message) {
  806. xxx_messageInfo_WipeDevice.Merge(m, src)
  807. }
  808. func (m *WipeDevice) XXX_Size() int {
  809. return xxx_messageInfo_WipeDevice.Size(m)
  810. }
  811. func (m *WipeDevice) XXX_DiscardUnknown() {
  812. xxx_messageInfo_WipeDevice.DiscardUnknown(m)
  813. }
  814. var xxx_messageInfo_WipeDevice proto.InternalMessageInfo
  815. //*
  816. // Request: Load seed and related internal settings from the computer
  817. // @start
  818. // @next Success
  819. // @next Failure
  820. type LoadDevice struct {
  821. Mnemonic *string `protobuf:"bytes,1,opt,name=mnemonic" json:"mnemonic,omitempty"`
  822. Node *HDNodeType `protobuf:"bytes,2,opt,name=node" json:"node,omitempty"`
  823. Pin *string `protobuf:"bytes,3,opt,name=pin" json:"pin,omitempty"`
  824. PassphraseProtection *bool `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
  825. Language *string `protobuf:"bytes,5,opt,name=language,def=english" json:"language,omitempty"`
  826. Label *string `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"`
  827. SkipChecksum *bool `protobuf:"varint,7,opt,name=skip_checksum,json=skipChecksum" json:"skip_checksum,omitempty"`
  828. U2FCounter *uint32 `protobuf:"varint,8,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
  829. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  830. XXX_unrecognized []byte `json:"-"`
  831. XXX_sizecache int32 `json:"-"`
  832. }
  833. func (m *LoadDevice) Reset() { *m = LoadDevice{} }
  834. func (m *LoadDevice) String() string { return proto.CompactTextString(m) }
  835. func (*LoadDevice) ProtoMessage() {}
  836. func (*LoadDevice) Descriptor() ([]byte, []int) {
  837. return fileDescriptor_0c720c20d27aa029, []int{12}
  838. }
  839. func (m *LoadDevice) XXX_Unmarshal(b []byte) error {
  840. return xxx_messageInfo_LoadDevice.Unmarshal(m, b)
  841. }
  842. func (m *LoadDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  843. return xxx_messageInfo_LoadDevice.Marshal(b, m, deterministic)
  844. }
  845. func (m *LoadDevice) XXX_Merge(src proto.Message) {
  846. xxx_messageInfo_LoadDevice.Merge(m, src)
  847. }
  848. func (m *LoadDevice) XXX_Size() int {
  849. return xxx_messageInfo_LoadDevice.Size(m)
  850. }
  851. func (m *LoadDevice) XXX_DiscardUnknown() {
  852. xxx_messageInfo_LoadDevice.DiscardUnknown(m)
  853. }
  854. var xxx_messageInfo_LoadDevice proto.InternalMessageInfo
  855. const Default_LoadDevice_Language string = "english"
  856. func (m *LoadDevice) GetMnemonic() string {
  857. if m != nil && m.Mnemonic != nil {
  858. return *m.Mnemonic
  859. }
  860. return ""
  861. }
  862. func (m *LoadDevice) GetNode() *HDNodeType {
  863. if m != nil {
  864. return m.Node
  865. }
  866. return nil
  867. }
  868. func (m *LoadDevice) GetPin() string {
  869. if m != nil && m.Pin != nil {
  870. return *m.Pin
  871. }
  872. return ""
  873. }
  874. func (m *LoadDevice) GetPassphraseProtection() bool {
  875. if m != nil && m.PassphraseProtection != nil {
  876. return *m.PassphraseProtection
  877. }
  878. return false
  879. }
  880. func (m *LoadDevice) GetLanguage() string {
  881. if m != nil && m.Language != nil {
  882. return *m.Language
  883. }
  884. return Default_LoadDevice_Language
  885. }
  886. func (m *LoadDevice) GetLabel() string {
  887. if m != nil && m.Label != nil {
  888. return *m.Label
  889. }
  890. return ""
  891. }
  892. func (m *LoadDevice) GetSkipChecksum() bool {
  893. if m != nil && m.SkipChecksum != nil {
  894. return *m.SkipChecksum
  895. }
  896. return false
  897. }
  898. func (m *LoadDevice) GetU2FCounter() uint32 {
  899. if m != nil && m.U2FCounter != nil {
  900. return *m.U2FCounter
  901. }
  902. return 0
  903. }
  904. //*
  905. // Request: Ask device to do initialization involving user interaction
  906. // @start
  907. // @next EntropyRequest
  908. // @next Failure
  909. type ResetDevice struct {
  910. DisplayRandom *bool `protobuf:"varint,1,opt,name=display_random,json=displayRandom" json:"display_random,omitempty"`
  911. Strength *uint32 `protobuf:"varint,2,opt,name=strength,def=256" json:"strength,omitempty"`
  912. PassphraseProtection *bool `protobuf:"varint,3,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
  913. PinProtection *bool `protobuf:"varint,4,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
  914. Language *string `protobuf:"bytes,5,opt,name=language,def=english" json:"language,omitempty"`
  915. Label *string `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"`
  916. U2FCounter *uint32 `protobuf:"varint,7,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
  917. SkipBackup *bool `protobuf:"varint,8,opt,name=skip_backup,json=skipBackup" json:"skip_backup,omitempty"`
  918. NoBackup *bool `protobuf:"varint,9,opt,name=no_backup,json=noBackup" json:"no_backup,omitempty"`
  919. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  920. XXX_unrecognized []byte `json:"-"`
  921. XXX_sizecache int32 `json:"-"`
  922. }
  923. func (m *ResetDevice) Reset() { *m = ResetDevice{} }
  924. func (m *ResetDevice) String() string { return proto.CompactTextString(m) }
  925. func (*ResetDevice) ProtoMessage() {}
  926. func (*ResetDevice) Descriptor() ([]byte, []int) {
  927. return fileDescriptor_0c720c20d27aa029, []int{13}
  928. }
  929. func (m *ResetDevice) XXX_Unmarshal(b []byte) error {
  930. return xxx_messageInfo_ResetDevice.Unmarshal(m, b)
  931. }
  932. func (m *ResetDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  933. return xxx_messageInfo_ResetDevice.Marshal(b, m, deterministic)
  934. }
  935. func (m *ResetDevice) XXX_Merge(src proto.Message) {
  936. xxx_messageInfo_ResetDevice.Merge(m, src)
  937. }
  938. func (m *ResetDevice) XXX_Size() int {
  939. return xxx_messageInfo_ResetDevice.Size(m)
  940. }
  941. func (m *ResetDevice) XXX_DiscardUnknown() {
  942. xxx_messageInfo_ResetDevice.DiscardUnknown(m)
  943. }
  944. var xxx_messageInfo_ResetDevice proto.InternalMessageInfo
  945. const Default_ResetDevice_Strength uint32 = 256
  946. const Default_ResetDevice_Language string = "english"
  947. func (m *ResetDevice) GetDisplayRandom() bool {
  948. if m != nil && m.DisplayRandom != nil {
  949. return *m.DisplayRandom
  950. }
  951. return false
  952. }
  953. func (m *ResetDevice) GetStrength() uint32 {
  954. if m != nil && m.Strength != nil {
  955. return *m.Strength
  956. }
  957. return Default_ResetDevice_Strength
  958. }
  959. func (m *ResetDevice) GetPassphraseProtection() bool {
  960. if m != nil && m.PassphraseProtection != nil {
  961. return *m.PassphraseProtection
  962. }
  963. return false
  964. }
  965. func (m *ResetDevice) GetPinProtection() bool {
  966. if m != nil && m.PinProtection != nil {
  967. return *m.PinProtection
  968. }
  969. return false
  970. }
  971. func (m *ResetDevice) GetLanguage() string {
  972. if m != nil && m.Language != nil {
  973. return *m.Language
  974. }
  975. return Default_ResetDevice_Language
  976. }
  977. func (m *ResetDevice) GetLabel() string {
  978. if m != nil && m.Label != nil {
  979. return *m.Label
  980. }
  981. return ""
  982. }
  983. func (m *ResetDevice) GetU2FCounter() uint32 {
  984. if m != nil && m.U2FCounter != nil {
  985. return *m.U2FCounter
  986. }
  987. return 0
  988. }
  989. func (m *ResetDevice) GetSkipBackup() bool {
  990. if m != nil && m.SkipBackup != nil {
  991. return *m.SkipBackup
  992. }
  993. return false
  994. }
  995. func (m *ResetDevice) GetNoBackup() bool {
  996. if m != nil && m.NoBackup != nil {
  997. return *m.NoBackup
  998. }
  999. return false
  1000. }
  1001. //*
  1002. // Request: Perform backup of the device seed if not backed up using ResetDevice
  1003. // @start
  1004. // @next Success
  1005. type BackupDevice struct {
  1006. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1007. XXX_unrecognized []byte `json:"-"`
  1008. XXX_sizecache int32 `json:"-"`
  1009. }
  1010. func (m *BackupDevice) Reset() { *m = BackupDevice{} }
  1011. func (m *BackupDevice) String() string { return proto.CompactTextString(m) }
  1012. func (*BackupDevice) ProtoMessage() {}
  1013. func (*BackupDevice) Descriptor() ([]byte, []int) {
  1014. return fileDescriptor_0c720c20d27aa029, []int{14}
  1015. }
  1016. func (m *BackupDevice) XXX_Unmarshal(b []byte) error {
  1017. return xxx_messageInfo_BackupDevice.Unmarshal(m, b)
  1018. }
  1019. func (m *BackupDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1020. return xxx_messageInfo_BackupDevice.Marshal(b, m, deterministic)
  1021. }
  1022. func (m *BackupDevice) XXX_Merge(src proto.Message) {
  1023. xxx_messageInfo_BackupDevice.Merge(m, src)
  1024. }
  1025. func (m *BackupDevice) XXX_Size() int {
  1026. return xxx_messageInfo_BackupDevice.Size(m)
  1027. }
  1028. func (m *BackupDevice) XXX_DiscardUnknown() {
  1029. xxx_messageInfo_BackupDevice.DiscardUnknown(m)
  1030. }
  1031. var xxx_messageInfo_BackupDevice proto.InternalMessageInfo
  1032. //*
  1033. // Response: Ask for additional entropy from host computer
  1034. // @next EntropyAck
  1035. type EntropyRequest struct {
  1036. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1037. XXX_unrecognized []byte `json:"-"`
  1038. XXX_sizecache int32 `json:"-"`
  1039. }
  1040. func (m *EntropyRequest) Reset() { *m = EntropyRequest{} }
  1041. func (m *EntropyRequest) String() string { return proto.CompactTextString(m) }
  1042. func (*EntropyRequest) ProtoMessage() {}
  1043. func (*EntropyRequest) Descriptor() ([]byte, []int) {
  1044. return fileDescriptor_0c720c20d27aa029, []int{15}
  1045. }
  1046. func (m *EntropyRequest) XXX_Unmarshal(b []byte) error {
  1047. return xxx_messageInfo_EntropyRequest.Unmarshal(m, b)
  1048. }
  1049. func (m *EntropyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1050. return xxx_messageInfo_EntropyRequest.Marshal(b, m, deterministic)
  1051. }
  1052. func (m *EntropyRequest) XXX_Merge(src proto.Message) {
  1053. xxx_messageInfo_EntropyRequest.Merge(m, src)
  1054. }
  1055. func (m *EntropyRequest) XXX_Size() int {
  1056. return xxx_messageInfo_EntropyRequest.Size(m)
  1057. }
  1058. func (m *EntropyRequest) XXX_DiscardUnknown() {
  1059. xxx_messageInfo_EntropyRequest.DiscardUnknown(m)
  1060. }
  1061. var xxx_messageInfo_EntropyRequest proto.InternalMessageInfo
  1062. //*
  1063. // Request: Provide additional entropy for seed generation function
  1064. // @next Success
  1065. type EntropyAck struct {
  1066. Entropy []byte `protobuf:"bytes,1,opt,name=entropy" json:"entropy,omitempty"`
  1067. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1068. XXX_unrecognized []byte `json:"-"`
  1069. XXX_sizecache int32 `json:"-"`
  1070. }
  1071. func (m *EntropyAck) Reset() { *m = EntropyAck{} }
  1072. func (m *EntropyAck) String() string { return proto.CompactTextString(m) }
  1073. func (*EntropyAck) ProtoMessage() {}
  1074. func (*EntropyAck) Descriptor() ([]byte, []int) {
  1075. return fileDescriptor_0c720c20d27aa029, []int{16}
  1076. }
  1077. func (m *EntropyAck) XXX_Unmarshal(b []byte) error {
  1078. return xxx_messageInfo_EntropyAck.Unmarshal(m, b)
  1079. }
  1080. func (m *EntropyAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1081. return xxx_messageInfo_EntropyAck.Marshal(b, m, deterministic)
  1082. }
  1083. func (m *EntropyAck) XXX_Merge(src proto.Message) {
  1084. xxx_messageInfo_EntropyAck.Merge(m, src)
  1085. }
  1086. func (m *EntropyAck) XXX_Size() int {
  1087. return xxx_messageInfo_EntropyAck.Size(m)
  1088. }
  1089. func (m *EntropyAck) XXX_DiscardUnknown() {
  1090. xxx_messageInfo_EntropyAck.DiscardUnknown(m)
  1091. }
  1092. var xxx_messageInfo_EntropyAck proto.InternalMessageInfo
  1093. func (m *EntropyAck) GetEntropy() []byte {
  1094. if m != nil {
  1095. return m.Entropy
  1096. }
  1097. return nil
  1098. }
  1099. //*
  1100. // Request: Start recovery workflow asking user for specific words of mnemonic
  1101. // Used to recovery device safely even on untrusted computer.
  1102. // @start
  1103. // @next WordRequest
  1104. type RecoveryDevice struct {
  1105. WordCount *uint32 `protobuf:"varint,1,opt,name=word_count,json=wordCount" json:"word_count,omitempty"`
  1106. PassphraseProtection *bool `protobuf:"varint,2,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
  1107. PinProtection *bool `protobuf:"varint,3,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
  1108. Language *string `protobuf:"bytes,4,opt,name=language,def=english" json:"language,omitempty"`
  1109. Label *string `protobuf:"bytes,5,opt,name=label" json:"label,omitempty"`
  1110. EnforceWordlist *bool `protobuf:"varint,6,opt,name=enforce_wordlist,json=enforceWordlist" json:"enforce_wordlist,omitempty"`
  1111. // 7 reserved for unused recovery method
  1112. Type *RecoveryDevice_RecoveryDeviceType `protobuf:"varint,8,opt,name=type,enum=hw.trezor.messages.management.RecoveryDevice_RecoveryDeviceType" json:"type,omitempty"`
  1113. U2FCounter *uint32 `protobuf:"varint,9,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
  1114. DryRun *bool `protobuf:"varint,10,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
  1115. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1116. XXX_unrecognized []byte `json:"-"`
  1117. XXX_sizecache int32 `json:"-"`
  1118. }
  1119. func (m *RecoveryDevice) Reset() { *m = RecoveryDevice{} }
  1120. func (m *RecoveryDevice) String() string { return proto.CompactTextString(m) }
  1121. func (*RecoveryDevice) ProtoMessage() {}
  1122. func (*RecoveryDevice) Descriptor() ([]byte, []int) {
  1123. return fileDescriptor_0c720c20d27aa029, []int{17}
  1124. }
  1125. func (m *RecoveryDevice) XXX_Unmarshal(b []byte) error {
  1126. return xxx_messageInfo_RecoveryDevice.Unmarshal(m, b)
  1127. }
  1128. func (m *RecoveryDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1129. return xxx_messageInfo_RecoveryDevice.Marshal(b, m, deterministic)
  1130. }
  1131. func (m *RecoveryDevice) XXX_Merge(src proto.Message) {
  1132. xxx_messageInfo_RecoveryDevice.Merge(m, src)
  1133. }
  1134. func (m *RecoveryDevice) XXX_Size() int {
  1135. return xxx_messageInfo_RecoveryDevice.Size(m)
  1136. }
  1137. func (m *RecoveryDevice) XXX_DiscardUnknown() {
  1138. xxx_messageInfo_RecoveryDevice.DiscardUnknown(m)
  1139. }
  1140. var xxx_messageInfo_RecoveryDevice proto.InternalMessageInfo
  1141. const Default_RecoveryDevice_Language string = "english"
  1142. func (m *RecoveryDevice) GetWordCount() uint32 {
  1143. if m != nil && m.WordCount != nil {
  1144. return *m.WordCount
  1145. }
  1146. return 0
  1147. }
  1148. func (m *RecoveryDevice) GetPassphraseProtection() bool {
  1149. if m != nil && m.PassphraseProtection != nil {
  1150. return *m.PassphraseProtection
  1151. }
  1152. return false
  1153. }
  1154. func (m *RecoveryDevice) GetPinProtection() bool {
  1155. if m != nil && m.PinProtection != nil {
  1156. return *m.PinProtection
  1157. }
  1158. return false
  1159. }
  1160. func (m *RecoveryDevice) GetLanguage() string {
  1161. if m != nil && m.Language != nil {
  1162. return *m.Language
  1163. }
  1164. return Default_RecoveryDevice_Language
  1165. }
  1166. func (m *RecoveryDevice) GetLabel() string {
  1167. if m != nil && m.Label != nil {
  1168. return *m.Label
  1169. }
  1170. return ""
  1171. }
  1172. func (m *RecoveryDevice) GetEnforceWordlist() bool {
  1173. if m != nil && m.EnforceWordlist != nil {
  1174. return *m.EnforceWordlist
  1175. }
  1176. return false
  1177. }
  1178. func (m *RecoveryDevice) GetType() RecoveryDevice_RecoveryDeviceType {
  1179. if m != nil && m.Type != nil {
  1180. return *m.Type
  1181. }
  1182. return RecoveryDevice_RecoveryDeviceType_ScrambledWords
  1183. }
  1184. func (m *RecoveryDevice) GetU2FCounter() uint32 {
  1185. if m != nil && m.U2FCounter != nil {
  1186. return *m.U2FCounter
  1187. }
  1188. return 0
  1189. }
  1190. func (m *RecoveryDevice) GetDryRun() bool {
  1191. if m != nil && m.DryRun != nil {
  1192. return *m.DryRun
  1193. }
  1194. return false
  1195. }
  1196. //*
  1197. // Response: Device is waiting for user to enter word of the mnemonic
  1198. // Its position is shown only on device's internal display.
  1199. // @next WordAck
  1200. type WordRequest struct {
  1201. Type *WordRequest_WordRequestType `protobuf:"varint,1,opt,name=type,enum=hw.trezor.messages.management.WordRequest_WordRequestType" json:"type,omitempty"`
  1202. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1203. XXX_unrecognized []byte `json:"-"`
  1204. XXX_sizecache int32 `json:"-"`
  1205. }
  1206. func (m *WordRequest) Reset() { *m = WordRequest{} }
  1207. func (m *WordRequest) String() string { return proto.CompactTextString(m) }
  1208. func (*WordRequest) ProtoMessage() {}
  1209. func (*WordRequest) Descriptor() ([]byte, []int) {
  1210. return fileDescriptor_0c720c20d27aa029, []int{18}
  1211. }
  1212. func (m *WordRequest) XXX_Unmarshal(b []byte) error {
  1213. return xxx_messageInfo_WordRequest.Unmarshal(m, b)
  1214. }
  1215. func (m *WordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1216. return xxx_messageInfo_WordRequest.Marshal(b, m, deterministic)
  1217. }
  1218. func (m *WordRequest) XXX_Merge(src proto.Message) {
  1219. xxx_messageInfo_WordRequest.Merge(m, src)
  1220. }
  1221. func (m *WordRequest) XXX_Size() int {
  1222. return xxx_messageInfo_WordRequest.Size(m)
  1223. }
  1224. func (m *WordRequest) XXX_DiscardUnknown() {
  1225. xxx_messageInfo_WordRequest.DiscardUnknown(m)
  1226. }
  1227. var xxx_messageInfo_WordRequest proto.InternalMessageInfo
  1228. func (m *WordRequest) GetType() WordRequest_WordRequestType {
  1229. if m != nil && m.Type != nil {
  1230. return *m.Type
  1231. }
  1232. return WordRequest_WordRequestType_Plain
  1233. }
  1234. //*
  1235. // Request: Computer replies with word from the mnemonic
  1236. // @next WordRequest
  1237. // @next Success
  1238. // @next Failure
  1239. type WordAck struct {
  1240. Word *string `protobuf:"bytes,1,req,name=word" json:"word,omitempty"`
  1241. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1242. XXX_unrecognized []byte `json:"-"`
  1243. XXX_sizecache int32 `json:"-"`
  1244. }
  1245. func (m *WordAck) Reset() { *m = WordAck{} }
  1246. func (m *WordAck) String() string { return proto.CompactTextString(m) }
  1247. func (*WordAck) ProtoMessage() {}
  1248. func (*WordAck) Descriptor() ([]byte, []int) {
  1249. return fileDescriptor_0c720c20d27aa029, []int{19}
  1250. }
  1251. func (m *WordAck) XXX_Unmarshal(b []byte) error {
  1252. return xxx_messageInfo_WordAck.Unmarshal(m, b)
  1253. }
  1254. func (m *WordAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1255. return xxx_messageInfo_WordAck.Marshal(b, m, deterministic)
  1256. }
  1257. func (m *WordAck) XXX_Merge(src proto.Message) {
  1258. xxx_messageInfo_WordAck.Merge(m, src)
  1259. }
  1260. func (m *WordAck) XXX_Size() int {
  1261. return xxx_messageInfo_WordAck.Size(m)
  1262. }
  1263. func (m *WordAck) XXX_DiscardUnknown() {
  1264. xxx_messageInfo_WordAck.DiscardUnknown(m)
  1265. }
  1266. var xxx_messageInfo_WordAck proto.InternalMessageInfo
  1267. func (m *WordAck) GetWord() string {
  1268. if m != nil && m.Word != nil {
  1269. return *m.Word
  1270. }
  1271. return ""
  1272. }
  1273. //*
  1274. // Request: Set U2F counter
  1275. // @start
  1276. // @next Success
  1277. type SetU2FCounter struct {
  1278. U2FCounter *uint32 `protobuf:"varint,1,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
  1279. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1280. XXX_unrecognized []byte `json:"-"`
  1281. XXX_sizecache int32 `json:"-"`
  1282. }
  1283. func (m *SetU2FCounter) Reset() { *m = SetU2FCounter{} }
  1284. func (m *SetU2FCounter) String() string { return proto.CompactTextString(m) }
  1285. func (*SetU2FCounter) ProtoMessage() {}
  1286. func (*SetU2FCounter) Descriptor() ([]byte, []int) {
  1287. return fileDescriptor_0c720c20d27aa029, []int{20}
  1288. }
  1289. func (m *SetU2FCounter) XXX_Unmarshal(b []byte) error {
  1290. return xxx_messageInfo_SetU2FCounter.Unmarshal(m, b)
  1291. }
  1292. func (m *SetU2FCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1293. return xxx_messageInfo_SetU2FCounter.Marshal(b, m, deterministic)
  1294. }
  1295. func (m *SetU2FCounter) XXX_Merge(src proto.Message) {
  1296. xxx_messageInfo_SetU2FCounter.Merge(m, src)
  1297. }
  1298. func (m *SetU2FCounter) XXX_Size() int {
  1299. return xxx_messageInfo_SetU2FCounter.Size(m)
  1300. }
  1301. func (m *SetU2FCounter) XXX_DiscardUnknown() {
  1302. xxx_messageInfo_SetU2FCounter.DiscardUnknown(m)
  1303. }
  1304. var xxx_messageInfo_SetU2FCounter proto.InternalMessageInfo
  1305. func (m *SetU2FCounter) GetU2FCounter() uint32 {
  1306. if m != nil && m.U2FCounter != nil {
  1307. return *m.U2FCounter
  1308. }
  1309. return 0
  1310. }
  1311. func init() {
  1312. proto.RegisterEnum("hw.trezor.messages.management.ApplySettings_PassphraseSourceType", ApplySettings_PassphraseSourceType_name, ApplySettings_PassphraseSourceType_value)
  1313. proto.RegisterEnum("hw.trezor.messages.management.RecoveryDevice_RecoveryDeviceType", RecoveryDevice_RecoveryDeviceType_name, RecoveryDevice_RecoveryDeviceType_value)
  1314. proto.RegisterEnum("hw.trezor.messages.management.WordRequest_WordRequestType", WordRequest_WordRequestType_name, WordRequest_WordRequestType_value)
  1315. proto.RegisterType((*Initialize)(nil), "hw.trezor.messages.management.Initialize")
  1316. proto.RegisterType((*GetFeatures)(nil), "hw.trezor.messages.management.GetFeatures")
  1317. proto.RegisterType((*Features)(nil), "hw.trezor.messages.management.Features")
  1318. proto.RegisterType((*ClearSession)(nil), "hw.trezor.messages.management.ClearSession")
  1319. proto.RegisterType((*ApplySettings)(nil), "hw.trezor.messages.management.ApplySettings")
  1320. proto.RegisterType((*ApplyFlags)(nil), "hw.trezor.messages.management.ApplyFlags")
  1321. proto.RegisterType((*ChangePin)(nil), "hw.trezor.messages.management.ChangePin")
  1322. proto.RegisterType((*Ping)(nil), "hw.trezor.messages.management.Ping")
  1323. proto.RegisterType((*Cancel)(nil), "hw.trezor.messages.management.Cancel")
  1324. proto.RegisterType((*GetEntropy)(nil), "hw.trezor.messages.management.GetEntropy")
  1325. proto.RegisterType((*Entropy)(nil), "hw.trezor.messages.management.Entropy")
  1326. proto.RegisterType((*WipeDevice)(nil), "hw.trezor.messages.management.WipeDevice")
  1327. proto.RegisterType((*LoadDevice)(nil), "hw.trezor.messages.management.LoadDevice")
  1328. proto.RegisterType((*ResetDevice)(nil), "hw.trezor.messages.management.ResetDevice")
  1329. proto.RegisterType((*BackupDevice)(nil), "hw.trezor.messages.management.BackupDevice")
  1330. proto.RegisterType((*EntropyRequest)(nil), "hw.trezor.messages.management.EntropyRequest")
  1331. proto.RegisterType((*EntropyAck)(nil), "hw.trezor.messages.management.EntropyAck")
  1332. proto.RegisterType((*RecoveryDevice)(nil), "hw.trezor.messages.management.RecoveryDevice")
  1333. proto.RegisterType((*WordRequest)(nil), "hw.trezor.messages.management.WordRequest")
  1334. proto.RegisterType((*WordAck)(nil), "hw.trezor.messages.management.WordAck")
  1335. proto.RegisterType((*SetU2FCounter)(nil), "hw.trezor.messages.management.SetU2FCounter")
  1336. }
  1337. func init() { proto.RegisterFile("messages-management.proto", fileDescriptor_0c720c20d27aa029) }
  1338. var fileDescriptor_0c720c20d27aa029 = []byte{
  1339. // 1393 bytes of a gzipped FileDescriptorProto
  1340. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xdd, 0x6e, 0xdb, 0xc8,
  1341. 0x15, 0x8e, 0x7e, 0x62, 0x49, 0xc7, 0xfa, 0xcb, 0xd4, 0x8e, 0xe9, 0xb8, 0x6e, 0x1c, 0xba, 0x6e,
  1342. 0x12, 0x04, 0x15, 0x0a, 0x17, 0x09, 0x90, 0x5c, 0x14, 0x75, 0xec, 0xfc, 0x21, 0x71, 0x6a, 0xd0,
  1343. 0x6e, 0x02, 0xf4, 0x86, 0x18, 0x91, 0x47, 0xd2, 0xd4, 0xe4, 0x0c, 0xcb, 0x19, 0xda, 0x55, 0x5e,
  1344. 0x60, 0x6f, 0xf6, 0x45, 0x16, 0xfb, 0x1c, 0x7b, 0xb5, 0xcf, 0xb0, 0xef, 0xb2, 0x98, 0x19, 0x52,
  1345. 0xa2, 0x65, 0x3b, 0x46, 0x76, 0xef, 0xe6, 0x7c, 0xe7, 0xe3, 0x68, 0xce, 0x77, 0xbe, 0x39, 0x63,
  1346. 0xc3, 0x7a, 0x8c, 0x52, 0xd2, 0x31, 0xca, 0xbf, 0xc6, 0x94, 0xd3, 0x31, 0xc6, 0xc8, 0xd5, 0x20,
  1347. 0x49, 0x85, 0x12, 0x64, 0x73, 0x72, 0x3e, 0x50, 0x29, 0x7e, 0x11, 0xe9, 0xa0, 0x20, 0x0d, 0xe6,
  1348. 0xa4, 0x7b, 0xab, 0xb3, 0x2f, 0x03, 0x11, 0xc7, 0x82, 0xdb, 0xaf, 0xdc, 0xf7, 0x00, 0xef, 0x38,
  1349. 0x53, 0x8c, 0x46, 0xec, 0x0b, 0x92, 0x15, 0xb8, 0x2d, 0x15, 0x55, 0xe8, 0x54, 0xb6, 0x2a, 0x8f,
  1350. 0xda, 0x9e, 0x0d, 0xc8, 0x43, 0xe8, 0xc9, 0x53, 0x96, 0xf8, 0x09, 0x95, 0x32, 0x99, 0xa4, 0x54,
  1351. 0xa2, 0x53, 0xdd, 0xaa, 0x3c, 0x6a, 0x7a, 0x5d, 0x0d, 0x1f, 0xcd, 0x50, 0xb7, 0x03, 0xcb, 0x6f,
  1352. 0x50, 0xbd, 0x46, 0xaa, 0xb2, 0x14, 0xa5, 0xfb, 0x7d, 0x03, 0x9a, 0x45, 0x40, 0xee, 0xc2, 0xd2,
  1353. 0x19, 0xf2, 0x50, 0xa4, 0x66, 0xef, 0x96, 0x97, 0x47, 0x64, 0x1b, 0x3a, 0x31, 0xfd, 0xaf, 0x48,
  1354. 0xfd, 0x33, 0x4c, 0x25, 0x13, 0xdc, 0x6c, 0xdd, 0xf1, 0xda, 0x06, 0xfc, 0x64, 0x31, 0x43, 0x62,
  1355. 0xbc, 0x44, 0xaa, 0xe5, 0x24, 0x0d, 0x96, 0x48, 0x09, 0x55, 0xc1, 0x64, 0x46, 0xaa, 0x5b, 0x92,
  1356. 0x01, 0x0b, 0xd2, 0x43, 0xe8, 0x0d, 0x85, 0x50, 0x91, 0xa0, 0x21, 0xa6, 0x7e, 0x2c, 0x42, 0x74,
  1357. 0x6e, 0xdb, 0x5a, 0xe6, 0xf0, 0xa1, 0x08, 0x91, 0x6c, 0x40, 0x2b, 0xc4, 0x33, 0x16, 0xa0, 0xcf,
  1358. 0x42, 0x67, 0xc9, 0x1c, 0xb9, 0x69, 0x81, 0x77, 0x21, 0xd9, 0x81, 0x6e, 0xc2, 0xb8, 0xaf, 0x25,
  1359. 0xc4, 0x40, 0xe9, 0xdf, 0x6a, 0x98, 0x4d, 0x3a, 0x09, 0xe3, 0x47, 0x33, 0x90, 0xfc, 0x1d, 0x56,
  1360. 0xe7, 0x9a, 0x95, 0xd9, 0x4d, 0xc3, 0x5e, 0x99, 0x27, 0x4b, 0x1f, 0xdd, 0x83, 0x66, 0x44, 0xf9,
  1361. 0x38, 0xa3, 0x63, 0x74, 0x5a, 0xf6, 0x77, 0x8b, 0x58, 0xf7, 0x27, 0xa2, 0x43, 0x8c, 0x1c, 0x30,
  1362. 0x09, 0x1b, 0x90, 0x2d, 0x58, 0x66, 0xb3, 0x1e, 0x86, 0x4e, 0xdb, 0x6c, 0x5e, 0x86, 0xf4, 0x9e,
  1363. 0x29, 0x9e, 0x31, 0xa3, 0x4a, 0xc7, 0xb4, 0x76, 0x16, 0x2f, 0x28, 0x32, 0xa1, 0x72, 0xe2, 0x74,
  1364. 0x0d, 0xa5, 0xa4, 0xc8, 0x5b, 0x2a, 0x27, 0x7a, 0x13, 0x16, 0x27, 0x22, 0x55, 0x18, 0x3a, 0x3d,
  1365. 0xf3, 0x1b, 0xb3, 0x98, 0x6c, 0x02, 0x68, 0x41, 0x02, 0x1a, 0x4c, 0x30, 0x74, 0xfa, 0x26, 0xdb,
  1366. 0x4a, 0x18, 0xdf, 0x37, 0x00, 0x79, 0x02, 0x77, 0x4a, 0x42, 0xe4, 0xac, 0x3b, 0x86, 0xd5, 0x9f,
  1367. 0x27, 0x72, 0xf2, 0x63, 0xe8, 0x8f, 0x58, 0x1a, 0x9f, 0xd3, 0x54, 0x6b, 0x86, 0x12, 0xb9, 0x72,
  1368. 0x88, 0xe1, 0xf6, 0x0a, 0xfc, 0xc8, 0xc2, 0xe4, 0x01, 0xb4, 0x39, 0x62, 0x28, 0xfd, 0x21, 0x0d,
  1369. 0x4e, 0xb3, 0xc4, 0xf9, 0x83, 0x2d, 0xdd, 0x60, 0x2f, 0x0d, 0xa4, 0x25, 0x1b, 0x45, 0x74, 0x2c,
  1370. 0x9d, 0x15, 0xe3, 0x06, 0x1b, 0x68, 0x54, 0xf7, 0x3e, 0x72, 0x56, 0xad, 0x90, 0x26, 0x20, 0xeb,
  1371. 0xd0, 0x1c, 0x9d, 0xfb, 0xc6, 0x79, 0xce, 0x5d, 0x43, 0x6f, 0x8c, 0xce, 0x0f, 0x75, 0x58, 0xa4,
  1372. 0xb4, 0xdf, 0x9c, 0xb5, 0x59, 0x4a, 0x87, 0x79, 0xca, 0xb8, 0xcc, 0x71, 0x8a, 0xd4, 0x91, 0x0e,
  1373. 0xb5, 0x89, 0x46, 0xe7, 0x7e, 0xee, 0xfb, 0x75, 0xdb, 0xcc, 0xd1, 0xf9, 0x27, 0xeb, 0xfc, 0x3f,
  1374. 0x43, 0x77, 0x96, 0xf4, 0x4f, 0x71, 0x2a, 0x9d, 0x7b, 0x46, 0xf7, 0x76, 0xc1, 0x78, 0x8f, 0x53,
  1375. 0xa9, 0xa5, 0xcb, 0xf8, 0x88, 0x71, 0x26, 0x27, 0x18, 0x16, 0x75, 0x6e, 0x58, 0xe9, 0xe6, 0x89,
  1376. 0xbc, 0xd8, 0x0d, 0x68, 0x71, 0x51, 0x90, 0xfe, 0x68, 0x7b, 0xc4, 0x85, 0x4d, 0xba, 0x5d, 0x68,
  1377. 0xef, 0x47, 0x48, 0xd3, 0x63, 0x94, 0xba, 0xf1, 0xee, 0x77, 0x35, 0xe8, 0xec, 0x25, 0x49, 0x34,
  1378. 0x3d, 0x46, 0xa5, 0x18, 0x1f, 0xcb, 0x0b, 0xd6, 0xab, 0x5c, 0x67, 0xbd, 0x6a, 0xd9, 0x7a, 0x3b,
  1379. 0xd0, 0xcd, 0xb4, 0xb5, 0xe7, 0x93, 0xa1, 0x66, 0x2f, 0x42, 0x26, 0x71, 0x3e, 0x18, 0xc8, 0x9f,
  1380. 0x00, 0x26, 0x22, 0x46, 0x19, 0xa4, 0x88, 0xf6, 0x5e, 0xb6, 0xbd, 0x12, 0x42, 0xf8, 0x05, 0x7f,
  1381. 0x48, 0x91, 0xa5, 0x81, 0xbd, 0x97, 0xdd, 0xdd, 0xbd, 0xc1, 0x57, 0xe7, 0xda, 0xe0, 0x42, 0x05,
  1382. 0x83, 0xf9, 0x6f, 0x1e, 0x9b, 0x4d, 0x4e, 0xa6, 0x09, 0x96, 0x2d, 0x66, 0x51, 0xf2, 0x04, 0x08,
  1383. 0xcd, 0x94, 0xf0, 0x23, 0x11, 0x9c, 0xfa, 0x21, 0x46, 0x74, 0xea, 0xc7, 0xd2, 0xdc, 0xf2, 0x8e,
  1384. 0xd7, 0xd3, 0x99, 0x0f, 0x22, 0x38, 0x3d, 0xd0, 0xf8, 0xa1, 0xd4, 0x7e, 0x0c, 0x99, 0x4c, 0x34,
  1385. 0x29, 0x15, 0x8a, 0xce, 0xae, 0x7b, 0xc7, 0xeb, 0xe5, 0xb8, 0x97, 0xc3, 0xee, 0x53, 0x58, 0xb9,
  1386. 0xea, 0x04, 0xa4, 0x01, 0xb5, 0xbd, 0xe3, 0xf7, 0xfd, 0x5b, 0x04, 0x60, 0xe9, 0xe0, 0xd5, 0xa7,
  1387. 0x77, 0xfb, 0xaf, 0xfa, 0x15, 0xd2, 0x84, 0xfa, 0xdb, 0x7f, 0x1d, 0x9f, 0xf4, 0xab, 0xae, 0x0b,
  1388. 0x60, 0xca, 0x78, 0x5d, 0x78, 0xd3, 0x3a, 0xb6, 0x52, 0x72, 0xac, 0xbb, 0x0d, 0xad, 0xfd, 0x09,
  1389. 0xe5, 0x63, 0x3c, 0x62, 0x5c, 0x0f, 0xd3, 0x14, 0x63, 0x71, 0x66, 0xdb, 0xd4, 0xf4, 0xf2, 0xc8,
  1390. 0xfd, 0xa1, 0x02, 0xf5, 0x23, 0xc6, 0xc7, 0xc4, 0x81, 0x46, 0x2e, 0x56, 0xde, 0xc8, 0x22, 0xd4,
  1391. 0x7e, 0x1a, 0x66, 0x4a, 0x89, 0x0b, 0xd3, 0xcb, 0x8e, 0xf3, 0xbe, 0x4d, 0x94, 0x66, 0xd1, 0xe5,
  1392. 0x39, 0x57, 0xfb, 0xa6, 0x39, 0x57, 0xbf, 0x7e, 0xce, 0xb9, 0x4d, 0x58, 0xda, 0xa7, 0x3c, 0xc0,
  1393. 0xc8, 0xdd, 0x02, 0x78, 0x83, 0xea, 0x15, 0x57, 0xa9, 0x48, 0xa6, 0x84, 0x40, 0x5d, 0xb2, 0x2f,
  1394. 0xfa, 0xdc, 0xd5, 0x47, 0x1d, 0xcf, 0xac, 0xdd, 0x6d, 0x68, 0x14, 0x69, 0x07, 0x1a, 0x68, 0x97,
  1395. 0x86, 0xd1, 0xf6, 0x8a, 0xd0, 0x6d, 0x03, 0x7c, 0x66, 0x09, 0x1e, 0x98, 0x21, 0xed, 0xfe, 0x58,
  1396. 0x05, 0xf8, 0x20, 0x68, 0x68, 0x43, 0x6d, 0xed, 0x98, 0x63, 0x2c, 0x38, 0x0b, 0x0a, 0x6b, 0x17,
  1397. 0x31, 0x79, 0x0e, 0x75, 0xae, 0x1f, 0x02, 0xad, 0xc2, 0xf2, 0xee, 0xce, 0x55, 0x86, 0xcb, 0xdf,
  1398. 0xcc, 0xb7, 0x07, 0x1f, 0x45, 0x68, 0x4d, 0x65, 0x3e, 0x21, 0x7d, 0xa8, 0x25, 0xcc, 0xaa, 0xd2,
  1399. 0xf2, 0xf4, 0xf2, 0x37, 0x69, 0x41, 0xb6, 0x4b, 0x17, 0x4f, 0xdb, 0xbe, 0xf5, 0xa2, 0x81, 0x7c,
  1400. 0x1c, 0x31, 0x39, 0xb9, 0xea, 0x06, 0x2e, 0x95, 0x6f, 0xe0, 0x36, 0x74, 0xcc, 0xe3, 0x1c, 0x4c,
  1401. 0x30, 0x38, 0x95, 0x59, 0x9c, 0xbf, 0x44, 0x6d, 0x0d, 0xee, 0xe7, 0x18, 0xb9, 0x0f, 0xcb, 0xd9,
  1402. 0xee, 0xc8, 0x0f, 0x44, 0xc6, 0x15, 0xa6, 0xe6, 0xf9, 0xe9, 0x78, 0x90, 0xed, 0x8e, 0xf6, 0x2d,
  1403. 0xe2, 0xfe, 0x5c, 0x85, 0x65, 0x0f, 0x25, 0xaa, 0x5c, 0xae, 0x1d, 0xe8, 0xce, 0x3c, 0x4f, 0x79,
  1404. 0x28, 0xe2, 0xdc, 0x68, 0x9d, 0xc2, 0xf1, 0x06, 0x24, 0xf7, 0xa1, 0x29, 0x55, 0x8a, 0x7c, 0xac,
  1405. 0x26, 0xf6, 0xdd, 0x7e, 0x51, 0xdb, 0x7d, 0xfa, 0xcc, 0x9b, 0x81, 0xd7, 0xab, 0x51, 0xfb, 0x8a,
  1406. 0x1a, 0x97, 0x5d, 0x57, 0xbf, 0xca, 0x75, 0xbf, 0x43, 0xb4, 0x05, 0x3d, 0x1a, 0x8b, 0x7a, 0x68,
  1407. 0x82, 0x51, 0x35, 0x1f, 0xa5, 0xf6, 0xbd, 0x06, 0x0d, 0x5d, 0x35, 0x69, 0x5b, 0x97, 0x27, 0xad,
  1408. 0x5d, 0xe5, 0x5e, 0xec, 0x43, 0x37, 0xb7, 0xaf, 0x87, 0xff, 0xcb, 0x50, 0x2a, 0xf7, 0x2f, 0x00,
  1409. 0x39, 0xb2, 0x17, 0x9c, 0x5e, 0xf4, 0x74, 0xa5, 0xec, 0xe9, 0x5f, 0x6a, 0xd0, 0xf5, 0x30, 0x10,
  1410. 0x67, 0x98, 0x4e, 0xf3, 0xd6, 0x6c, 0x02, 0x9c, 0x8b, 0x34, 0xb4, 0x87, 0xcf, 0x67, 0x44, 0x4b,
  1411. 0x23, 0xe6, 0xec, 0xd7, 0x2b, 0x5e, 0xfd, 0x26, 0xc5, 0x6b, 0x37, 0x29, 0x5e, 0xbf, 0x51, 0xf1,
  1412. 0xdb, 0x65, 0xc5, 0x1f, 0x43, 0x1f, 0xf9, 0x48, 0xa4, 0x01, 0xfa, 0xfa, 0xac, 0x11, 0x93, 0xca,
  1413. 0xb4, 0xa4, 0xe9, 0xf5, 0x72, 0xfc, 0x73, 0x0e, 0x93, 0x13, 0xa8, 0xab, 0x69, 0x82, 0x46, 0xf4,
  1414. 0xee, 0xee, 0x3f, 0x6f, 0x98, 0xff, 0x17, 0xd5, 0x59, 0x08, 0xed, 0x4d, 0xd5, 0xbb, 0x2d, 0xb6,
  1415. 0xbc, 0x75, 0xa9, 0xe5, 0x6b, 0xd0, 0x08, 0xd3, 0xa9, 0x9f, 0x66, 0xdc, 0xfc, 0x75, 0xd5, 0xf4,
  1416. 0x96, 0xc2, 0x74, 0xea, 0x65, 0xdc, 0xfd, 0x0f, 0x90, 0xcb, 0xbb, 0x92, 0x1d, 0x78, 0x70, 0x19,
  1417. 0xf5, 0x8f, 0x83, 0x94, 0xc6, 0xc3, 0x08, 0x43, 0x5d, 0x8d, 0xec, 0xdf, 0x22, 0x9b, 0xb0, 0x7e,
  1418. 0x05, 0xed, 0x90, 0xaa, 0x94, 0xfd, 0xbf, 0x5f, 0x71, 0x7f, 0xaa, 0xc0, 0xb2, 0xa6, 0xe6, 0xbe,
  1419. 0x20, 0x1f, 0xf3, 0xda, 0x2b, 0xa6, 0xf6, 0x17, 0x37, 0xd4, 0x5e, 0xfa, 0xb2, 0xbc, 0x9e, 0x57,
  1420. 0xed, 0x8e, 0xa0, 0xb7, 0x90, 0x20, 0xeb, 0xb0, 0xba, 0x00, 0xf9, 0x47, 0x11, 0x65, 0xbc, 0x7f,
  1421. 0x8b, 0x6c, 0xc0, 0xda, 0x62, 0xca, 0x9e, 0xf4, 0x79, 0xbf, 0x72, 0x7d, 0xf2, 0x59, 0xbf, 0xea,
  1422. 0x6e, 0x42, 0x43, 0x27, 0xb5, 0x99, 0x09, 0xd4, 0x75, 0x87, 0xcd, 0x74, 0x6e, 0x79, 0x66, 0xed,
  1423. 0xfe, 0x0d, 0x3a, 0xc7, 0xa8, 0xfe, 0xbd, 0xfb, 0xba, 0x74, 0xbf, 0xca, 0xdd, 0xa8, 0x2c, 0x76,
  1424. 0xe3, 0xe5, 0x3f, 0x60, 0x3b, 0x10, 0xf1, 0x40, 0x52, 0x25, 0xe4, 0x84, 0x45, 0x74, 0x28, 0x0b,
  1425. 0x21, 0x22, 0x36, 0xb4, 0xff, 0xbb, 0x0c, 0xb3, 0xd1, 0xcb, 0xb5, 0x13, 0x03, 0x1e, 0x5a, 0x71,
  1426. 0x0e, 0x67, 0xd2, 0xfc, 0x1a, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x6e, 0xfc, 0x59, 0x29, 0x0d, 0x00,
  1427. 0x00,
  1428. }