aboutsummaryrefslogtreecommitdiffstats
path: root/argon2/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'argon2/hash.c')
-rw-r--r--argon2/hash.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/argon2/hash.c b/argon2/hash.c
new file mode 100644
index 0000000..ff4a4f8
--- /dev/null
+++ b/argon2/hash.c
@@ -0,0 +1,36 @@
+/* See LICENSE file for copyright and license details. */
+#include "../common.h"
+#ifndef TEST
+
+#include <libar2.h>
+#include <libar2simplified.h>
+
+
+int
+librecrypt__argon2__hash(char *restrict out_buffer, size_t size, const char *phrase, size_t len,
+ const char *settings, size_t prefix, void *reserved)
+{
+ /* TODO implement */
+ (void) out_buffer;
+ (void) size;
+ (void) phrase;
+ (void) len;
+ (void) settings;
+ (void) prefix;
+ (void) reserved;
+ return 0;
+}
+
+
+#else
+
+
+CONST int
+main(void)
+{
+ return 0;
+}
+
+
+#endif
+/* TODO test */