Mercurial > dropbear
comparison libtomcrypt/src/ciphers/aes/aes_tab.c @ 1435:f849a5ca2efc
update to libtomcrypt 1.17 (with Dropbear changes)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 24 Jun 2017 17:50:50 +0800 |
parents | 0cbe8f6dbf9e |
children | 6dba84798cd5 |
comparison
equal
deleted
inserted
replaced
1434:27b9ddb06b09 | 1435:f849a5ca2efc |
---|---|
4 * algorithms in a highly modular and flexible manner. | 4 * algorithms in a highly modular and flexible manner. |
5 * | 5 * |
6 * The library is free for all purposes without any express | 6 * The library is free for all purposes without any express |
7 * guarantee it works. | 7 * guarantee it works. |
8 * | 8 * |
9 * Tom St Denis, [email protected], http://libtomcrypt.com | 9 * Tom St Denis, [email protected], http://libtom.org |
10 */ | 10 */ |
11 /* The precomputed tables for AES */ | 11 /* The precomputed tables for AES */ |
12 /* | 12 /* |
13 Te0[x] = S [x].[02, 01, 01, 03]; | 13 Te0[x] = S [x].[02, 01, 01, 03]; |
14 Te1[x] = S [x].[03, 02, 01, 01]; | 14 Te1[x] = S [x].[03, 02, 01, 01]; |
1021 0x01000000UL, 0x02000000UL, 0x04000000UL, 0x08000000UL, | 1021 0x01000000UL, 0x02000000UL, 0x04000000UL, 0x08000000UL, |
1022 0x10000000UL, 0x20000000UL, 0x40000000UL, 0x80000000UL, | 1022 0x10000000UL, 0x20000000UL, 0x40000000UL, 0x80000000UL, |
1023 0x1B000000UL, 0x36000000UL, /* for 128-bit blocks, Rijndael never uses more than 10 rcon values */ | 1023 0x1B000000UL, 0x36000000UL, /* for 128-bit blocks, Rijndael never uses more than 10 rcon values */ |
1024 }; | 1024 }; |
1025 | 1025 |
1026 /* $Source: /cvs/libtom/libtomcrypt/src/ciphers/aes/aes_tab.c,v $ */ | 1026 /* $Source$ */ |
1027 /* $Revision: 1.5 $ */ | 1027 /* $Revision$ */ |
1028 /* $Date: 2006/04/02 13:19:09 $ */ | 1028 /* $Date$ */ |