libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / include / sodium / crypto_hash.h
blob738180f43219ab3acb3b919ed0e1e6fb4ef7c48f
1 #ifndef crypto_hash_H
2 #define crypto_hash_H
4 #include "crypto_hash_sha512.h"
5 #include "export.h"
7 #define crypto_hash_BYTES crypto_hash_sha512_BYTES
8 #define crypto_hash_BLOCKBYTES crypto_hash_sha512_BLOCKBYTES
9 #define crypto_hash_PRIMITIVE "sha512"
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 SODIUM_EXPORT
16 int crypto_hash(unsigned char *out, const unsigned char *in,
17 unsigned long long inlen);
19 #ifdef __cplusplus
21 #endif
23 #endif