diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-21 17:12:20 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-21 17:12:20 +0200 |
| commit | b29f4153e83623f24bebe99976e1368ef31bb008 (patch) | |
| tree | 65473709df1194a2f9277dc5fb47add5e41430c0 /librecrypt_get_user_data.c | |
| parent | Add (so far untested and undocument) support for pepper (diff) | |
| download | librecrypt-b29f4153e83623f24bebe99976e1368ef31bb008.tar.gz librecrypt-b29f4153e83623f24bebe99976e1368ef31bb008.tar.bz2 librecrypt-b29f4153e83623f24bebe99976e1368ef31bb008.tar.xz | |
Add support for custom hash functions
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'librecrypt_get_user_data.c')
| -rw-r--r-- | librecrypt_get_user_data.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/librecrypt_get_user_data.c b/librecrypt_get_user_data.c new file mode 100644 index 0000000..978794b --- /dev/null +++ b/librecrypt_get_user_data.c @@ -0,0 +1,24 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" +#ifndef TEST + + +void * +librecrypt_get_user_data(const LIBRECRYPT_CONTEXT *ctx) +{ + return ctx->user_data; +} + + +#else + + +CONST int +main(void) +{ + /* Tested in librecrypt_set_user_data.c */ + return 0; +} + + +#endif |
