Lines Matching refs:out
343 uint8_t out[512], Torg[16], T[16]; in test_xts() local
361 T, data->PTLEN, out, data->PTX); in test_xts()
363 g_assert(memcmp(out, data->CTX, data->PTLEN) == 0); in test_xts()
369 T, data->PTLEN, out, data->CTX); in test_xts()
371 g_assert(memcmp(out, data->PTX, data->PTLEN) == 0); in test_xts()
378 uint8_t out[512], Torg[16], T[16]; in test_xts_split() local
397 T, len, out, data->PTX); in test_xts_split()
401 T, len, &out[len], &data->PTX[len]); in test_xts_split()
403 g_assert(memcmp(out, data->CTX, data->PTLEN) == 0); in test_xts_split()
409 T, len, out, data->CTX); in test_xts_split()
413 T, len, &out[len], &data->CTX[len]); in test_xts_split()
415 g_assert(memcmp(out, data->PTX, data->PTLEN) == 0); in test_xts_split()
423 uint8_t in[512 + BAD_ALIGN], out[512 + BAD_ALIGN]; in test_xts_unaligned() local
444 T + BAD_ALIGN, data->PTLEN, out, in); in test_xts_unaligned()
446 g_assert(memcmp(out, data->CTX, data->PTLEN) == 0); in test_xts_unaligned()
454 T, data->PTLEN, out, in + BAD_ALIGN); in test_xts_unaligned()
456 g_assert(memcmp(out, data->CTX, data->PTLEN) == 0); in test_xts_unaligned()
464 T, data->PTLEN, out + BAD_ALIGN, in); in test_xts_unaligned()
466 g_assert(memcmp(out + BAD_ALIGN, data->CTX, data->PTLEN) == 0); in test_xts_unaligned()
475 T + BAD_ALIGN, data->PTLEN, out, in); in test_xts_unaligned()
477 g_assert(memcmp(out, data->PTX, data->PTLEN) == 0); in test_xts_unaligned()
485 T, data->PTLEN, out, in + BAD_ALIGN); in test_xts_unaligned()
487 g_assert(memcmp(out, data->PTX, data->PTLEN) == 0); in test_xts_unaligned()
495 T, data->PTLEN, out + BAD_ALIGN, in); in test_xts_unaligned()
497 g_assert(memcmp(out + BAD_ALIGN, data->PTX, data->PTLEN) == 0); in test_xts_unaligned()