Lines Matching defs:sbox
995 unsigned char sbox[256];
1009 text->sbox[i]=i;
1015 j = (j + text->sbox[i] + key[i % keylen]) % 256;
1018 tmp = text->sbox[i];
1019 text->sbox[i] = text->sbox[j];
1020 text->sbox[j] = tmp;
1043 j = (j + text->sbox[i]) % 256;
1046 tmp = text->sbox[i];
1047 text->sbox[i] = text->sbox[j];
1048 text->sbox[j] = tmp;
1050 t = (text->sbox[i] + text->sbox[j]) % 256;
1052 K = text->sbox[t];
1077 j = (j + text->sbox[i]) % 256;
1080 tmp = text->sbox[i];
1081 text->sbox[i] = text->sbox[j];
1082 text->sbox[j] = tmp;
1084 t = (text->sbox[i] + text->sbox[j]) % 256;
1086 K = text->sbox[t];