/external/dropbear/libtomcrypt/src/ciphers/twofish/ |
twofish.c | 75 #define sbox(i, x) ((ulong32)SBOX[i][(x)&255]) 97 static ulong32 _sbox(int i, ulong32 x) 99 static ulong32 sbox(int i, ulong32 x) 132 return (ulong32)y; 136 static ulong32 sbox(int i, ulong32 x) 138 ulong32 y; 148 static ulong32 gf_mult(ulong32 a, ulong32 b, ulong32 p [all...] |
/external/dropbear/libtomcrypt/src/prngs/ |
sober128.c | 45 static ulong32 BYTE2WORD(unsigned char *b) 47 ulong32 t; 54 static void XORWORD(ulong32 w, unsigned char *b) 56 ulong32 t; 72 static void cycle(ulong32 *R) 74 ulong32 t; 97 static ulong32 nltap(struct sober128_prng *c) 99 ulong32 t; 158 ulong32 newkonst; 179 ulong32 t [all...] |
sober128tab.c | 8 static const ulong32 Multab[256] = { 93 static const ulong32 Sbox[256] = {
|
/external/dropbear/libtomcrypt/src/ciphers/ |
rc5.c | 35 static const ulong32 stab[50] = { 59 ulong32 L[64], *S, A, B, i, j, v, s, t, l; 82 for (A = i = j = 0; i < (ulong32)keylen; ) { 83 A = (A << 8) | ((ulong32)(key[i++] & 255)); 91 A <<= (ulong32)((8 * (4 - (keylen&3)))); 96 t = (ulong32)(2 * (num_rounds + 1)); 116 burn_stack(sizeof(ulong32) * 122 + sizeof(int)); 134 ulong32 A, B, *K; 171 burn_stack(sizeof(ulong32) * 2 + sizeof(int)); 189 ulong32 A, B, *K [all...] |
kasumi.c | 101 static ulong32 FO( ulong32 in, int round_no, symmetric_key *key) 122 return (((ulong32)right)<<16)+left; 125 static ulong32 FL( ulong32 in, int round_no, symmetric_key *key ) 138 return (((ulong32)l)<<16) + r; 143 ulong32 left, right, temp; 170 ulong32 left, right, temp;
|
rc6.c | 34 static const ulong32 stab[44] = { 56 ulong32 L[64], S[50], A, B, i, j, v, s, l; 72 for (A = i = j = 0; i < (ulong32)keylen; ) { 73 A = (A << 8) | ((ulong32)(key[i++] & 255)); 111 burn_stack(sizeof(ulong32) * 122); 128 ulong32 a,b,c,d,t,u, *K; 165 burn_stack(sizeof(ulong32) * 6 + sizeof(int)); 182 ulong32 a,b,c,d,t,u, *K; 221 burn_stack(sizeof(ulong32) * 6 + sizeof(int));
|
noekeon.c | 33 static const ulong32 RC[] = { 77 ulong32 temp; 118 ulong32 a,b,c,d,temp; 154 burn_stack(sizeof(ulong32) * 5 + sizeof(int)); 172 ulong32 a,b,c,d, temp; 207 burn_stack(sizeof(ulong32) * 5 + sizeof(int));
|
cast5.c | 33 static const ulong32 S1[256] = { 78 static const ulong32 S2[256] = { 123 static const ulong32 S3[256] = { 168 static const ulong32 S4[256] = { 213 static const ulong32 S5[256] = { 258 static const ulong32 S6[256] = { 303 static const ulong32 S7[256] = { 348 static const ulong32 S8[256] = { 414 ulong32 x[4], z[4]; [all...] |
blowfish.c | 33 static const ulong32 ORIG_P[16 + 2] = { 41 static const ulong32 ORIG_S[4][256] = { 311 ulong32 x, y, z, A; 331 A = (A << 8) | ((ulong32)key[y++] & 255); 332 if (y == (ulong32)keylen) { 396 ulong32 L, R; 399 ulong32 *S1, *S2, *S3, *S4; 440 burn_stack(sizeof(ulong32) * 2 + sizeof(int)); 458 ulong32 L, R; 461 ulong32 *S1, *S2, *S3, *S4 [all...] |
kseed.c | 35 static const ulong32 SS0[256] = { 70 static const ulong32 SS1[256] = { 105 static const ulong32 SS2[256] = { 140 static const ulong32 SS3[256] = { 175 static const ulong32 KCi[16] = { 205 ulong32 tmp, k1, k2, k3, k4; 241 static void rounds(ulong32 *P, ulong32 *K) 243 ulong32 T, T2; 261 ulong32 P[4] [all...] |
des.c | 53 static const ulong32 bytebit[8] = 58 static const ulong32 bigbyte[24] = 92 static const ulong32 SP1[64] = 112 static const ulong32 SP2[64] = 132 static const ulong32 SP3[64] = 152 static const ulong32 SP4[64] = 172 static const ulong32 SP5[64] = 192 static const ulong32 SP6[64] = 212 static const ulong32 SP7[64] = 232 static const ulong32 SP8[64] [all...] |
anubis.c | 53 static const ulong32 T0[256] = { 120 static const ulong32 T1[256] = { 187 static const ulong32 T2[256] = { 254 static const ulong32 T3[256] = { 321 static const ulong32 T4[256] = { 388 static const ulong32 T5[256] = { 458 static const ulong32 rc[] = { 471 static const ulong32 T0[256] = { 538 static const ulong32 T1[256] = { 605 static const ulong32 T2[256] = [all...] |
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_hash.h | 13 ulong32 state[8], curlen; 21 ulong32 state[5], curlen; 29 ulong32 state[4], curlen; 37 ulong32 state[4], curlen; 61 ulong32 curlen, state[4]; 69 ulong32 curlen, state[5]; 77 ulong32 curlen, state[8]; 85 ulong32 curlen, state[10]; 93 ulong32 curlen; 101 ulong32 curlen [all...] |
tomcrypt_cipher.h | 8 ulong32 S[4][256]; 9 ulong32 K[18]; 16 ulong32 K[50]; 22 ulong32 K[44]; 35 ulong32 eK[60], dK[60]; 42 ulong32 K[32], dK[32]; 48 ulong32 KLi1[8], KLi2[8], 63 ulong32 S[4][256], K[40]; 67 ulong32 K[40]; 92 ulong32 ek[32], dk[32] [all...] |
tomcrypt_macros.h | 14 typedef unsigned ulong32; typedef 16 typedef unsigned long ulong32; typedef 135 { ulong32 __t = (x); XMEMCPY(y, &__t, 4); } 155 { ulong32 __t = (x); XMEMCPY(y, &__t, 4); } 196 { ulong32 __t = (x); XMEMCPY(y, &__t, 4); } 216 { ulong32 __t = (x); XMEMCPY(y, &__t, 4); }
|
tomcrypt_prng.h | 38 ulong32 R[17], /* Working storage for the shift register */
|
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
pkcs_1_mgf1.c | 34 ulong32 counter;
|
/external/dropbear/libtomcrypt/src/misc/pkcs5/ |
pkcs_5_2.c | 37 ulong32 blkno;
|
/external/dropbear/libtomcrypt/testprof/ |
store_test.c | 8 ulong32 L, L1;
|
/external/dropbear/libtomcrypt/src/ciphers/aes/ |
aes.c | 95 static ulong32 setup_mix(ulong32 temp) 105 static ulong32 setup_mix2(ulong32 temp) 126 ulong32 temp, *rk; 128 ulong32 *rrk; 294 ulong32 s0, s1, s2, s3, t0, t1, t2, t3, *rk; 473 ulong32 s0, s1, s2, s3, t0, t1, t2, t3, *rk;
|
aes_tab.c | 30 static const ulong32 TE0[256] = { 98 static const ulong32 Te4[256] = { 168 static const ulong32 TD0[256] = { 235 static const ulong32 Td4[256] = { 333 static const ulong32 TE1[256] = { 399 static const ulong32 TE2[256] = { 465 static const ulong32 TE3[256] = { 534 static const ulong32 Te4_0[] = { 569 static const ulong32 Te4_1[] = { [all...] |
/external/dropbear/libtomcrypt/src/hashes/ |
sha1.c | 50 ulong32 a,b,c,d,e,W[80],i; 52 ulong32 t; 155 burn_stack(sizeof(ulong32) * 87);
|
md5.c | 72 static const ulong32 Korder[64] = { 106 ulong32 i, W[16], a, b, c, d; 108 ulong32 t; 223 burn_stack(sizeof(ulong32) * 21);
|
/external/dropbear/libtomcrypt/src/hashes/sha2/ |
sha256.c | 40 static const ulong32 K[64] = { 74 ulong32 S[8], W[64], t0, t1; 76 ulong32 t; 196 burn_stack(sizeof(ulong32) * 74);
|
/external/dropbear/libtomcrypt/src/mac/pelican/ |
pelican.c | 57 ulong32 s0, s1, s2, s3, t0, t1, t2, t3;
|