OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
bn_depr.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

BIGNUMBN_generate_prime (BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, void(*callback)(int, int, void *), void *cb_arg)
 
int BN_is_prime (const BIGNUM *a, int checks, void(*callback)(int, int, void *), BN_CTX *ctx_passed, void *cb_arg)
 
int BN_is_prime_fasttest (const BIGNUM *a, int checks, void(*callback)(int, int, void *), BN_CTX *ctx_passed, void *cb_arg, int do_trial_division)
 

Function Documentation

BIGNUM* BN_generate_prime ( BIGNUM ret,
int  bits,
int  safe,
const BIGNUM add,
const BIGNUM rem,
void(*)(int, int, void *)  callback,
void cb_arg 
)

Definition at line 68 of file bn_depr.c.

int BN_is_prime ( const BIGNUM a,
int  checks,
void(*)(int, int, void *)  callback,
BN_CTX ctx_passed,
void cb_arg 
)

Definition at line 94 of file bn_depr.c.

int BN_is_prime_fasttest ( const BIGNUM a,
int  checks,
void(*)(int, int, void *)  callback,
BN_CTX ctx_passed,
void cb_arg,
int  do_trial_division 
)

Definition at line 102 of file bn_depr.c.