Lines Matching refs:sbox
994 unsigned char sbox[256]; member
1008 text->sbox[i]=i;
1014 j = (j + text->sbox[i] + key[i % keylen]) % 256;
1017 tmp = text->sbox[i];
1018 text->sbox[i] = text->sbox[j];
1019 text->sbox[j] = tmp;
1042 j = (j + text->sbox[i]) % 256;
1045 tmp = text->sbox[i];
1046 text->sbox[i] = text->sbox[j];
1047 text->sbox[j] = tmp;
1049 t = (text->sbox[i] + text->sbox[j]) % 256;
1051 K = text->sbox[t];
1076 j = (j + text->sbox[i]) % 256;
1079 tmp = text->sbox[i];
1080 text->sbox[i] = text->sbox[j];
1081 text->sbox[j] = tmp;
1083 t = (text->sbox[i] + text->sbox[j]) % 256;
1085 K = text->sbox[t];