libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / include / sodium / crypto_hashblocks_sha512.h
blob50ce5fc64c45168d701de6aa16d77bf7ee4b7d76
1 #ifndef crypto_hashblocks_sha512_H
2 #define crypto_hashblocks_sha512_H
4 #include <stddef.h>
5 #include "export.h"
7 #define crypto_hashblocks_sha512_STATEBYTES 64U
8 #define crypto_hashblocks_sha512_BLOCKBYTES 128U
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 SODIUM_EXPORT
15 size_t crypto_hashblocks_sha512_statebytes(void);
17 SODIUM_EXPORT
18 size_t crypto_hashblocks_sha512_blockbytes(void);
20 SODIUM_EXPORT
21 const char * crypto_hashblocks_sha512_primitive(void);
23 SODIUM_EXPORT
24 int crypto_hashblocks_sha512(unsigned char *,const unsigned char *,unsigned long long);
26 #ifdef __cplusplus
28 #endif
30 #define crypto_hashblocks_sha512_ref crypto_hashblocks_sha512
32 #endif