OpenVPN
Functions
mock_get_random.c File Reference
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>
#include <stdint.h>
#include <cmocka.h>
Include dependency graph for mock_get_random.c:

Go to the source code of this file.

Functions

unsigned long get_random (void)
 
void prng_bytes (uint8_t *output, int len)
 

Function Documentation

◆ get_random()

unsigned long get_random ( void  )

Definition at line 33 of file mock_get_random.c.

References prng_bytes().

◆ prng_bytes()

void prng_bytes ( uint8_t *  output,
int  len 
)

Definition at line 40 of file mock_get_random.c.

References ASSERT, and rand_bytes().