OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
randfile.c File Reference
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "e_os.h"
#include <openssl/crypto.h>
#include <openssl/rand.h>
#include <openssl/buffer.h>
#include <sys/types.h>
#include <sys/stat.h>

Go to the source code of this file.

Macros

#define _XOPEN_SOURCE   500
 
#define BUFSIZE   1024
 
#define RAND_DATA   1024
 

Functions

int RAND_load_file (const char *file, long bytes)
 
int RAND_write_file (const char *file)
 
const char * RAND_file_name (char *buf, size_t size)
 

Macro Definition Documentation

#define _XOPEN_SOURCE   500

Definition at line 60 of file randfile.c.

#define BUFSIZE   1024

Definition at line 90 of file randfile.c.

#define RAND_DATA   1024

Definition at line 91 of file randfile.c.

Function Documentation

const char* RAND_file_name ( char *  buf,
size_t  size 
)

Definition at line 271 of file randfile.c.

int RAND_load_file ( const char *  file,
long  bytes 
)

Definition at line 106 of file randfile.c.

int RAND_write_file ( const char *  file)

Definition at line 179 of file randfile.c.