Mercurial > dropbear
comparison libtomcrypt/src/prngs/sober128tab.c @ 1437:871b18fd7065 fuzz
merge from main (libtommath/libtomcrypt/curve25510-donna updates)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 24 Jun 2017 22:51:45 +0800 |
parents | f849a5ca2efc |
children |
comparison
equal
deleted
inserted
replaced
1432:41dca1e5ea34 | 1437:871b18fd7065 |
---|---|
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.2 2005/05/05 14:35:59 tom Exp $ */ | 5 /* $ID$ */ |
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.2 2005/05/05 14:35:59 tom Exp $ */ | 75 /* $ID$ */ |
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 |
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 | 159 |
160 /* $Source: /cvs/libtom/libtomcrypt/src/prngs/sober128tab.c,v $ */ | 160 /* $Source$ */ |
161 /* $Revision: 1.2 $ */ | 161 /* $Revision$ */ |
162 /* $Date: 2005/05/05 14:35:59 $ */ | 162 /* $Date$ */ |