Lines Matching refs:dst
95 const uint8_t *data, size_t len, uint8_t *dst) in cbc_cts_update() argument
106 mode, last_block, data, len, dst); in cbc_cts_update()
126 (nb_blocks - 1) * block_size, dst); in cbc_cts_update()
130 memcpy(dst + (nb_blocks - 1) * block_size, in cbc_cts_update()
131 dst + (nb_blocks - 2) * block_size, in cbc_cts_update()
136 dst + (nb_blocks - 2) * block_size); in cbc_cts_update()
163 block_size, dst); in cbc_cts_update()
170 dst + in cbc_cts_update()
183 memcpy(dst + (nb_blocks - 1) * block_size, tmp_block, in cbc_cts_update()
190 const uint8_t *data, size_t len, uint8_t *dst) in cts_update() argument
195 dst); in cts_update()
219 struct cts_ctx *dst = to_cts_ctx(dst_ctx); in cts_copy_state() local
221 crypto_cipher_copy_state(dst->cbc, src->cbc); in cts_copy_state()
222 crypto_cipher_copy_state(dst->ecb, src->ecb); in cts_copy_state()
223 dst->mode = src->mode; in cts_copy_state()