libonion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
random-gnutls.c File Reference
#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.

Macro Definition Documentation

#define onion_random_refcount_mutex_lock ( )    ;
#define onion_random_refcount_mutex_unlock ( )    ;