Eneboo - Documentación para desarrolladores
|
#include <stdio.h>
#include <time.h>
#include "cryptlib.h"
#include "bn_lcl.h"
#include <openssl/rand.h>
Funciones | |
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) |
BIGNUM* BN_generate_prime | ( | BIGNUM * | ret, |
int | bits, | ||
int | safe, | ||
const BIGNUM * | add, | ||
const BIGNUM * | rem, | ||
void(*)(int, int, void *) | callback, | ||
void * | cb_arg | ||
) |
int BN_is_prime | ( | const BIGNUM * | a, |
int | checks, | ||
void(*)(int, int, void *) | callback, | ||
BN_CTX * | ctx_passed, | ||
void * | cb_arg | ||
) |