libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / include / sodium / crypto_auth_hmacsha256.h
bloba0b01004329a6d7ece9e70b0712da9f39485b196
1 #ifndef crypto_auth_hmacsha256_H
2 #define crypto_auth_hmacsha256_H
4 #include <stddef.h>
5 #include "export.h"
7 #define crypto_auth_hmacsha256_BYTES 32U
8 #define crypto_auth_hmacsha256_KEYBYTES 32U
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 SODIUM_EXPORT
15 size_t crypto_auth_hmacsha256_bytes(void);
17 SODIUM_EXPORT
18 size_t crypto_auth_hmacsha256_keybytes(void);
20 SODIUM_EXPORT
21 const char * crypto_auth_hmacsha256_primitive(void);
23 SODIUM_EXPORT
24 int crypto_auth_hmacsha256(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *);
26 SODIUM_EXPORT
27 int crypto_auth_hmacsha256_verify(const unsigned char *,const unsigned char *,unsigned long long,const unsigned char *);
29 #ifdef __cplusplus
31 #endif
33 #define crypto_auth_hmacsha256_ref crypto_auth_hmacsha256
34 #define crypto_auth_hmacsha256_ref_verify crypto_auth_hmacsha256_verify
36 #endif