#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 | |
BIGNUM * | BN_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) |