xref: /linux/crypto/aegis-neon.h (revision bfb921b2a9d5d1123d1d10b196a39db629ddef87)
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