HomeSort by: relevance | last modified time | path
    Searched refs:tweak (Results 1 - 25 of 28) sorted by relevancy

1 2

  /src/sys/crypto/aes/arch/arm/
aes_armv8.c 163 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
172 aesarmv8_xts_enc1(enc, in, out, nbytes % 128, tweak, nrounds);
180 aesarmv8_xts_enc8(enc, in, out, nbytes, tweak, nrounds);
187 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
196 aesarmv8_xts_dec1(dec, in, out, nbytes % 128, tweak, nrounds);
204 aesarmv8_xts_dec8(dec, in, out, nbytes, tweak, nrounds);
269 uint8_t tweak[16]; local
272 aesarmv8_xts_update(cases[i].in, tweak);
273 if (memcmp(tweak, cases[i].out, 16))
310 /* Verify that our XTS tweak update logic works. *
    [all...]
aes_neon_subr.c 203 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
211 t = loadblock(tweak);
235 storeblock(tweak, t);
240 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
248 t = loadblock(tweak);
272 storeblock(tweak, t);
  /src/sys/crypto/aes/arch/x86/
aes_sse2_4x32_impl.c 125 size_t nbytes, uint8_t tweak[static 16], uint32_t nrounds)
131 aes_sse2_4x32_xts_enc(enc, in, out, nbytes, tweak, nrounds);
138 size_t nbytes, uint8_t tweak[static 16], uint32_t nrounds)
144 aes_sse2_4x32_xts_dec(dec, in, out, nbytes, tweak, nrounds);
aes_ssse3_subr.c 173 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
181 t = loadblock(tweak);
188 storeblock(tweak, t);
193 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
201 t = loadblock(tweak);
208 storeblock(tweak, t);
aes_ni.c 267 uint8_t tweak[16]; local
270 aesni_xts_update(cases[i].in, tweak);
271 if (memcmp(tweak, cases[i].out, 16))
298 /* Verify that our XTS tweak update logic works. */
aes_sse2_4x32_subr.c 376 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
390 /* Load tweak. */
391 t[0] = _mm_loadu_epi8(tweak);
455 out: /* Store the updated tweak. */
456 _mm_storeu_epi8(tweak, t[0]);
466 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
480 /* Load tweak. */
481 t[0] = _mm_loadu_epi8(tweak);
545 out: /* Store the updated tweak. */
546 _mm_storeu_epi8(tweak, t[0])
    [all...]
aes_via.c 506 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
514 memcpy(t, tweak, 16);
527 * from `in', since we have to combine the tweak
587 memcpy(tweak, t, 16);
600 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
608 memcpy(t, tweak, 16);
621 * from `in', since we have to combine the tweak
681 memcpy(tweak, t, 16);
891 /* Verify that our XTS tweak update logic works. */
  /src/sys/arch/evbppc/nintendo/dev/
hwaes.c 496 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
506 aes_bear_impl.ai_xts_enc(enc, in, out, nbytes, tweak, nrounds);
512 t[0] = le32dec(tweak + 4*0);
513 t[1] = le32dec(tweak + 4*1);
514 t[2] = le32dec(tweak + 4*2);
515 t[3] = le32dec(tweak + 4*3);
540 le32enc(tweak + 4*0, t[0]);
541 le32enc(tweak + 4*1, t[1]);
542 le32enc(tweak + 4*2, t[2]);
543 le32enc(tweak + 4*3, t[3])
    [all...]
  /src/sys/crypto/aes/
aes_bear.c 394 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
410 /* Load tweak. */
411 t0 = le32dec(tweak + 4*0);
412 t1 = le32dec(tweak + 4*1);
413 t2 = le32dec(tweak + 4*2);
414 t3 = le32dec(tweak + 4*3);
449 /* Compute the upper tweak. */
485 out: /* Store the updated tweak. */
486 le32enc(tweak + 4*0, t0);
487 le32enc(tweak + 4*1, t1)
    [all...]
aes_bear64.c 443 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
461 /* Load tweak. */
462 t0 = le32dec(tweak + 4*0);
463 t1 = le32dec(tweak + 4*1);
464 t2 = le32dec(tweak + 4*2);
465 t3 = le32dec(tweak + 4*3);
540 out: /* Store the updated tweak. */
541 le32enc(tweak + 4*0, t0);
542 le32enc(tweak + 4*1, t1);
543 le32enc(tweak + 4*2, t2)
    [all...]
aes_impl.c 296 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
301 aes_impl->ai_xts_enc(enc, in, out, nbytes, tweak, nrounds);
306 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
311 aes_impl->ai_xts_dec(dec, in, out, nbytes, tweak, nrounds);
  /src/sys/arch/vax/vsa/
ncr.c 139 int tweak, target; local
206 tweak = clk_tweak + (va->va_paddr & 0x100 ? 3 : 0);
210 target = (clk_page[0xbc/2] >> tweak) & 7;
  /src/sys/dev/
cgd_crypto.c 265 uint8_t tweak[CGD_AES_BLOCK_SIZE]; local
267 /* Compute the initial tweak as AES_k(blkno). */
268 aes_enc(&ax->ax_tweakkey, blkno, tweak, ax->ax_nrounds);
272 aes_xts_enc(&ax->ax_enckey, src, dst, nbytes, tweak,
276 aes_xts_dec(&ax->ax_deckey, src, dst, nbytes, tweak,
  /src/sys/arch/mac68k/mac68k/
pramasm.s 338 swap %d1 | now we want to tweak the command
  /src/sys/arch/virt68k/virt68k/
locore.s 289 clrw %d0 | no, need to tweak BIU
  /src/sys/arch/luna68k/stand/boot/
locore.S 428 clrw %d0 | no, need to tweak BIU
  /src/sys/arch/next68k/next68k/
locore.s 458 clrw %d0 | no, need to tweak BIU
  /src/sys/arch/sun3/sun3/
locore.s 305 clrw %d0 | no, need to tweak BIU
  /src/sys/arch/sun3/sun3x/
locore.s 290 clrw %d0 | no, need to tweak BIU
  /src/sys/arch/cesfic/cesfic/
locore.s 452 clrw %d0 | no, need to tweak BIU
  /src/sys/arch/luna68k/luna68k/
locore.s 365 clrw %d0 | no, need to tweak BIU
  /src/sys/arch/mvme68k/mvme68k/
locore.s 720 clrw %d0 | no, need to tweak BIU
  /src/sys/arch/news68k/news68k/
locore.s 446 clrw %d0 | no, need to tweak BIU
  /src/sys/arch/x68k/x68k/
locore.s 472 clrw %d0 | no, need to tweak BIU
  /src/sys/arch/atari/atari/
locore.s 330 clrw %d0 | no, need to tweak BIU

Completed in 63 milliseconds

1 2