VLC  4.0.0-dev
Macros | Functions | Variables
rand.c File Reference
Include dependency graph for rand.c:

Macros

#define BLOCK_SIZE   64
 

Functions

static void vlc_rand_init (void)
 
void vlc_rand_bytes (void *buf, size_t len)
 

Variables

static uint8_t okey [64]
 
static uint8_t ikey [64]
 

Macro Definition Documentation

◆ BLOCK_SIZE

#define BLOCK_SIZE   64

Function Documentation

◆ vlc_rand_bytes()

void vlc_rand_bytes ( void *  buf,
size_t  len 
)

◆ vlc_rand_init()

static void vlc_rand_init ( void  )
static

References BLOCK_SIZE, ikey, okey, vlc_close(), and vlc_open().

Referenced by vlc_rand_bytes().

Variable Documentation

◆ ikey

uint8_t ikey[64]
static

Referenced by vlc_rand_bytes(), and vlc_rand_init().

◆ okey

uint8_t okey[64]
static

Referenced by vlc_rand_bytes(), and vlc_rand_init().