webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
random.c File Reference
#include <openssl/bn.h>
#include <string.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/rand.h>
#include <openssl/sha.h>

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_rand_range_ex (BIGNUM *r, BN_ULONG min_inclusive, const BIGNUM *max_exclusive)
 
int BN_rand_range (BIGNUM *r, const BIGNUM *range)
 
int BN_pseudo_rand_range (BIGNUM *r, const BIGNUM *range)
 
int BN_generate_dsa_nonce (BIGNUM *out, const BIGNUM *range, const BIGNUM *priv, const uint8_t *message, size_t message_len, BN_CTX *ctx)
 

Function Documentation

◆ BN_generate_dsa_nonce()

int BN_generate_dsa_nonce ( BIGNUM out,
const BIGNUM range,
const BIGNUM priv,
const uint8_t message,
size_t  message_len,
BN_CTX ctx 
)

◆ BN_pseudo_rand()

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

◆ BN_pseudo_rand_range()

int BN_pseudo_rand_range ( BIGNUM r,
const BIGNUM range 
)

◆ BN_rand()

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

◆ BN_rand_range()

int BN_rand_range ( BIGNUM r,
const BIGNUM range 
)

◆ BN_rand_range_ex()

int BN_rand_range_ex ( BIGNUM r,
BN_ULONG  min_inclusive,
const BIGNUM max_exclusive 
)