aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_hash_.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-09-23 23:26:11 +0200
committerMattias Andrée <m@maandree.se>2026-09-23 23:26:11 +0200
commite60342575a888dd13fc2df841a8d4c7ef683ae6e (patch)
treeb0265cc2a6349fcf2907f55c1c0058a53a4304d4 /librecrypt_hash_.c
parentAdd version testing functionality and bump to version 1.2 (diff)
downloadlibrecrypt-e60342575a888dd13fc2df841a8d4c7ef683ae6e.tar.gz
librecrypt-e60342575a888dd13fc2df841a8d4c7ef683ae6e.tar.bz2
librecrypt-e60342575a888dd13fc2df841a8d4c7ef683ae6e.tar.xz
Introduce librecrypt_concat_*_
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'librecrypt_hash_.c')
-rw-r--r--librecrypt_hash_.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/librecrypt_hash_.c b/librecrypt_hash_.c
index 164a47b..fcaa795 100644
--- a/librecrypt_hash_.c
+++ b/librecrypt_hash_.c
@@ -46,6 +46,8 @@ ssize_t
librecrypt_hash_(char *restrict out_buffer, size_t size, const char *phrase, size_t len,
const char *settings, LIBRECRYPT_CONTEXT *ctx, enum action action)
{
+ /* TODO rewrite to use the string building functions */
+
const struct librecrypt_algorithm *algo;
ssize_t (*rng)(void *out, size_t n, void *user) = NULL;
char *settings_scratch = NULL;