1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-16 04:29:08 +00:00
trezor-firmware/firmware/recovery-table.h
2016-11-23 13:21:18 +01:00

113 lines
6.2 KiB
C

/*
* This file is part of the TREZOR project.
*
* Copyright (C) 2016 Jochen Hoenicke <hoenicke@gmail.com>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
/* DO NOT EDIT: This file is automatically generated by
* cd ../gen/wordlist
* perl build-recoverytable.pl recovery_english.txt
*/
static const uint16_t word_table1[82] =
{
8192, 8200, 8208, 8217, 8225, 8234, 8243, 8250, 8259,
12361, 12367, 8280, 8285, 8292, 8297, 8302, 8311, 8318,
8325, 12429, 12437, 8347, 8356, 8365, 8373, 8382, 8391,
8400, 8409, 8412, 8417, 8426, 8432, 8439, 8447, 8455,
8463, 8472, 8480, 8487, 8495, 4408, 4416, 8521, 8530,
8539, 8548, 8557, 8564, 8573, 8582, 8589, 8597, 8601,
8609, 8618, 8627, 8634, 4545, 8645, 12750, 12759, 8672,
8681, 8690, 8695, 8703, 8712, 8721, 8730, 8738, 8746,
8751, 8757, 8766, 8775, 8782, 4690, 4699, 8804, 8813,
630,
};
static const uint16_t word_table2[631] =
{
12288, 12293, 12297, 12298, 12302, 12304, 12306, 12307, 12312,
12313, 12316, 8225, 8226, 8229, 8233, 8234, 12334, 12337,
12342, 12345, 8253, 12354, 12357, 12361, 12365, 8274, 12376,
12378, 12380, 12381, 12385, 12386, 12390, 12394, 12396, 12400,
8305, 12407, 12410, 8318, 8321, 8327, 12424, 12428, 12433,
12439, 12443, 12448, 12451, 12456, 12459, 12463, 12465, 12468,
12471, 12476, 12479, 12482, 12485, 12489, 12494, 12498, 12502,
12507, 12509, 12515, 12521, 12522, 12527, 12530, 12532, 12535,
12538, 12541, 12544, 12545, 12546, 12547, 12549, 16647, 16651,
12559, 16658, 16662, 12569, 12574, 12579, 12582, 12583, 12584,
12585, 12586, 12588, 16686, 16689, 12599, 12605, 12609, 12611,
12612, 12615, 12616, 12617, 12618, 12620, 12621, 12626, 12629,
12635, 12641, 12645, 12650, 12655, 16757, 16761, 12669, 12673,
12679, 12684, 16782, 16786, 12695, 12699, 12703, 12707, 12713,
12715, 12716, 12717, 12719, 12723, 12725, 8630, 12727, 12728,
12730, 12732, 12733, 12734, 12735, 12736, 12737, 12738, 12740,
12746, 12747, 12750, 12751, 12753, 12755, 12758, 12763, 12764,
12770, 12772, 12775, 12779, 12782, 12786, 12788, 16886, 16891,
12798, 12801, 12802, 12804, 12805, 12807, 12808, 12811, 12812,
12813, 12814, 12815, 12820, 12822, 12827, 12830, 12832, 8741,
8742, 12839, 12841, 8751, 8757, 12857, 12859, 12864, 12866,
12870, 12874, 12876, 12879, 12884, 12887, 12891, 8799, 8802,
8808, 8812, 8814, 12914, 12916, 12921, 12925, 12929, 12935,
8841, 12939, 12942, 12943, 12945, 12947, 12950, 12953, 12955,
12959, 12961, 12964, 12967, 12973, 12977, 12980, 12985, 12988,
12993, 12998, 13001, 13005, 13008, 13012, 17112, 17116, 13023,
13027, 13029, 13031, 13033, 13038, 8943, 13045, 13047, 13049,
13051, 13056, 13058, 13060, 8966, 8972, 13069, 13070, 13071,
13072, 13073, 13075, 13076, 13080, 13082, 13087, 13088, 13090,
13093, 13096, 17194, 17197, 13105, 13107, 13110, 13113, 9018,
9024, 13121, 13123, 13126, 13128, 13132, 13136, 13140, 13142,
13145, 13147, 13149, 13151, 13154, 13156, 13160, 13164, 13167,
13172, 13173, 13174, 13177, 13180, 13183, 9088, 9089, 9091,
9094, 9095, 13194, 13195, 13196, 13198, 13202, 13206, 13210,
13213, 13216, 13219, 13223, 13228, 9138, 9144, 9148, 9152,
13253, 13254, 13255, 13256, 13259, 9164, 9165, 13265, 13266,
13268, 13270, 13271, 13275, 9180, 13280, 13285, 13288, 13292,
13295, 13300, 13304, 13309, 13314, 13318, 13322, 13326, 13330,
13335, 13340, 13344, 9253, 9259, 13356, 13360, 13363, 13366,
13372, 13373, 13379, 13382, 13387, 13389, 13393, 13394, 13396,
13398, 13400, 13402, 13406, 13408, 13410, 13412, 13414, 13415,
13419, 13421, 13424, 13427, 13432, 13436, 13440, 13444, 13448,
13452, 13457, 9362, 13461, 13463, 13465, 13468, 13470, 13473,
13475, 13477, 13480, 9387, 13485, 13489, 13491, 13492, 13496,
9402, 9406, 13503, 13506, 9414, 9417, 9418, 9422, 9423,
9424, 9427, 9428, 9433, 13534, 13540, 9447, 9448, 9449,
9453, 9456, 9458, 13557, 13563, 13568, 13574, 13579, 13582,
13586, 13591, 9500, 13600, 13604, 13609, 13614, 13619, 13624,
13627, 13632, 13638, 13643, 13645, 17747, 17750, 17755, 17759,
17764, 13672, 13674, 13677, 13679, 13681, 13685, 9592, 13689,
13692, 13693, 13696, 13697, 13698, 13701, 13703, 13706, 13708,
13711, 13713, 13715, 13718, 13721, 13723, 13728, 13729, 13732,
13735, 13736, 13740, 13744, 13747, 13748, 13752, 13753, 13759,
13762, 13763, 13765, 9670, 13767, 13773, 13778, 13783, 13788,
13793, 13798, 13801, 13805, 13810, 13815, 13818, 13822, 13824,
13828, 13831, 13835, 13839, 13843, 13847, 13853, 13856, 13862,
13866, 13869, 17970, 17972, 13881, 13883, 13884, 13885, 13889,
13895, 13899, 13904, 13906, 13911, 13915, 13919, 9827, 9832,
13933, 13934, 13937, 13939, 13944, 13947, 13949, 13954, 13958,
13963, 13964, 13969, 13970, 13975, 13978, 9883, 18078, 18084,
13992, 13997, 14000, 14006, 14011, 14014, 14015, 14018, 14020,
14024, 14026, 14029, 14032, 14038, 14040, 14044, 14046, 14050,
9955, 14055, 14059, 14064, 14068, 14071, 14075, 14078, 14080,
14085, 14088, 14091, 14093, 14095, 14099, 14101, 14104, 14108,
14111, 14114, 14117, 14119, 14122, 14125, 14128, 18228, 18233,
14142, 14145, 14151, 14153, 14159, 14160, 14165, 10072, 10078,
10080, 14178, 14182, 14187, 14191, 10100, 10106, 10108, 10114,
14211, 14217, 14223, 14228, 14234, 14239, 14245, 14250, 14253,
14257, 14260, 14264, 14267, 14273, 14278, 14281, 14285, 14291,
14293, 18394, 18399, 14305, 14310, 14315, 10224, 6134, 6140,
2048,
};