• Home
  • Raw
  • Download

Lines Matching refs:size

124 			       const u8 *src, unsigned int size,  in crypto_aegis128_ad()  argument
131 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis128_ad()
134 size -= AEGIS_BLOCK_SIZE; in crypto_aegis128_ad()
138 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis128_ad()
141 size -= AEGIS_BLOCK_SIZE; in crypto_aegis128_ad()
148 const u8 *src, unsigned int size) in crypto_aegis128_wipe_chunk() argument
150 memzero_explicit(dst, size); in crypto_aegis128_wipe_chunk()
154 const u8 *src, unsigned int size) in crypto_aegis128_encrypt_chunk() argument
159 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis128_encrypt_chunk()
175 size -= AEGIS_BLOCK_SIZE; in crypto_aegis128_encrypt_chunk()
180 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis128_encrypt_chunk()
191 size -= AEGIS_BLOCK_SIZE; in crypto_aegis128_encrypt_chunk()
197 if (size > 0) { in crypto_aegis128_encrypt_chunk()
199 memcpy(msg.bytes, src, size); in crypto_aegis128_encrypt_chunk()
210 memcpy(dst, msg.bytes, size); in crypto_aegis128_encrypt_chunk()
215 const u8 *src, unsigned int size) in crypto_aegis128_decrypt_chunk() argument
220 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis128_decrypt_chunk()
236 size -= AEGIS_BLOCK_SIZE; in crypto_aegis128_decrypt_chunk()
241 while (size >= AEGIS_BLOCK_SIZE) { in crypto_aegis128_decrypt_chunk()
252 size -= AEGIS_BLOCK_SIZE; in crypto_aegis128_decrypt_chunk()
258 if (size > 0) { in crypto_aegis128_decrypt_chunk()
260 memcpy(msg.bytes, src, size); in crypto_aegis128_decrypt_chunk()
268 memset(msg.bytes + size, 0, AEGIS_BLOCK_SIZE - size); in crypto_aegis128_decrypt_chunk()
272 memcpy(dst, msg.bytes, size); in crypto_aegis128_decrypt_chunk()
287 unsigned int size = scatterwalk_clamp(&walk, assoclen); in crypto_aegis128_process_ad() local
288 unsigned int left = size; in crypto_aegis128_process_ad()
292 if (pos + size >= AEGIS_BLOCK_SIZE) { in crypto_aegis128_process_ad()
310 assoclen -= size; in crypto_aegis128_process_ad()
312 scatterwalk_advance(&walk, size); in crypto_aegis128_process_ad()
327 unsigned int size)) in crypto_aegis128_process_crypt() argument