libonion
|
#include <stdlib.h>
#include <gnutls/gnutls.h>
#include <gnutls/crypto.h>
#include <gcrypt.h>
#include <assert.h>
#include "types_internal.h"
#include "log.h"
Macros | |
#define | onion_random_refcount_mutex_lock() ; |
#define | onion_random_refcount_mutex_unlock() ; |
Functions | |
void | onion_random_init () |
Initializes the global random number generator. | |
void | onion_random_free () |
Free up memory used by global random number generator. | |
void | onion_random_generate (void *data, size_t size) |
Generates random data. |
#define onion_random_refcount_mutex_lock | ( | ) | ; |
Referenced by onion_random_free(), and onion_random_init().
#define onion_random_refcount_mutex_unlock | ( | ) | ; |
Referenced by onion_random_free(), and onion_random_init().