aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-07-06 07:20:03 +0200
committerMattias Andrée <maandree@kth.se>2023-07-06 07:20:03 +0200
commit0c3cf7819ceb7fe970f0fc240fa177b4e6dd5506 (patch)
tree29dbd39a897dbef2e391a095d39fe03b07b22d94 /common.h
parentRemove -Wall -O3 from CFLAGS (unportable) and -s from LDFLAGS (diff)
downloadblakesum-0c3cf7819ceb7fe970f0fc240fa177b4e6dd5506.tar.gz
blakesum-0c3cf7819ceb7fe970f0fc240fa177b4e6dd5506.tar.bz2
blakesum-0c3cf7819ceb7fe970f0fc240fa177b4e6dd5506.tar.xz
Add -S (salt) to bsum
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.h b/common.h
index 96998a8..9eb4980 100644
--- a/common.h
+++ b/common.h
@@ -19,6 +19,7 @@ void *emalloc(size_t n);
int open_file(const char *path, int *closep);
int check_and_print(const char *path, size_t hashlen, int decode_hex, char newline);
int hash_and_print(const char *path, size_t hashlen, int decode_hex, char newline, int output_case);
+void parse_salt(uint_least8_t *salt, const char *s, size_t required_length);
/* *sum.c */
int hash_fd(int fd, const char *fname, int decode_hex, unsigned char hash[]);