3 This file is part of the AVR-Crypto-Lib.
4 Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de)
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 * \brief sboxes and constants for seed
33 #include <avr/pgmspace.h>
35 uint8_t seed_sbox1[256] PROGMEM ={
36 169, 133, 214, 211, 84, 29, 172, 37,
37 93, 67, 24, 30, 81, 252, 202, 99,
38 40, 68, 32, 157, 224, 226, 200, 23,
39 165, 143, 3, 123, 187, 19, 210, 238,
40 112, 140, 63, 168, 50, 221, 246, 116,
41 236, 149, 11, 87, 92, 91, 189, 1,
42 36, 28, 115, 152, 16, 204, 242, 217,
43 44, 231, 114, 131, 155, 209, 134, 201,
44 96, 80, 163, 235, 13, 182, 158, 79,
45 183, 90, 198, 120, 166, 18, 175, 213,
46 97, 195, 180, 65, 82, 125, 141, 8,
47 31, 153, 0, 25, 4, 83, 247, 225,
48 253, 118, 47, 39, 176, 139, 14, 171,
49 162, 110, 147, 77, 105, 124, 9, 10,
50 191, 239, 243, 197, 135, 20, 254, 100,
51 222, 46, 75, 26, 6, 33, 107, 102,
52 2, 245, 146, 138, 12, 179, 126, 208,
53 122, 71, 150, 229, 38, 128, 173, 223,
54 161, 48, 55, 174, 54, 21, 34, 56,
55 244, 167, 69, 76, 129, 233, 132, 151,
56 53, 203, 206, 60, 113, 17, 199, 137,
57 117, 251, 218, 248, 148, 89, 130, 196,
58 255, 73, 57, 103, 192, 207, 215, 184,
59 15, 142, 66, 35, 145, 108, 219, 164,
60 52, 241, 72, 194, 111, 61, 45, 64,
61 190, 62, 188, 193, 170, 186, 78, 85,
62 59, 220, 104, 127, 156, 216, 74, 86,
63 119, 160, 237, 70, 181, 43, 101, 250,
64 227, 185, 177, 159, 94, 249, 230, 178,
65 49, 234, 109, 95, 228, 240, 205, 136,
66 22, 58, 88, 212, 98, 41, 7, 51,
67 232, 27, 5, 121, 144, 106, 42, 154
70 uint8_t seed_sbox2[256] PROGMEM ={
71 56, 232, 45, 166, 207, 222, 179, 184,
72 175, 96, 85, 199, 68, 111, 107, 91,
73 195, 98, 51, 181, 41, 160, 226, 167,
74 211, 145, 17, 6, 28, 188, 54, 75,
75 239, 136, 108, 168, 23, 196, 22, 244,
76 194, 69, 225, 214, 63, 61, 142, 152,
77 40, 78, 246, 62, 165, 249, 13, 223,
78 216, 43, 102, 122, 39, 47, 241, 114,
79 66, 212, 65, 192, 115, 103, 172, 139,
80 247, 173, 128, 31, 202, 44, 170, 52,
81 210, 11, 238, 233, 93, 148, 24, 248,
82 87, 174, 8, 197, 19, 205, 134, 185,
83 255, 125, 193, 49, 245, 138, 106, 177,
84 209, 32, 215, 2, 34, 4, 104, 113,
85 7, 219, 157, 153, 97, 190, 230, 89,
86 221, 81, 144, 220, 154, 163, 171, 208,
87 129, 15, 71, 26, 227, 236, 141, 191,
88 150, 123, 92, 162, 161, 99, 35, 77,
89 200, 158, 156, 58, 12, 46, 186, 110,
90 159, 90, 242, 146, 243, 73, 120, 204,
91 21, 251, 112, 117, 127, 53, 16, 3,
92 100, 109, 198, 116, 213, 180, 234, 9,
93 118, 25, 254, 64, 18, 224, 189, 5,
94 250, 1, 240, 42, 94, 169, 86, 67,
95 133, 20, 137, 155, 176, 229, 72, 121,
96 151, 252, 30, 130, 33, 140, 27, 95,
97 119, 84, 178, 29, 37, 79, 0, 70,
98 237, 88, 82, 235, 126, 218, 201, 253,
99 48, 149, 101, 60, 182, 228, 187, 124,
100 14, 80, 57, 38, 50, 132, 105, 147,
101 55, 231, 36, 164, 203, 83, 10, 135,
102 217, 76, 131, 143, 206, 59, 74, 183
106 uint32_t seed_kc[16] PROGMEM ={
125 #endif /*SEED_SBOX_H_*/