HomeSort by relevance Sort by last modified time
    Searched refs:SBOX (Results 1 - 2 of 2) sorted by null

  /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...]
twofish_tab.c 19 static const unsigned char SBOX[2][256] = {
    [all...]

Completed in 62 milliseconds