Lines Matching defs:tweak
202 aesni_crypt_xts_block(int rounds, const __m128i *key_schedule, __m128i *tweak,
207 block = _mm_loadu_si128((const __m128i *)from) ^ *tweak;
214 _mm_storeu_si128((__m128i *)to, block ^ *tweak);
216 *tweak = xts_crank_lfsr(*tweak);
220 aesni_crypt_xts_block8(int rounds, const __m128i *key_schedule, __m128i *tweak,
230 tmptweak = *tweak;
252 *tweak = tmptweak;
278 uint8_t tweak[AES_XTS_BLOCKSIZE] __aligned(16);
282 * Prepare tweak as E_k2(IV). IV is specified as LE representation
286 bcopy(iv, tweak, AES_XTS_IVSIZE);
288 bzero(tweak + AES_XTS_IVSIZE, AES_XTS_IVSIZE);
292 tweakreg = _mm_loadu_si128((__m128i *)&tweak[0]);