• Home
  • Raw
  • Download

Lines Matching refs:src

43 			    const u8 *src, unsigned int size);
71 const u8 *src, unsigned int size);
73 const u8 *src, unsigned int size);
136 const u8 *src, unsigned int size) in crypto_aegis128_ad() argument
138 if (AEGIS_ALIGNED(src)) { in crypto_aegis128_ad()
140 (const union aegis_block *)src; in crypto_aegis128_ad()
150 crypto_aegis128_update_u(state, src); in crypto_aegis128_ad()
153 src += AEGIS_BLOCK_SIZE; in crypto_aegis128_ad()
159 const u8 *src, unsigned int size) in crypto_aegis128_encrypt_chunk() argument
163 if (AEGIS_ALIGNED(src) && AEGIS_ALIGNED(dst)) { in crypto_aegis128_encrypt_chunk()
168 (const union aegis_block *)src; in crypto_aegis128_encrypt_chunk()
181 src += AEGIS_BLOCK_SIZE; in crypto_aegis128_encrypt_chunk()
190 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_encrypt_chunk()
192 crypto_aegis128_update_u(state, src); in crypto_aegis128_encrypt_chunk()
197 src += AEGIS_BLOCK_SIZE; in crypto_aegis128_encrypt_chunk()
204 memcpy(msg.bytes, src, size); in crypto_aegis128_encrypt_chunk()
220 const u8 *src, unsigned int size) in crypto_aegis128_decrypt_chunk() argument
224 if (AEGIS_ALIGNED(src) && AEGIS_ALIGNED(dst)) { in crypto_aegis128_decrypt_chunk()
229 (const union aegis_block *)src; in crypto_aegis128_decrypt_chunk()
242 src += AEGIS_BLOCK_SIZE; in crypto_aegis128_decrypt_chunk()
251 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_decrypt_chunk()
258 src += AEGIS_BLOCK_SIZE; in crypto_aegis128_decrypt_chunk()
265 memcpy(msg.bytes, src, size); in crypto_aegis128_decrypt_chunk()
294 const u8 *src = (const u8 *)mapped; in crypto_aegis128_process_ad() local
299 memcpy(buf.bytes + pos, src, fill); in crypto_aegis128_process_ad()
303 src += fill; in crypto_aegis128_process_ad()
306 crypto_aegis128_ad(state, src, left); in crypto_aegis128_process_ad()
307 src += left & ~(AEGIS_BLOCK_SIZE - 1); in crypto_aegis128_process_ad()
311 memcpy(buf.bytes + pos, src, left); in crypto_aegis128_process_ad()
340 ops->crypt_chunk(state, walk.dst.virt.addr, walk.src.virt.addr, in crypto_aegis128_process_crypt()
403 crypto_aegis128_process_ad(&state, req->src, req->assoclen); in crypto_aegis128_crypt()
445 scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen, in crypto_aegis128_decrypt()