rand.h File Reference

API published in:
API deprecated in:


#include <stdlib.h>
#include <openssl/ossl_typ.h>
#include <openssl/e_os2.h>

Go to the source code of this file.


Data Structures

struct   rand_meth_st

Defines

#define  RAND_F_RAND_GET_RAND_METHOD   101
#define  RAND_F_SSLEAY_RAND_BYTES   100
#define  RAND_R_PRNG_NOT_SEEDED   100

Functions

IMPORT_C int  RAND_set_rand_method (const RAND_METHOD *meth)
IMPORT_C const RAND_METHOD RAND_get_rand_method (void)
IMPORT_C int  RAND_set_rand_engine (ENGINE *engine)
IMPORT_C RAND_METHOD RAND_SSLeay (void)
void  RAND_cleanup (void)
IMPORT_C int  RAND_bytes (unsigned char *buf, int num)
IMPORT_C int  RAND_pseudo_bytes (unsigned char *buf, int num)
IMPORT_C void  RAND_seed (const void *buf, int num)
IMPORT_C void  RAND_add (const void *buf, int num, double entropy)
IMPORT_C int  RAND_load_file (const char *file, long max_bytes)
IMPORT_C int  RAND_write_file (const char *file)
IMPORT_C const char *  RAND_file_name (char *file, size_t num)
IMPORT_C int  RAND_status (void)
IMPORT_C int  RAND_query_egd_bytes (const char *path, unsigned char *buf, int bytes)
IMPORT_C int  RAND_egd (const char *path)
IMPORT_C int  RAND_egd_bytes (const char *path, int bytes)
IMPORT_C int  RAND_poll (void)
IMPORT_C void  ERR_load_RAND_strings (void)

Define Documentation

#define RAND_F_RAND_GET_RAND_METHOD   101
 
#define RAND_F_SSLEAY_RAND_BYTES   100
 
#define RAND_R_PRNG_NOT_SEEDED   100
 

Function Documentation

IMPORT_C void ERR_load_RAND_strings void   ) 
 
IMPORT_C void RAND_add const void *  buf,
int  num,
double  entropy
 
IMPORT_C int RAND_bytes unsigned char *  buf,
int  num
 
void RAND_cleanup void   ) 
 
IMPORT_C int RAND_egd const char *  path  ) 
 
IMPORT_C int RAND_egd_bytes const char *  path,
int  bytes
 
IMPORT_C const char* RAND_file_name char *  file,
size_t  num
 
IMPORT_C const RAND_METHOD* RAND_get_rand_method void   ) 
 
IMPORT_C int RAND_load_file const char *  file,
long  max_bytes
 
IMPORT_C int RAND_poll void   ) 
 
IMPORT_C int RAND_pseudo_bytes unsigned char *  buf,
int  num
 
IMPORT_C int RAND_query_egd_bytes const char *  path,
unsigned char *  buf,
int  bytes
 
IMPORT_C void RAND_seed const void *  buf,
int  num
 
IMPORT_C int RAND_set_rand_engine ENGINE engine  ) 
 
IMPORT_C int RAND_set_rand_method const RAND_METHOD meth  ) 
 
IMPORT_C RAND_METHOD* RAND_SSLeay void   ) 
 
IMPORT_C int RAND_status void   ) 
 
IMPORT_C int RAND_write_file const char *  file  ) 
 

Copyright © Nokia Corporation 2001-2008
Back to top