Sha256: d130707806724f1e12ae91094f03e46d464b2c8323fb5888c5472e614f6324ed
Contents?: true
Size: 957 Bytes
Versions: 3
Compression:
Stored size: 957 Bytes
Contents
#ifndef randombytes_salsa20_random_H #define randombytes_salsa20_random_H /* * THREAD SAFETY: randombytes_salsa20_random*() functions are * not thread-safe. * Always wrap them in a mutex if you need thread safety, * and call randombytes_stir() after fork()ing. */ #include <stddef.h> #include <stdint.h> #include "export.h" #ifdef __cplusplus extern "C" { #endif SODIUM_EXPORT extern struct randombytes_implementation randombytes_salsa20_implementation; SODIUM_EXPORT const char *randombytes_salsa20_implementation_name(void); SODIUM_EXPORT uint32_t randombytes_salsa20_random(void); SODIUM_EXPORT void randombytes_salsa20_random_stir(void); SODIUM_EXPORT uint32_t randombytes_salsa20_random_uniform(const uint32_t upper_bound); SODIUM_EXPORT void randombytes_salsa20_random_buf(void * const buf, const size_t size); SODIUM_EXPORT int randombytes_salsa20_random_close(void); #ifdef __cplusplus } #endif #endif
Version data entries
3 entries across 3 versions & 1 rubygems