From d77ab463184d113ca6119403887c9f4ed0dfdf0b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 26 Apr 2026 22:36:47 +0200 Subject: First commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librecrypt_hash.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 librecrypt_hash.c (limited to 'librecrypt_hash.c') diff --git a/librecrypt_hash.c b/librecrypt_hash.c new file mode 100644 index 0000000..267aa31 --- /dev/null +++ b/librecrypt_hash.c @@ -0,0 +1,26 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" +#ifndef TEST + + +ssize_t +librecrypt_hash(char *restrict out_buffer, size_t size, const char *phrase, size_t len, const char *settings, void *reserved) +{ + return librecrypt_hash_(out_buffer, size, phrase, len, settings, reserved, ASCII_HASH); +} + + +#else + + +int +main(void) +{ + SET_UP_ALARM(); + + return 0; +} + + +#endif +/* TODO test */ -- cgit v1.2.3-70-g09d2