Sha256: 8edc8eaddae826725e558cc306a58493a49c55de6a419f2e05be3215156e0bcf
Contents?: true
Size: 764 Bytes
Versions: 2
Compression:
Stored size: 764 Bytes
Contents
#ifndef __SODIUM_UTILS_H__ #define __SODIUM_UTILS_H__ #include <stddef.h> #include "export.h" #ifdef __cplusplus extern "C" { #endif #if defined(__cplusplus) || !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L # define _SODIUM_C99(X) #else # define _SODIUM_C99(X) X #endif unsigned char *_sodium_alignedcalloc(unsigned char ** const unaligned_p, const size_t len); SODIUM_EXPORT void sodium_memzero(void * const pnt, const size_t len); SODIUM_EXPORT int sodium_memcmp(const void * const b1_, const void * const b2_, size_t size); SODIUM_EXPORT char *sodium_bin2hex(char * const hex, const size_t hexlen, const unsigned char *bin, const size_t binlen); #ifdef __cplusplus } #endif #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rbnacl-libsodium-0.4.5 | vendor/libsodium/src/libsodium/include/sodium/utils.h |
rbnacl-libsodium-0.4.5a | vendor/libsodium/src/libsodium/include/sodium/utils.h |