libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / include / sodium / utils.h
blob88c76ace66793b7c0d263a9ed52ffc781d4aa088
2 #ifndef __SODIUM_UTILS_H__
3 #define __SODIUM_UTILS_H__
5 #include <stddef.h>
7 #include "export.h"
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
13 #ifndef __cplusplus
14 # define _SODIUM_C99(X) X
15 #else
16 # define _SODIUM_C99(X)
17 #endif
19 unsigned char *_sodium_alignedcalloc(unsigned char ** const unaligned_p,
20 const size_t len);
22 SODIUM_EXPORT
23 void sodium_memzero(void * const pnt, const size_t len);
25 SODIUM_EXPORT
26 int sodium_memcmp(const void * const b1_, const void * const b2_, size_t size);
28 #ifdef __cplusplus
30 #endif
32 #endif