summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-17 20:41:20 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-18 04:21:16 +0200
commit023db2863e36fe648b62e21c30fda0f38765323b (patch)
treed3338db146361b72bfb406ba601c628e67bfbfde /src/crypto/zinc.h
parent1906c279fbe3420e31a5a48a19b6daac5fbf1904 (diff)
crypto: turn Zinc into individual modules
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc.h')
-rw-r--r--src/crypto/zinc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/crypto/zinc.h b/src/crypto/zinc.h
new file mode 100644
index 0000000..9eab015
--- /dev/null
+++ b/src/crypto/zinc.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
+
+#ifndef _WG_ZINC_H
+#define _WG_ZINC_H
+
+int chacha20_mod_init(void);
+int poly1305_mod_init(void);
+int chacha20poly1305_mod_init(void);
+int blake2s_mod_init(void);
+int curve25519_mod_init(void);
+
+#endif