Mercurial > dropbear
comparison src/prngs/sober128tab.c @ 209:39d5d58461d6 libtomcrypt-orig LTC_1.05
Import of libtomcrypt 1.05
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 06 Jul 2005 03:53:40 +0000 |
parents | 1c15b283127b |
children |
comparison
equal
deleted
inserted
replaced
191:1c15b283127b | 209:39d5d58461d6 |
---|---|
1 /** | 1 /** |
2 @file sober128tab.c | 2 @file sober128tab.c |
3 SOBER-128 Tables | 3 SOBER-128 Tables |
4 */ | 4 */ |
5 /* $Id: sober128tab.c,v 1.1.1.1 2005/03/18 23:19:17 root Exp $ */ | 5 /* $Id: sober128tab.c,v 1.2 2005/05/05 14:35:59 tom Exp $ */ |
6 /* @(#)TuringMultab.h 1.3 (QUALCOMM) 02/09/03 */ | 6 /* @(#)TuringMultab.h 1.3 (QUALCOMM) 02/09/03 */ |
7 /* Multiplication table for Turing using 0xD02B4367 */ | 7 /* Multiplication table for Turing using 0xD02B4367 */ |
8 static const ulong32 Multab[256] = { | 8 static const ulong32 Multab[256] = { |
9 0x00000000, 0xD02B4367, 0xED5686CE, 0x3D7DC5A9, | 9 0x00000000, 0xD02B4367, 0xED5686CE, 0x3D7DC5A9, |
10 0x97AC41D1, 0x478702B6, 0x7AFAC71F, 0xAAD18478, | 10 0x97AC41D1, 0x478702B6, 0x7AFAC71F, 0xAAD18478, |
70 0x8C67211E, 0x5C4C6279, 0x6131A7D0, 0xB11AE4B7, | 70 0x8C67211E, 0x5C4C6279, 0x6131A7D0, 0xB11AE4B7, |
71 0x78DEE220, 0xA8F5A147, 0x958864EE, 0x45A32789, | 71 0x78DEE220, 0xA8F5A147, 0x958864EE, 0x45A32789, |
72 0xEF72A3F1, 0x3F59E096, 0x0224253F, 0xD20F6658, | 72 0xEF72A3F1, 0x3F59E096, 0x0224253F, 0xD20F6658, |
73 }; | 73 }; |
74 | 74 |
75 /* $Id: sober128tab.c,v 1.1.1.1 2005/03/18 23:19:17 root Exp $ */ | 75 /* $Id: sober128tab.c,v 1.2 2005/05/05 14:35:59 tom Exp $ */ |
76 /* Sbox for SOBER-128 */ | 76 /* Sbox for SOBER-128 */ |
77 /* | 77 /* |
78 * This is really the combination of two SBoxes; the least significant | 78 * This is really the combination of two SBoxes; the least significant |
79 * 24 bits comes from: | 79 * 24 bits comes from: |
80 * 8->32 Sbox generated by Millan et. al. at Queensland University of | 80 * 8->32 Sbox generated by Millan et. al. at Queensland University of |
154 0xaeb8fe1d, 0x9db3c697, 0x5b164f83, 0xe0c16376, | 154 0xaeb8fe1d, 0x9db3c697, 0x5b164f83, 0xe0c16376, |
155 0xa319224c, 0xd0203b35, 0x433ac0fe, 0x1466a19a, | 155 0xa319224c, 0xd0203b35, 0x433ac0fe, 0x1466a19a, |
156 0x45f0b24f, 0x51fda998, 0xc0d52d71, 0xfa0896a8, | 156 0x45f0b24f, 0x51fda998, 0xc0d52d71, 0xfa0896a8, |
157 0xf9e6053f, 0xa4b0d300, 0xd499cbcc, 0xb95e3d40, | 157 0xf9e6053f, 0xa4b0d300, 0xd499cbcc, 0xb95e3d40, |
158 }; | 158 }; |
159 | |
160 /* $Source: /cvs/libtom/libtomcrypt/src/prngs/sober128tab.c,v $ */ | |
161 /* $Revision: 1.2 $ */ | |
162 /* $Date: 2005/05/05 14:35:59 $ */ |