Lines Matching refs:S
1166 unsigned int *L, *S; in rtl_cipherARCFOUR_init_Impl() local
1170 S = &(ctx->m_S[0]); in rtl_cipherARCFOUR_init_Impl()
1174 S[x] = x; in rtl_cipherARCFOUR_init_Impl()
1187 y = (y + S[x] + K[x]) % CIPHER_CBLOCK_ARCFOUR; in rtl_cipherARCFOUR_init_Impl()
1188 t = S[x], S[x] = S[y], S[y] = t; /* swap S[x] and S[y] */ in rtl_cipherARCFOUR_init_Impl()
1206 register unsigned int *S; in rtl_cipherARCFOUR_update_Impl() local
1218 S = &(ctx->m_S[0]); in rtl_cipherARCFOUR_update_Impl()
1225 y = (y + S[x]) % CIPHER_CBLOCK_ARCFOUR; in rtl_cipherARCFOUR_update_Impl()
1230 t = S[x], S[x] = S[y], S[y] = t; in rtl_cipherARCFOUR_update_Impl()
1233 t = (S[x] + S[y]) % CIPHER_CBLOCK_ARCFOUR; in rtl_cipherARCFOUR_update_Impl()
1234 pBuffer[k] = pData[k] ^ ((sal_uInt8)(S[t] & 0xff)); in rtl_cipherARCFOUR_update_Impl()