Lines Matching refs:tweak
308 aesni_crypt_xts_block(int rounds, const __m128i *key_schedule, __m128i *tweak,
313 block = _mm_loadu_si128((const __m128i *)from) ^ *tweak;
320 _mm_storeu_si128((__m128i *)to, block ^ *tweak);
322 *tweak = xts_crank_lfsr(*tweak);
326 aesni_crypt_xts_block8(int rounds, const __m128i *key_schedule, __m128i *tweak,
336 tmptweak = *tweak;
358 *tweak = tmptweak;
384 uint8_t tweak[AES_XTS_BLOCKSIZE] __aligned(16);
388 * Prepare tweak as E_k2(IV). IV is specified as LE representation
392 bcopy(iv, tweak, AES_XTS_IVSIZE);
394 bzero(tweak + AES_XTS_IVSIZE, AES_XTS_IVSIZE);
398 tweakreg = _mm_loadu_si128((__m128i *)&tweak[0]);