blob: e5256836c54f24a0bf464b15b1f05fcbdca75d63 (
plain)
1
2
3
4
5
6
7
8
|
#ifndef PURE_SHA256_H
#define PURE_SHA256_H
#include <stddef.h>
/* SHA-256 (FIPS 180-4) of size bytes: an app's tokens are kept as these
* (docs/design/017's 3b), with no OpenSSL loaded to check them. */
void pure_sha256(const void *data, size_t size, unsigned char out[32]);
#endif
|