libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / include / sodium / crypto_hashblocks_sha256.h
blob734a577f77165a1b565d9bd0d487ddf4c5b28e28
1 #ifndef crypto_hashblocks_sha256_H
2 #define crypto_hashblocks_sha256_H
4 #include <stddef.h>
5 #include "export.h"
7 #define crypto_hashblocks_sha256_STATEBYTES 32U
8 #define crypto_hashblocks_sha256_BLOCKBYTES 64U
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 SODIUM_EXPORT
15 size_t crypto_hashblocks_sha256_statebytes(void);
17 SODIUM_EXPORT
18 size_t crypto_hashblocks_sha256_blockbytes(void);
20 SODIUM_EXPORT
21 const char * crypto_hashblocks_sha256_primitive(void);
23 SODIUM_EXPORT
24 int crypto_hashblocks_sha256(unsigned char *,const unsigned char *,unsigned long long);
26 #ifdef __cplusplus
28 #endif
30 #define crypto_hashblocks_sha256_ref crypto_hashblocks_sha256
32 #endif