Lines Matching refs:msg
62 void crypto_aegis128_update_simd(struct aegis_state *state, const void *msg);
87 const union aegis_block *msg) in crypto_aegis128_update_a() argument
90 crypto_aegis128_update_simd(state, msg); in crypto_aegis128_update_a()
95 crypto_aegis_block_xor(&state->blocks[0], msg); in crypto_aegis128_update_a()
98 static void crypto_aegis128_update_u(struct aegis_state *state, const void *msg) in crypto_aegis128_update_u() argument
101 crypto_aegis128_update_simd(state, msg); in crypto_aegis128_update_u()
106 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis128_update_u()
202 union aegis_block msg = {}; in crypto_aegis128_encrypt_chunk() local
203 memcpy(msg.bytes, src, size); in crypto_aegis128_encrypt_chunk()
210 crypto_aegis128_update_a(state, &msg); in crypto_aegis128_encrypt_chunk()
212 crypto_aegis_block_xor(&msg, &tmp); in crypto_aegis128_encrypt_chunk()
214 memcpy(dst, msg.bytes, size); in crypto_aegis128_encrypt_chunk()
263 union aegis_block msg = {}; in crypto_aegis128_decrypt_chunk() local
264 memcpy(msg.bytes, src, size); in crypto_aegis128_decrypt_chunk()
270 crypto_aegis_block_xor(&msg, &tmp); in crypto_aegis128_decrypt_chunk()
272 memset(msg.bytes + size, 0, AEGIS_BLOCK_SIZE - size); in crypto_aegis128_decrypt_chunk()
274 crypto_aegis128_update_a(state, &msg); in crypto_aegis128_decrypt_chunk()
276 memcpy(dst, msg.bytes, size); in crypto_aegis128_decrypt_chunk()