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