/external/dropbear/libtomcrypt/notes/etc/ |
whirlgen.c | 24 unsigned sbox(unsigned x) function 45 // for (x = 0; x < 16; x++) printf("%2x ", sbox(x)); 61 printf("static const ulong64 sbox%d[] = {\n", y); 64 gf_mul(sbox(x), cir[y][0]), 65 gf_mul(sbox(x), cir[y][1]), 66 gf_mul(sbox(x), cir[y][2]), 67 gf_mul(sbox(x), cir[y][3]), 68 gf_mul(sbox(x), cir[y][4]), 69 gf_mul(sbox(x), cir[y][5]), 70 gf_mul(sbox(x), cir[y][6]) [all...] |
/external/dropbear/libtomcrypt/src/ciphers/twofish/ |
twofish.c | 63 /* sbox usage orderings */ 75 #define sbox(i, x) ((ulong32)SBOX[i][(x)&255]) macro 99 static ulong32 sbox(int i, ulong32 x) 136 static ulong32 sbox(int i, ulong32 x) function 258 y[0] = (unsigned char)(sbox(1, (ulong32)y[0]) ^ M[4 * (6 + offset) + 0]); 259 y[1] = (unsigned char)(sbox(0, (ulong32)y[1]) ^ M[4 * (6 + offset) + 1]); 260 y[2] = (unsigned char)(sbox(0, (ulong32)y[2]) ^ M[4 * (6 + offset) + 2]); 261 y[3] = (unsigned char)(sbox(1, (ulong32)y[3]) ^ M[4 * (6 + offset) + 3]); 263 y[0] = (unsigned char)(sbox(1, (ulong32)y[0]) ^ M[4 * (4 + offset) + 0]) [all...] |
/external/openssl/crypto/aes/asm/ |
aes-x86_64.pl | 61 $sbox="%r14"; 98 mov 0($sbox,$acc0,8),$t0 99 mov 0($sbox,$acc1,8),$t1 100 mov 0($sbox,$acc2,8),$t2 105 xor 3($sbox,$acc0,8),$t0 106 xor 3($sbox,$acc1,8),$t1 107 mov 0($sbox,$acc2,8),$t3 112 xor 3($sbox,$acc0,8),$t2 114 xor 3($sbox,$acc2,8),$t3 123 xor 2($sbox,$acc0,8),$t [all...] |
/external/dropbear/libtomcrypt/src/ciphers/ |
skipjack.c | 34 static const unsigned char sbox[256] = { variable 117 g1 ^= sbox[g2^key[*kp]]; *kp = keystep[*kp]; 118 g2 ^= sbox[g1^key[*kp]]; *kp = keystep[*kp]; 119 g1 ^= sbox[g2^key[*kp]]; *kp = keystep[*kp]; 120 g2 ^= sbox[g1^key[*kp]]; *kp = keystep[*kp]; 129 *kp = ikeystep[*kp]; g2 ^= sbox[g1^key[*kp]]; 130 *kp = ikeystep[*kp]; g1 ^= sbox[g2^key[*kp]]; 131 *kp = ikeystep[*kp]; g2 ^= sbox[g1^key[*kp]]; 132 *kp = ikeystep[*kp]; g1 ^= sbox[g2^key[*kp]];
|
/external/valgrind/main/VEX/priv/ |
guest_amd64_helpers.c | 3309 static const UChar sbox[256] = { \/\/ row nr variable [all...] |
/external/bluetooth/bluedroid/stack/smp/ |
aes.c | 194 static const uint_8t sbox[256] = sb_data(f1); variable 205 #define s_box(x) sbox[(x)]
|