xref: /linux/crypto/aegis-neon.h (revision 9f7861c56b51b84d30114e7fea9d744a9d5ba9b7)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 
3 #ifndef _AEGIS_NEON_H
4 #define _AEGIS_NEON_H
5 
6 void crypto_aegis128_init_neon(void *state, const void *key, const void *iv);
7 void crypto_aegis128_update_neon(void *state, const void *msg);
8 void crypto_aegis128_encrypt_chunk_neon(void *state, void *dst, const void *src,
9 					unsigned int size);
10 void crypto_aegis128_decrypt_chunk_neon(void *state, void *dst, const void *src,
11 					unsigned int size);
12 int crypto_aegis128_final_neon(void *state, void *tag_xor,
13 			       unsigned int assoclen,
14 			       unsigned int cryptlen,
15 			       unsigned int authsize);
16 
17 #endif
18