diff options
author | Mattias Andrée <maandree@kth.se> | 2022-01-06 00:51:14 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-01-06 00:51:14 +0100 |
commit | df593680b8adf2ab6924ff38acbeb7b42977c9a0 (patch) | |
tree | 63f3c823e43213e6d72f00bc8575ea2fb505bdab /libblake.h | |
parent | First commit (diff) | |
download | libblake-df593680b8adf2ab6924ff38acbeb7b42977c9a0.tar.gz libblake-df593680b8adf2ab6924ff38acbeb7b42977c9a0.tar.bz2 libblake-df593680b8adf2ab6924ff38acbeb7b42977c9a0.tar.xz |
libblake_decode_hex: verify input
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libblake.h')
-rw-r--r-- | libblake.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ #endif void libblake_encode_hex(const void *data, size_t n, char out[/* static n * 2 + 1 */], int uppercase); -size_t libblake_decode_hex(const char *data, size_t n, void *out); +size_t libblake_decode_hex(const char *data, size_t n, void *out, int *validp); #define LIBBLAKE_BLAKE224_OUTPUT_SIZE (224 / 8) #define LIBBLAKE_BLAKE256_OUTPUT_SIZE (256 / 8) |