Home
last modified time | relevance | path

Searched refs:AEGIS128_BLOCK_SIZE (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/crypto/
H A Daegis128-aesni-glue.c19 #define AEGIS128_BLOCK_SIZE 16 macro
48 u8 bytes[AEGIS128_BLOCK_SIZE] __aligned(AEGIS128_BLOCK_ALIGN);
84 if (pos + size >= AEGIS128_BLOCK_SIZE) { in crypto_aegis128_aesni_process_ad()
86 unsigned int fill = AEGIS128_BLOCK_SIZE - pos; in crypto_aegis128_aesni_process_ad()
89 AEGIS128_BLOCK_SIZE, in crypto_aegis128_aesni_process_ad()
98 src += left & ~(AEGIS128_BLOCK_SIZE - 1); in crypto_aegis128_aesni_process_ad()
99 left &= AEGIS128_BLOCK_SIZE - 1; in crypto_aegis128_aesni_process_ad()
112 memset(buf.bytes + pos, 0, AEGIS128_BLOCK_SIZE - pos); in crypto_aegis128_aesni_process_ad()
121 while (walk->nbytes >= AEGIS128_BLOCK_SIZE) { in crypto_aegis128_aesni_process_crypt()
123 round_down(walk->nbytes, AEGIS128_BLOCK_SIZE), in crypto_aegis128_aesni_process_crypt()
[all …]