Lines Matching defs:AEGIS_BLOCK_SIZE
16 #define AEGIS_BLOCK_SIZE 16
226 const int short_input = size < AEGIS_BLOCK_SIZE;
231 while (size >= AEGIS_BLOCK_SIZE) {
239 size -= AEGIS_BLOCK_SIZE;
240 src += AEGIS_BLOCK_SIZE;
241 dst += AEGIS_BLOCK_SIZE;
246 uint8_t buf[AEGIS_BLOCK_SIZE];
252 in = out = memcpy(buf + AEGIS_BLOCK_SIZE - size, src, size);
254 m = vqtbl1q_u8(vld1q_u8(in + size - AEGIS_BLOCK_SIZE),
259 vst1q_u8(out + size - AEGIS_BLOCK_SIZE,
265 vst1q_u8(out - AEGIS_BLOCK_SIZE, msg);
275 const int short_input = size < AEGIS_BLOCK_SIZE;
280 while (size >= AEGIS_BLOCK_SIZE) {
285 size -= AEGIS_BLOCK_SIZE;
286 src += AEGIS_BLOCK_SIZE;
287 dst += AEGIS_BLOCK_SIZE;
292 uint8_t buf[AEGIS_BLOCK_SIZE];
298 in = out = memcpy(buf + AEGIS_BLOCK_SIZE - size, src, size);
300 m = s ^ vqtbx1q_u8(s, vld1q_u8(in + size - AEGIS_BLOCK_SIZE),
305 vst1q_u8(out + size - AEGIS_BLOCK_SIZE,
311 vst1q_u8(out - AEGIS_BLOCK_SIZE, msg);