]> git.ipfire.org Git - thirdparty/util-linux.git/blob - include/sha256.h
Merge branch 'PR/libmount-exec-errors' of github.com:karelzak/util-linux-work
[thirdparty/util-linux.git] / include / sha256.h
1 /*
2 * No copyright is claimed. This code is in the public domain; do with
3 * it what you wish.
4 */
5 #ifndef UTIL_LINUX_SHA256_H
6 #define UTIL_LINUX_SHA256_H
7
8 #include <stddef.h>
9
10 #define UL_SHA256LENGTH 32
11
12 extern void ul_SHA256(unsigned char hash_out[UL_SHA256LENGTH], const unsigned char *str, size_t len);
13
14 #endif /* UTIL_LINUX_SHA256_H */