Lines Matching refs:dst
42 void (*crypt_chunk)(struct aegis_state *state, u8 *dst,
70 void crypto_aegis128_encrypt_chunk_simd(struct aegis_state *state, u8 *dst,
72 void crypto_aegis128_decrypt_chunk_simd(struct aegis_state *state, u8 *dst,
158 static void crypto_aegis128_encrypt_chunk(struct aegis_state *state, u8 *dst, in crypto_aegis128_encrypt_chunk() argument
163 if (AEGIS_ALIGNED(src) && AEGIS_ALIGNED(dst)) { in crypto_aegis128_encrypt_chunk()
166 (union aegis_block *)dst; in crypto_aegis128_encrypt_chunk()
182 dst += AEGIS_BLOCK_SIZE; in crypto_aegis128_encrypt_chunk()
194 memcpy(dst, tmp.bytes, AEGIS_BLOCK_SIZE); in crypto_aegis128_encrypt_chunk()
198 dst += AEGIS_BLOCK_SIZE; in crypto_aegis128_encrypt_chunk()
215 memcpy(dst, msg.bytes, size); in crypto_aegis128_encrypt_chunk()
219 static void crypto_aegis128_decrypt_chunk(struct aegis_state *state, u8 *dst, in crypto_aegis128_decrypt_chunk() argument
224 if (AEGIS_ALIGNED(src) && AEGIS_ALIGNED(dst)) { in crypto_aegis128_decrypt_chunk()
227 (union aegis_block *)dst; in crypto_aegis128_decrypt_chunk()
243 dst += AEGIS_BLOCK_SIZE; in crypto_aegis128_decrypt_chunk()
255 memcpy(dst, tmp.bytes, AEGIS_BLOCK_SIZE); in crypto_aegis128_decrypt_chunk()
259 dst += AEGIS_BLOCK_SIZE; in crypto_aegis128_decrypt_chunk()
277 memcpy(dst, msg.bytes, size); in crypto_aegis128_decrypt_chunk()
340 ops->crypt_chunk(state, walk.dst.virt.addr, walk.src.virt.addr, in crypto_aegis128_process_crypt()
427 scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen, in crypto_aegis128_encrypt()