diff options
Diffstat (limited to 'librecrypt_crypt.c')
| -rw-r--r-- | librecrypt_crypt.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/librecrypt_crypt.c b/librecrypt_crypt.c new file mode 100644 index 0000000..6192650 --- /dev/null +++ b/librecrypt_crypt.c @@ -0,0 +1,26 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" +#ifndef TEST + + +ssize_t +librecrypt_crypt(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_CRYPT); +} + + +#else + + +int +main(void) +{ + SET_UP_ALARM(); + + return 0; +} + + +#endif +/* TODO test */ |
