Home
last modified time | relevance | path

Searched refs:BAD_ALIGN (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-crypto-xts.c421 #define BAD_ALIGN 3 in test_xts_unaligned() macro
423 uint8_t in[512 + BAD_ALIGN], out[512 + BAD_ALIGN]; in test_xts_unaligned()
424 uint8_t Torg[16], T[16 + BAD_ALIGN]; in test_xts_unaligned()
439 memcpy(T + BAD_ALIGN, Torg, 16); in test_xts_unaligned()
444 T + BAD_ALIGN, data->PTLEN, out, in); in test_xts_unaligned()
450 memcpy(in + BAD_ALIGN, data->PTX, data->PTLEN); in test_xts_unaligned()
454 T, data->PTLEN, out, in + BAD_ALIGN); in test_xts_unaligned()
464 T, data->PTLEN, out + BAD_ALIGN, in); in test_xts_unaligned()
470 memcpy(T + BAD_ALIGN, Torg, 16); in test_xts_unaligned()
475 T + BAD_ALIGN, data->PTLEN, out, in); in test_xts_unaligned()
[all …]