Lines Matching refs:dst
87 xts_uint128 *dst, in xts_tweak_encdec() argument
91 xts_uint128_xor(dst, src, iv); in xts_tweak_encdec()
93 func(ctx, XTS_BLOCK_SIZE, dst->b, dst->b); in xts_tweak_encdec()
95 xts_uint128_xor(dst, dst, iv); in xts_tweak_encdec()
108 uint8_t *dst, in xts_decrypt() argument
131 QEMU_PTR_IS_ALIGNED(dst, sizeof(uint64_t))) { in xts_decrypt()
133 xts_uint128 *D = (xts_uint128 *)dst; in xts_decrypt()
143 memcpy(dst, &D, XTS_BLOCK_SIZE); in xts_decrypt()
145 dst += XTS_BLOCK_SIZE; in xts_decrypt()
162 dst[XTS_BLOCK_SIZE + i] = PP.b[i]; in xts_decrypt()
170 memcpy(dst, &D, XTS_BLOCK_SIZE); in xts_decrypt()
184 uint8_t *dst, in xts_encrypt() argument
207 QEMU_PTR_IS_ALIGNED(dst, sizeof(uint64_t))) { in xts_encrypt()
209 xts_uint128 *D = (xts_uint128 *)dst; in xts_encrypt()
219 memcpy(dst, &D, XTS_BLOCK_SIZE); in xts_encrypt()
221 dst += XTS_BLOCK_SIZE; in xts_encrypt()
236 dst[XTS_BLOCK_SIZE + i] = CC.b[i]; in xts_encrypt()
245 memcpy(dst, &D, XTS_BLOCK_SIZE); in xts_encrypt()