FFmpeg
|
#include "config.h"
#include <fcntl.h>
#include <math.h>
#include <time.h>
#include <string.h>
#include "avassert.h"
#include "file_open.h"
#include "internal.h"
#include "intreadwrite.h"
#include "timer.h"
#include "random_seed.h"
#include "sha.h"
Go to the source code of this file.
Macros | |
#define | TEST 0 |
Functions | |
static int | read_random (uint8_t *dst, size_t len, const char *file) |
static uint32_t | get_generic_seed (void) |
int | av_random_bytes (uint8_t *buf, size_t len) |
Generate cryptographically secure random data, i.e. More... | |
uint32_t | av_get_random_seed (void) |
Get a seed to use in conjunction with random functions. More... | |
#define TEST 0 |
Definition at line 51 of file random_seed.c.
|
static |
Definition at line 54 of file random_seed.c.
Referenced by av_random_bytes().
|
static |
Definition at line 75 of file random_seed.c.
Referenced by av_get_random_seed(), and main().