libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / include / sodium / crypto_hash_sha256.h
blobef93f9a417e7556f21856996e016e9c62630d041
1 #ifndef crypto_hash_sha256_H
2 #define crypto_hash_sha256_H
4 #include <stddef.h>
5 #include "export.h"
7 #define crypto_hash_sha256_BYTES 32U
8 #define crypto_hash_sha256_BLOCKBYTES 64U
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 SODIUM_EXPORT
15 size_t crypto_hash_sha256_bytes(void);
17 SODIUM_EXPORT
18 const char * crypto_hash_sha256_primitive(void);
20 SODIUM_EXPORT
21 int crypto_hash_sha256(unsigned char *,const unsigned char *,unsigned long long);
23 #ifdef __cplusplus
25 #endif
27 #define crypto_hash_sha256_ref crypto_hash_sha256
29 #endif