Searched refs:sbox (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/
H A Darcfour.c38 byte sbox[256]; member in struct:__anon2562
47 register byte *sbox = ctx->sbox; local
54 j += sbox[i];
56 t = sbox[i]; sbox[i] = sbox[j]; sbox[j] = t;
57 *outbuf++ = *inbuf++ ^ sbox[(sbox[
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavutil/
H A Daes.c40 static uint8_t sbox[256]; variable
80 static inline void crypt(AVAES *a, int s, const uint8_t *sbox, const uint32_t *multbl){ argument
87 subshift(a->state[0][0], s, sbox);
102 crypt(a, 2, sbox, enc_multbl);
111 static void init_multbl2(uint8_t tbl[1024], const int c[4], const uint8_t *log8, const uint8_t *alog8, const uint8_t *sbox){ argument
114 int x= sbox[i>>2];
147 sbox [i]= j;
150 init_multbl2(enc_multbl[0], (const int[4]){0x2, 0x1, 0x1, 0x3}, log8, alog8, sbox);
165 tk[0][i] ^= sbox[tk[KC-1][(i+1)&3]];
172 for(i = 0; i < 4; i++) tk[j][i] ^= sbox[t
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/cifs/
H A Dsmbdes.c113 static uchar sbox[8][4][16] = { variable
277 (sbox[j][m][n] & (1 << (3 - k))) ? 1 : 0;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/libsmb/
H A Dsmbdes.c109 static const uchar sbox[8][4][16] = { variable
239 b[j][k] = (sbox[j][m][n] & (1<<(3-k)))?1:0;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/tests/
H A Dcrypttest.c132 * result of sbox lookups
142 static int sbox[8][4][16]= { variable
225 * They do sbox lookup, shifting of this value, 32 bit
315 /* lookup a 6 bit value in sbox */
317 #define s_lookup(i,s) sbox[(i)][(((s)>>4) & 0x2)|((s) & 0x1)][((s)>>1) & 0xf];
391 * values of the sbox lookups done with the two 6
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/lib/
H A Dufc.c109 * result of sbox lookups
119 static int sbox[8][4][16]= { variable
202 * They do sbox lookup, shifting of this value, 32 bit
292 /* lookup a 6 bit value in sbox */
294 #define s_lookup(i,s) sbox[(i)][(((s)>>4) & 0x2)|((s) & 0x1)][((s)>>1) & 0xf];
368 * values of the sbox lookups done with the two 6

Completed in 181 milliseconds