~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/crypto/tea.c

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /crypto/tea.c (Version linux-6.12-rc7) and /crypto/tea.c (Version linux-5.14.21)


  1 // SPDX-License-Identifier: GPL-2.0-or-later        1 // SPDX-License-Identifier: GPL-2.0-or-later
  2 /*                                                  2 /* 
  3  * Cryptographic API.                               3  * Cryptographic API.
  4  *                                                  4  *
  5  * TEA, XTEA, and XETA crypto alogrithms            5  * TEA, XTEA, and XETA crypto alogrithms
  6  *                                                  6  *
  7  * The TEA and Xtended TEA algorithms were dev      7  * The TEA and Xtended TEA algorithms were developed by David Wheeler 
  8  * and Roger Needham at the Computer Laborator      8  * and Roger Needham at the Computer Laboratory of Cambridge University.
  9  *                                                  9  *
 10  * Due to the order of evaluation in XTEA many     10  * Due to the order of evaluation in XTEA many people have incorrectly
 11  * implemented it.  XETA (XTEA in the wrong or     11  * implemented it.  XETA (XTEA in the wrong order), exists for
 12  * compatibility with these implementations.       12  * compatibility with these implementations.
 13  *                                                 13  *
 14  * Copyright (c) 2004 Aaron Grothe ajgrothe@ya     14  * Copyright (c) 2004 Aaron Grothe ajgrothe@yahoo.com
 15  */                                                15  */
 16                                                    16 
 17 #include <crypto/algapi.h>                     << 
 18 #include <linux/init.h>                            17 #include <linux/init.h>
 19 #include <linux/module.h>                          18 #include <linux/module.h>
 20 #include <linux/mm.h>                              19 #include <linux/mm.h>
 21 #include <asm/byteorder.h>                         20 #include <asm/byteorder.h>
                                                   >>  21 #include <linux/crypto.h>
 22 #include <linux/types.h>                           22 #include <linux/types.h>
 23                                                    23 
 24 #define TEA_KEY_SIZE            16                 24 #define TEA_KEY_SIZE            16
 25 #define TEA_BLOCK_SIZE          8                  25 #define TEA_BLOCK_SIZE          8
 26 #define TEA_ROUNDS              32                 26 #define TEA_ROUNDS              32
 27 #define TEA_DELTA               0x9e3779b9         27 #define TEA_DELTA               0x9e3779b9
 28                                                    28 
 29 #define XTEA_KEY_SIZE           16                 29 #define XTEA_KEY_SIZE           16
 30 #define XTEA_BLOCK_SIZE         8                  30 #define XTEA_BLOCK_SIZE         8
 31 #define XTEA_ROUNDS             32                 31 #define XTEA_ROUNDS             32
 32 #define XTEA_DELTA              0x9e3779b9         32 #define XTEA_DELTA              0x9e3779b9
 33                                                    33 
 34 struct tea_ctx {                                   34 struct tea_ctx {
 35         u32 KEY[4];                                35         u32 KEY[4];
 36 };                                                 36 };
 37                                                    37 
 38 struct xtea_ctx {                                  38 struct xtea_ctx {
 39         u32 KEY[4];                                39         u32 KEY[4];
 40 };                                                 40 };
 41                                                    41 
 42 static int tea_setkey(struct crypto_tfm *tfm,      42 static int tea_setkey(struct crypto_tfm *tfm, const u8 *in_key,
 43                       unsigned int key_len)        43                       unsigned int key_len)
 44 {                                                  44 {
 45         struct tea_ctx *ctx = crypto_tfm_ctx(t     45         struct tea_ctx *ctx = crypto_tfm_ctx(tfm);
 46         const __le32 *key = (const __le32 *)in     46         const __le32 *key = (const __le32 *)in_key;
 47                                                    47 
 48         ctx->KEY[0] = le32_to_cpu(key[0]);         48         ctx->KEY[0] = le32_to_cpu(key[0]);
 49         ctx->KEY[1] = le32_to_cpu(key[1]);         49         ctx->KEY[1] = le32_to_cpu(key[1]);
 50         ctx->KEY[2] = le32_to_cpu(key[2]);         50         ctx->KEY[2] = le32_to_cpu(key[2]);
 51         ctx->KEY[3] = le32_to_cpu(key[3]);         51         ctx->KEY[3] = le32_to_cpu(key[3]);
 52                                                    52 
 53         return 0;                                  53         return 0; 
 54                                                    54 
 55 }                                                  55 }
 56                                                    56 
 57 static void tea_encrypt(struct crypto_tfm *tfm     57 static void tea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
 58 {                                                  58 {
 59         u32 y, z, n, sum = 0;                      59         u32 y, z, n, sum = 0;
 60         u32 k0, k1, k2, k3;                        60         u32 k0, k1, k2, k3;
 61         struct tea_ctx *ctx = crypto_tfm_ctx(t     61         struct tea_ctx *ctx = crypto_tfm_ctx(tfm);
 62         const __le32 *in = (const __le32 *)src     62         const __le32 *in = (const __le32 *)src;
 63         __le32 *out = (__le32 *)dst;               63         __le32 *out = (__le32 *)dst;
 64                                                    64 
 65         y = le32_to_cpu(in[0]);                    65         y = le32_to_cpu(in[0]);
 66         z = le32_to_cpu(in[1]);                    66         z = le32_to_cpu(in[1]);
 67                                                    67 
 68         k0 = ctx->KEY[0];                          68         k0 = ctx->KEY[0];
 69         k1 = ctx->KEY[1];                          69         k1 = ctx->KEY[1];
 70         k2 = ctx->KEY[2];                          70         k2 = ctx->KEY[2];
 71         k3 = ctx->KEY[3];                          71         k3 = ctx->KEY[3];
 72                                                    72 
 73         n = TEA_ROUNDS;                            73         n = TEA_ROUNDS;
 74                                                    74 
 75         while (n-- > 0) {                          75         while (n-- > 0) {
 76                 sum += TEA_DELTA;                  76                 sum += TEA_DELTA;
 77                 y += ((z << 4) + k0) ^ (z + su     77                 y += ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1);
 78                 z += ((y << 4) + k2) ^ (y + su     78                 z += ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3);
 79         }                                          79         }
 80                                                    80         
 81         out[0] = cpu_to_le32(y);                   81         out[0] = cpu_to_le32(y);
 82         out[1] = cpu_to_le32(z);                   82         out[1] = cpu_to_le32(z);
 83 }                                                  83 }
 84                                                    84 
 85 static void tea_decrypt(struct crypto_tfm *tfm     85 static void tea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
 86 {                                                  86 {
 87         u32 y, z, n, sum;                          87         u32 y, z, n, sum;
 88         u32 k0, k1, k2, k3;                        88         u32 k0, k1, k2, k3;
 89         struct tea_ctx *ctx = crypto_tfm_ctx(t     89         struct tea_ctx *ctx = crypto_tfm_ctx(tfm);
 90         const __le32 *in = (const __le32 *)src     90         const __le32 *in = (const __le32 *)src;
 91         __le32 *out = (__le32 *)dst;               91         __le32 *out = (__le32 *)dst;
 92                                                    92 
 93         y = le32_to_cpu(in[0]);                    93         y = le32_to_cpu(in[0]);
 94         z = le32_to_cpu(in[1]);                    94         z = le32_to_cpu(in[1]);
 95                                                    95 
 96         k0 = ctx->KEY[0];                          96         k0 = ctx->KEY[0];
 97         k1 = ctx->KEY[1];                          97         k1 = ctx->KEY[1];
 98         k2 = ctx->KEY[2];                          98         k2 = ctx->KEY[2];
 99         k3 = ctx->KEY[3];                          99         k3 = ctx->KEY[3];
100                                                   100 
101         sum = TEA_DELTA << 5;                     101         sum = TEA_DELTA << 5;
102                                                   102 
103         n = TEA_ROUNDS;                           103         n = TEA_ROUNDS;
104                                                   104 
105         while (n-- > 0) {                         105         while (n-- > 0) {
106                 z -= ((y << 4) + k2) ^ (y + su    106                 z -= ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3);
107                 y -= ((z << 4) + k0) ^ (z + su    107                 y -= ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1);
108                 sum -= TEA_DELTA;                 108                 sum -= TEA_DELTA;
109         }                                         109         }
110                                                   110         
111         out[0] = cpu_to_le32(y);                  111         out[0] = cpu_to_le32(y);
112         out[1] = cpu_to_le32(z);                  112         out[1] = cpu_to_le32(z);
113 }                                                 113 }
114                                                   114 
115 static int xtea_setkey(struct crypto_tfm *tfm,    115 static int xtea_setkey(struct crypto_tfm *tfm, const u8 *in_key,
116                        unsigned int key_len)      116                        unsigned int key_len)
117 {                                                 117 {
118         struct xtea_ctx *ctx = crypto_tfm_ctx(    118         struct xtea_ctx *ctx = crypto_tfm_ctx(tfm);
119         const __le32 *key = (const __le32 *)in    119         const __le32 *key = (const __le32 *)in_key;
120                                                   120 
121         ctx->KEY[0] = le32_to_cpu(key[0]);        121         ctx->KEY[0] = le32_to_cpu(key[0]);
122         ctx->KEY[1] = le32_to_cpu(key[1]);        122         ctx->KEY[1] = le32_to_cpu(key[1]);
123         ctx->KEY[2] = le32_to_cpu(key[2]);        123         ctx->KEY[2] = le32_to_cpu(key[2]);
124         ctx->KEY[3] = le32_to_cpu(key[3]);        124         ctx->KEY[3] = le32_to_cpu(key[3]);
125                                                   125 
126         return 0;                                 126         return 0; 
127                                                   127 
128 }                                                 128 }
129                                                   129 
130 static void xtea_encrypt(struct crypto_tfm *tf    130 static void xtea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
131 {                                                 131 {
132         u32 y, z, sum = 0;                        132         u32 y, z, sum = 0;
133         u32 limit = XTEA_DELTA * XTEA_ROUNDS;     133         u32 limit = XTEA_DELTA * XTEA_ROUNDS;
134         struct xtea_ctx *ctx = crypto_tfm_ctx(    134         struct xtea_ctx *ctx = crypto_tfm_ctx(tfm);
135         const __le32 *in = (const __le32 *)src    135         const __le32 *in = (const __le32 *)src;
136         __le32 *out = (__le32 *)dst;              136         __le32 *out = (__le32 *)dst;
137                                                   137 
138         y = le32_to_cpu(in[0]);                   138         y = le32_to_cpu(in[0]);
139         z = le32_to_cpu(in[1]);                   139         z = le32_to_cpu(in[1]);
140                                                   140 
141         while (sum != limit) {                    141         while (sum != limit) {
142                 y += ((z << 4 ^ z >> 5) + z) ^    142                 y += ((z << 4 ^ z >> 5) + z) ^ (sum + ctx->KEY[sum&3]); 
143                 sum += XTEA_DELTA;                143                 sum += XTEA_DELTA;
144                 z += ((y << 4 ^ y >> 5) + y) ^    144                 z += ((y << 4 ^ y >> 5) + y) ^ (sum + ctx->KEY[sum>>11 &3]); 
145         }                                         145         }
146                                                   146         
147         out[0] = cpu_to_le32(y);                  147         out[0] = cpu_to_le32(y);
148         out[1] = cpu_to_le32(z);                  148         out[1] = cpu_to_le32(z);
149 }                                                 149 }
150                                                   150 
151 static void xtea_decrypt(struct crypto_tfm *tf    151 static void xtea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
152 {                                                 152 {
153         u32 y, z, sum;                            153         u32 y, z, sum;
154         struct tea_ctx *ctx = crypto_tfm_ctx(t    154         struct tea_ctx *ctx = crypto_tfm_ctx(tfm);
155         const __le32 *in = (const __le32 *)src    155         const __le32 *in = (const __le32 *)src;
156         __le32 *out = (__le32 *)dst;              156         __le32 *out = (__le32 *)dst;
157                                                   157 
158         y = le32_to_cpu(in[0]);                   158         y = le32_to_cpu(in[0]);
159         z = le32_to_cpu(in[1]);                   159         z = le32_to_cpu(in[1]);
160                                                   160 
161         sum = XTEA_DELTA * XTEA_ROUNDS;           161         sum = XTEA_DELTA * XTEA_ROUNDS;
162                                                   162 
163         while (sum) {                             163         while (sum) {
164                 z -= ((y << 4 ^ y >> 5) + y) ^    164                 z -= ((y << 4 ^ y >> 5) + y) ^ (sum + ctx->KEY[sum>>11 & 3]);
165                 sum -= XTEA_DELTA;                165                 sum -= XTEA_DELTA;
166                 y -= ((z << 4 ^ z >> 5) + z) ^    166                 y -= ((z << 4 ^ z >> 5) + z) ^ (sum + ctx->KEY[sum & 3]);
167         }                                         167         }
168                                                   168         
169         out[0] = cpu_to_le32(y);                  169         out[0] = cpu_to_le32(y);
170         out[1] = cpu_to_le32(z);                  170         out[1] = cpu_to_le32(z);
171 }                                                 171 }
172                                                   172 
173                                                   173 
174 static void xeta_encrypt(struct crypto_tfm *tf    174 static void xeta_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
175 {                                                 175 {
176         u32 y, z, sum = 0;                        176         u32 y, z, sum = 0;
177         u32 limit = XTEA_DELTA * XTEA_ROUNDS;     177         u32 limit = XTEA_DELTA * XTEA_ROUNDS;
178         struct xtea_ctx *ctx = crypto_tfm_ctx(    178         struct xtea_ctx *ctx = crypto_tfm_ctx(tfm);
179         const __le32 *in = (const __le32 *)src    179         const __le32 *in = (const __le32 *)src;
180         __le32 *out = (__le32 *)dst;              180         __le32 *out = (__le32 *)dst;
181                                                   181 
182         y = le32_to_cpu(in[0]);                   182         y = le32_to_cpu(in[0]);
183         z = le32_to_cpu(in[1]);                   183         z = le32_to_cpu(in[1]);
184                                                   184 
185         while (sum != limit) {                    185         while (sum != limit) {
186                 y += (z << 4 ^ z >> 5) + (z ^     186                 y += (z << 4 ^ z >> 5) + (z ^ sum) + ctx->KEY[sum&3];
187                 sum += XTEA_DELTA;                187                 sum += XTEA_DELTA;
188                 z += (y << 4 ^ y >> 5) + (y ^     188                 z += (y << 4 ^ y >> 5) + (y ^ sum) + ctx->KEY[sum>>11 &3];
189         }                                         189         }
190                                                   190         
191         out[0] = cpu_to_le32(y);                  191         out[0] = cpu_to_le32(y);
192         out[1] = cpu_to_le32(z);                  192         out[1] = cpu_to_le32(z);
193 }                                                 193 }
194                                                   194 
195 static void xeta_decrypt(struct crypto_tfm *tf    195 static void xeta_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
196 {                                                 196 {
197         u32 y, z, sum;                            197         u32 y, z, sum;
198         struct tea_ctx *ctx = crypto_tfm_ctx(t    198         struct tea_ctx *ctx = crypto_tfm_ctx(tfm);
199         const __le32 *in = (const __le32 *)src    199         const __le32 *in = (const __le32 *)src;
200         __le32 *out = (__le32 *)dst;              200         __le32 *out = (__le32 *)dst;
201                                                   201 
202         y = le32_to_cpu(in[0]);                   202         y = le32_to_cpu(in[0]);
203         z = le32_to_cpu(in[1]);                   203         z = le32_to_cpu(in[1]);
204                                                   204 
205         sum = XTEA_DELTA * XTEA_ROUNDS;           205         sum = XTEA_DELTA * XTEA_ROUNDS;
206                                                   206 
207         while (sum) {                             207         while (sum) {
208                 z -= (y << 4 ^ y >> 5) + (y ^     208                 z -= (y << 4 ^ y >> 5) + (y ^ sum) + ctx->KEY[sum>>11 & 3];
209                 sum -= XTEA_DELTA;                209                 sum -= XTEA_DELTA;
210                 y -= (z << 4 ^ z >> 5) + (z ^     210                 y -= (z << 4 ^ z >> 5) + (z ^ sum) + ctx->KEY[sum & 3];
211         }                                         211         }
212                                                   212         
213         out[0] = cpu_to_le32(y);                  213         out[0] = cpu_to_le32(y);
214         out[1] = cpu_to_le32(z);                  214         out[1] = cpu_to_le32(z);
215 }                                                 215 }
216                                                   216 
217 static struct crypto_alg tea_algs[3] = { {        217 static struct crypto_alg tea_algs[3] = { {
218         .cra_name               =       "tea",    218         .cra_name               =       "tea",
219         .cra_driver_name        =       "tea-g    219         .cra_driver_name        =       "tea-generic",
220         .cra_flags              =       CRYPTO    220         .cra_flags              =       CRYPTO_ALG_TYPE_CIPHER,
221         .cra_blocksize          =       TEA_BL    221         .cra_blocksize          =       TEA_BLOCK_SIZE,
222         .cra_ctxsize            =       sizeof    222         .cra_ctxsize            =       sizeof (struct tea_ctx),
223         .cra_alignmask          =       3,        223         .cra_alignmask          =       3,
224         .cra_module             =       THIS_M    224         .cra_module             =       THIS_MODULE,
225         .cra_u                  =       { .cip    225         .cra_u                  =       { .cipher = {
226         .cia_min_keysize        =       TEA_KE    226         .cia_min_keysize        =       TEA_KEY_SIZE,
227         .cia_max_keysize        =       TEA_KE    227         .cia_max_keysize        =       TEA_KEY_SIZE,
228         .cia_setkey             =       tea_se    228         .cia_setkey             =       tea_setkey,
229         .cia_encrypt            =       tea_en    229         .cia_encrypt            =       tea_encrypt,
230         .cia_decrypt            =       tea_de    230         .cia_decrypt            =       tea_decrypt } }
231 }, {                                              231 }, {
232         .cra_name               =       "xtea"    232         .cra_name               =       "xtea",
233         .cra_driver_name        =       "xtea-    233         .cra_driver_name        =       "xtea-generic",
234         .cra_flags              =       CRYPTO    234         .cra_flags              =       CRYPTO_ALG_TYPE_CIPHER,
235         .cra_blocksize          =       XTEA_B    235         .cra_blocksize          =       XTEA_BLOCK_SIZE,
236         .cra_ctxsize            =       sizeof    236         .cra_ctxsize            =       sizeof (struct xtea_ctx),
237         .cra_alignmask          =       3,        237         .cra_alignmask          =       3,
238         .cra_module             =       THIS_M    238         .cra_module             =       THIS_MODULE,
239         .cra_u                  =       { .cip    239         .cra_u                  =       { .cipher = {
240         .cia_min_keysize        =       XTEA_K    240         .cia_min_keysize        =       XTEA_KEY_SIZE,
241         .cia_max_keysize        =       XTEA_K    241         .cia_max_keysize        =       XTEA_KEY_SIZE,
242         .cia_setkey             =       xtea_s    242         .cia_setkey             =       xtea_setkey,
243         .cia_encrypt            =       xtea_e    243         .cia_encrypt            =       xtea_encrypt,
244         .cia_decrypt            =       xtea_d    244         .cia_decrypt            =       xtea_decrypt } }
245 }, {                                              245 }, {
246         .cra_name               =       "xeta"    246         .cra_name               =       "xeta",
247         .cra_driver_name        =       "xeta-    247         .cra_driver_name        =       "xeta-generic",
248         .cra_flags              =       CRYPTO    248         .cra_flags              =       CRYPTO_ALG_TYPE_CIPHER,
249         .cra_blocksize          =       XTEA_B    249         .cra_blocksize          =       XTEA_BLOCK_SIZE,
250         .cra_ctxsize            =       sizeof    250         .cra_ctxsize            =       sizeof (struct xtea_ctx),
251         .cra_alignmask          =       3,        251         .cra_alignmask          =       3,
252         .cra_module             =       THIS_M    252         .cra_module             =       THIS_MODULE,
253         .cra_u                  =       { .cip    253         .cra_u                  =       { .cipher = {
254         .cia_min_keysize        =       XTEA_K    254         .cia_min_keysize        =       XTEA_KEY_SIZE,
255         .cia_max_keysize        =       XTEA_K    255         .cia_max_keysize        =       XTEA_KEY_SIZE,
256         .cia_setkey             =       xtea_s    256         .cia_setkey             =       xtea_setkey,
257         .cia_encrypt            =       xeta_e    257         .cia_encrypt            =       xeta_encrypt,
258         .cia_decrypt            =       xeta_d    258         .cia_decrypt            =       xeta_decrypt } }
259 } };                                              259 } };
260                                                   260 
261 static int __init tea_mod_init(void)              261 static int __init tea_mod_init(void)
262 {                                                 262 {
263         return crypto_register_algs(tea_algs,     263         return crypto_register_algs(tea_algs, ARRAY_SIZE(tea_algs));
264 }                                                 264 }
265                                                   265 
266 static void __exit tea_mod_fini(void)             266 static void __exit tea_mod_fini(void)
267 {                                                 267 {
268         crypto_unregister_algs(tea_algs, ARRAY    268         crypto_unregister_algs(tea_algs, ARRAY_SIZE(tea_algs));
269 }                                                 269 }
270                                                   270 
271 MODULE_ALIAS_CRYPTO("tea");                       271 MODULE_ALIAS_CRYPTO("tea");
272 MODULE_ALIAS_CRYPTO("xtea");                      272 MODULE_ALIAS_CRYPTO("xtea");
273 MODULE_ALIAS_CRYPTO("xeta");                      273 MODULE_ALIAS_CRYPTO("xeta");
274                                                   274 
275 subsys_initcall(tea_mod_init);                    275 subsys_initcall(tea_mod_init);
276 module_exit(tea_mod_fini);                        276 module_exit(tea_mod_fini);
277                                                   277 
278 MODULE_LICENSE("GPL");                            278 MODULE_LICENSE("GPL");
279 MODULE_DESCRIPTION("TEA, XTEA & XETA Cryptogra    279 MODULE_DESCRIPTION("TEA, XTEA & XETA Cryptographic Algorithms");
280                                                   280 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php