summaryrefslogtreecommitdiffstats
path: root/crypto/aegis-neon.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--crypto/aegis-neon.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/crypto/aegis-neon.h b/crypto/aegis-neon.h
new file mode 100644
index 0000000000..61e5614b45
--- /dev/null
+++ b/crypto/aegis-neon.h
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#ifndef _AEGIS_NEON_H
+#define _AEGIS_NEON_H
+
+void crypto_aegis128_init_neon(void *state, const void *key, const void *iv);
+void crypto_aegis128_update_neon(void *state, const void *msg);
+void crypto_aegis128_encrypt_chunk_neon(void *state, void *dst, const void *src,
+ unsigned int size);
+void crypto_aegis128_decrypt_chunk_neon(void *state, void *dst, const void *src,
+ unsigned int size);
+int crypto_aegis128_final_neon(void *state, void *tag_xor,
+ unsigned int assoclen,
+ unsigned int cryptlen,
+ unsigned int authsize);
+
+#endif