diff options
author | Mattias Andrée <maandree@kth.se> | 2023-07-06 07:20:03 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-07-06 07:20:03 +0200 |
commit | 0c3cf7819ceb7fe970f0fc240fa177b4e6dd5506 (patch) | |
tree | 29dbd39a897dbef2e391a095d39fe03b07b22d94 /common.h | |
parent | Remove -Wall -O3 from CFLAGS (unportable) and -s from LDFLAGS (diff) | |
download | blakesum-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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[]); |