summaryrefslogtreecommitdiffstats
path: root/arch/s390/crypto/chacha-s390.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/crypto/chacha-s390.h')
-rw-r--r--arch/s390/crypto/chacha-s390.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/s390/crypto/chacha-s390.h b/arch/s390/crypto/chacha-s390.h
new file mode 100644
index 000000000..733744ce3
--- /dev/null
+++ b/arch/s390/crypto/chacha-s390.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * s390 ChaCha stream cipher.
+ *
+ * Copyright IBM Corp. 2021
+ */
+
+#ifndef _CHACHA_S390_H
+#define _CHACHA_S390_H
+
+void chacha20_vx(u8 *out, const u8 *inp, size_t len, const u32 *key,
+ const u32 *counter);
+
+#endif /* _CHACHA_S390_H */