/external/dropbear/libtomcrypt/src/ciphers/aes/ |
D | 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[] = { 604 static const ulong32 Te4_2[] = { [all …]
|
D | aes.c | 95 static ulong32 setup_mix(ulong32 temp) in setup_mix() 105 static ulong32 setup_mix2(ulong32 temp) in setup_mix2() 126 ulong32 temp, *rk; in SETUP() 128 ulong32 *rrk; in SETUP() 294 ulong32 s0, s1, s2, s3, t0, t1, t2, t3, *rk; in _rijndael_ecb_encrypt() 473 ulong32 s0, s1, s2, s3, t0, t1, t2, t3, *rk; in _rijndael_ecb_decrypt()
|
/external/dropbear/libtomcrypt/src/ciphers/twofish/ |
D | twofish_tab.c | 77 static const ulong32 mds_tab[4][256] = { 218 static const ulong32 rs_tab0[256] = { 252 static const ulong32 rs_tab1[256] = { 286 static const ulong32 rs_tab2[256] = { 320 static const ulong32 rs_tab3[256] = { 354 static const ulong32 rs_tab4[256] = { 388 static const ulong32 rs_tab5[256] = { 422 static const ulong32 rs_tab6[256] = { 456 static const ulong32 rs_tab7[256] = {
|
D | twofish.c | 75 #define sbox(i, x) ((ulong32)SBOX[i][(x)&255]) 97 static ulong32 _sbox(int i, ulong32 x) in _sbox() 99 static ulong32 sbox(int i, ulong32 x) in _sbox() 132 return (ulong32)y; in _sbox() 136 static ulong32 sbox(int i, ulong32 x) in sbox() 138 ulong32 y; in sbox() 148 static ulong32 gf_mult(ulong32 a, ulong32 b, ulong32 p) in gf_mult() 150 ulong32 result, B[2], P[2]; in gf_mult() 171 static ulong32 mds_column_mult(unsigned char in, int col) in mds_column_mult() 173 ulong32 x01, x5B, xEF; in mds_column_mult() [all …]
|
/external/dropbear/libtomcrypt/src/ciphers/ |
D | 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 …]
|
D | 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; in kseed_setup() 241 static void rounds(ulong32 *P, ulong32 *K) in rounds() 243 ulong32 T, T2; in rounds() 261 ulong32 P[4]; in kseed_ecb_encrypt() 283 ulong32 P[4]; in kseed_ecb_decrypt()
|
D | 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]; in _cast5_setup() 497 burn_stack(sizeof(ulong32)*8 + 16 + sizeof(int)*2); in cast5_setup() [all …]
|
D | rc5.c | 35 static const ulong32 stab[50] = { 59 ulong32 L[64], *S, A, B, i, j, v, s, t, l; in _rc5_setup() 82 for (A = i = j = 0; i < (ulong32)keylen; ) { in _rc5_setup() 83 A = (A << 8) | ((ulong32)(key[i++] & 255)); in _rc5_setup() 91 A <<= (ulong32)((8 * (4 - (keylen&3)))); in _rc5_setup() 96 t = (ulong32)(2 * (num_rounds + 1)); in _rc5_setup() 116 burn_stack(sizeof(ulong32) * 122 + sizeof(int)); in rc5_setup() 134 ulong32 A, B, *K; in _rc5_ecb_encrypt() 171 burn_stack(sizeof(ulong32) * 2 + sizeof(int)); in rc5_ecb_encrypt() 189 ulong32 A, B, *K; in _rc5_ecb_decrypt() [all …]
|
D | blowfish.c | 33 static const ulong32 ORIG_P[16 + 2] = { 41 static const ulong32 ORIG_S[4][256] = { 311 ulong32 x, y, z, A; in blowfish_setup() 331 A = (A << 8) | ((ulong32)key[y++] & 255); in blowfish_setup() 332 if (y == (ulong32)keylen) { in blowfish_setup() 396 ulong32 L, R; in _blowfish_ecb_encrypt() 399 ulong32 *S1, *S2, *S3, *S4; in _blowfish_ecb_encrypt() 440 burn_stack(sizeof(ulong32) * 2 + sizeof(int)); in blowfish_ecb_encrypt() 458 ulong32 L, R; in _blowfish_ecb_decrypt() 461 ulong32 *S1, *S2, *S3, *S4; in _blowfish_ecb_decrypt() [all …]
|
D | kasumi.c | 101 static ulong32 FO( ulong32 in, int round_no, symmetric_key *key) in FO() 122 return (((ulong32)right)<<16)+left; in FO() 125 static ulong32 FL( ulong32 in, int round_no, symmetric_key *key ) in FL() 138 return (((ulong32)l)<<16) + r; in FL() 143 ulong32 left, right, temp; in kasumi_ecb_encrypt() 170 ulong32 left, right, temp; in kasumi_ecb_decrypt()
|
D | rc6.c | 34 static const ulong32 stab[44] = { 56 ulong32 L[64], S[50], A, B, i, j, v, s, l; in _rc6_setup() 72 for (A = i = j = 0; i < (ulong32)keylen; ) { in _rc6_setup() 73 A = (A << 8) | ((ulong32)(key[i++] & 255)); in _rc6_setup() 111 burn_stack(sizeof(ulong32) * 122); in rc6_setup() 128 ulong32 a,b,c,d,t,u, *K; in _rc6_ecb_encrypt() 165 burn_stack(sizeof(ulong32) * 6 + sizeof(int)); in rc6_ecb_encrypt() 182 ulong32 a,b,c,d,t,u, *K; in _rc6_ecb_decrypt() 221 burn_stack(sizeof(ulong32) * 6 + sizeof(int)); in rc6_ecb_decrypt()
|
D | 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 …]
|
D | noekeon.c | 33 static const ulong32 RC[] = { 77 ulong32 temp; in noekeon_setup() 118 ulong32 a,b,c,d,temp; in _noekeon_ecb_encrypt() 154 burn_stack(sizeof(ulong32) * 5 + sizeof(int)); in noekeon_ecb_encrypt() 172 ulong32 a,b,c,d, temp; in _noekeon_ecb_decrypt() 207 burn_stack(sizeof(ulong32) * 5 + sizeof(int)); in noekeon_ecb_decrypt()
|
/external/dropbear/libtomcrypt/src/prngs/ |
D | sober128.c | 45 static ulong32 BYTE2WORD(unsigned char *b) in BYTE2WORD() 47 ulong32 t; in BYTE2WORD() 54 static void XORWORD(ulong32 w, unsigned char *b) in XORWORD() 56 ulong32 t; in XORWORD() 72 static void cycle(ulong32 *R) in cycle() 74 ulong32 t; in cycle() 97 static ulong32 nltap(struct sober128_prng *c) in nltap() 99 ulong32 t; in nltap() 158 ulong32 newkonst; in s128_genkonst() 179 ulong32 t; in s128_diffuse() [all …]
|
D | sober128tab.c | 8 static const ulong32 Multab[256] = { 93 static const ulong32 Sbox[256] = {
|
/external/dropbear/libtomcrypt/src/headers/ |
D | 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;
|
D | 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 …]
|
D | 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); }
|
/external/dropbear/libtomcrypt/src/hashes/ |
D | sha1.c | 50 ulong32 a,b,c,d,e,W[80],i; in _sha1_compress() 52 ulong32 t; in _sha1_compress() 155 burn_stack(sizeof(ulong32) * 87); in sha1_compress()
|
D | md5.c | 72 static const ulong32 Korder[64] = { 106 ulong32 i, W[16], a, b, c, d; in _md5_compress() 108 ulong32 t; in _md5_compress() 223 burn_stack(sizeof(ulong32) * 21); in md5_compress()
|
D | md4.c | 81 ulong32 x[16], a, b, c, d; in _md4_compress() 164 burn_stack(sizeof(ulong32) * 20 + sizeof(int)); in md4_compress()
|
/external/dropbear/libtomcrypt/src/hashes/sha2/ |
D | sha256.c | 40 static const ulong32 K[64] = { 74 ulong32 S[8], W[64], t0, t1; in _sha256_compress() 76 ulong32 t; in _sha256_compress() 196 burn_stack(sizeof(ulong32) * 74); in sha256_compress()
|
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
D | pkcs_1_mgf1.c | 34 ulong32 counter; in pkcs_1_mgf1()
|
/external/dropbear/libtomcrypt/testprof/ |
D | store_test.c | 8 ulong32 L, L1; in store_test()
|
/external/dropbear/libtomcrypt/src/misc/pkcs5/ |
D | pkcs_5_2.c | 37 ulong32 blkno; in pkcs_5_alg2()
|