Lines Matching refs:state1
278 static void aesni_set_rk_192(__m128i *state0, __m128i *state1, __m128i xword, in aesni_set_rk_192() argument
302 xword = _mm_xor_si128(xword, *state1); // stuff:stuff:r9+r5:r9+r4 in aesni_set_rk_192()
303 *state1 = _mm_slli_si128(*state1, 4); // stuff:stuff:r4:0 in aesni_set_rk_192()
304 xword = _mm_xor_si128(xword, *state1); // stuff:stuff:r9+r5+r4:r9+r4 in aesni_set_rk_192()
305 *state1 = xword; // = stuff:stuff:r11:r10 in aesni_set_rk_192()
311 memcpy(rk + 16, state1, 8); in aesni_set_rk_192()
321 __m128i state1 = _mm_loadl_epi64(((__m128i *) rk) + 1); in aesni_setkey_enc_192() local
323 aesni_set_rk_192(&state0, &state1, _mm_aeskeygenassist_si128(state1, 0x01), rk + 24 * 1); in aesni_setkey_enc_192()
324 aesni_set_rk_192(&state0, &state1, _mm_aeskeygenassist_si128(state1, 0x02), rk + 24 * 2); in aesni_setkey_enc_192()
325 aesni_set_rk_192(&state0, &state1, _mm_aeskeygenassist_si128(state1, 0x04), rk + 24 * 3); in aesni_setkey_enc_192()
326 aesni_set_rk_192(&state0, &state1, _mm_aeskeygenassist_si128(state1, 0x08), rk + 24 * 4); in aesni_setkey_enc_192()
327 aesni_set_rk_192(&state0, &state1, _mm_aeskeygenassist_si128(state1, 0x10), rk + 24 * 5); in aesni_setkey_enc_192()
328 aesni_set_rk_192(&state0, &state1, _mm_aeskeygenassist_si128(state1, 0x20), rk + 24 * 6); in aesni_setkey_enc_192()
329 aesni_set_rk_192(&state0, &state1, _mm_aeskeygenassist_si128(state1, 0x40), rk + 24 * 7); in aesni_setkey_enc_192()
330 aesni_set_rk_192(&state0, &state1, _mm_aeskeygenassist_si128(state1, 0x80), rk + 24 * 8); in aesni_setkey_enc_192()
336 static void aesni_set_rk_256(__m128i state0, __m128i state1, __m128i xword, in aesni_set_rk_256() argument
362 xword = _mm_xor_si128(xword, state1); in aesni_set_rk_256()
363 state1 = _mm_slli_si128(state1, 4); in aesni_set_rk_256()
364 xword = _mm_xor_si128(xword, state1); in aesni_set_rk_256()
365 state1 = _mm_slli_si128(state1, 4); in aesni_set_rk_256()
366 xword = _mm_xor_si128(xword, state1); in aesni_set_rk_256()
367 state1 = _mm_slli_si128(state1, 4); in aesni_set_rk_256()
368 state1 = _mm_xor_si128(state1, xword); in aesni_set_rk_256()
369 *rk1 = state1; in aesni_set_rk_256()