OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
bn_rand.c File Reference
#include <stdio.h>
#include <time.h>
#include "cryptlib.h"
#include "bn_lcl.h"
#include <openssl/rand.h>

Go to the source code of this file.

Functions

int BN_rand (BIGNUM *rnd, int bits, int top, int bottom)
 
int BN_pseudo_rand (BIGNUM *rnd, int bits, int top, int bottom)
 
int BN_bntest_rand (BIGNUM *rnd, int bits, int top, int bottom)
 
int BN_rand_range (BIGNUM *r, const BIGNUM *range)
 
int BN_pseudo_rand_range (BIGNUM *r, const BIGNUM *range)
 

Function Documentation

int BN_bntest_rand ( BIGNUM rnd,
int  bits,
int  top,
int  bottom 
)

Definition at line 222 of file bn_rand.c.

int BN_pseudo_rand ( BIGNUM rnd,
int  bits,
int  top,
int  bottom 
)

Definition at line 216 of file bn_rand.c.

int BN_pseudo_rand_range ( BIGNUM r,
const BIGNUM range 
)

Definition at line 302 of file bn_rand.c.

int BN_rand ( BIGNUM rnd,
int  bits,
int  top,
int  bottom 
)

Definition at line 211 of file bn_rand.c.

int BN_rand_range ( BIGNUM r,
const BIGNUM range 
)

Definition at line 297 of file bn_rand.c.