Eneboo - Documentación para desarrolladores
|
#include <stdio.h>
#include <time.h>
#include "cryptlib.h"
#include "bn_lcl.h"
#include <openssl/rand.h>
#include "bn_prime.h"
Funciones | |
int | BN_GENCB_call (BN_GENCB *cb, int a, int b) |
int | BN_generate_prime_ex (BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) |
int | BN_is_prime_ex (const BIGNUM *a, int checks, BN_CTX *ctx_passed, BN_GENCB *cb) |
int | BN_is_prime_fasttest_ex (const BIGNUM *a, int checks, BN_CTX *ctx_passed, int do_trial_division, BN_GENCB *cb) |
int BN_generate_prime_ex | ( | BIGNUM * | ret, |
int | bits, | ||
int | safe, | ||
const BIGNUM * | add, | ||
const BIGNUM * | rem, | ||
BN_GENCB * | cb | ||
) |