Home
last modified time | relevance | path

Searched refs:BN_GENCB (Results 1 – 25 of 45) sorted by relevance

12

/freebsd-12-stable/crypto/openssl/doc/man3/
DBN_generate_prime.pod15 const BIGNUM *rem, BN_GENCB *cb);
17 int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
20 int do_trial_division, BN_GENCB *cb);
22 int BN_GENCB_call(BN_GENCB *cb, int a, int b);
24 BN_GENCB *BN_GENCB_new(void);
26 void BN_GENCB_free(BN_GENCB *cb);
28 void BN_GENCB_set_old(BN_GENCB *gencb,
31 void BN_GENCB_set(BN_GENCB *gencb,
32 int (*callback)(int, int, BN_GENCB *), void *cb_arg);
34 void *BN_GENCB_get_arg(BN_GENCB *cb);
[all …]
/freebsd-12-stable/crypto/openssl/include/openssl/
Dbn.h91 int BN_GENCB_call(BN_GENCB *cb, int a, int b);
93 BN_GENCB *BN_GENCB_new(void);
94 void BN_GENCB_free(BN_GENCB *cb);
97 void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback) (int, int, void *),
101 void BN_GENCB_set(BN_GENCB *gencb, int (*callback) (int, int, BN_GENCB *),
104 void *BN_GENCB_get_arg(BN_GENCB *cb);
344 const BIGNUM *rem, BN_GENCB *cb);
345 int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
347 int do_trial_division, BN_GENCB *cb);
354 BN_GENCB *cb);
[all …]
Drsa.h240 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
243 BIGNUM *e, BN_GENCB *cb);
248 const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb);
250 BN_GENCB *cb);
253 int RSA_check_key_ex(const RSA *, BN_GENCB *cb);
498 (RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
501 BN_GENCB *cb));
503 (RSA *rsa, int bits, int primes, BIGNUM *e, BN_GENCB *cb);
507 BN_GENCB *cb));
Ddsa.h130 BN_GENCB *cb);
232 BN_GENCB *);
235 unsigned long *, BN_GENCB *));
Ddh.h146 BN_GENCB *cb);
227 (DH *, int, int, BN_GENCB *);
229 int (*generate_params) (DH *, int, int, BN_GENCB *));
/freebsd-12-stable/crypto/openssl/crypto/bn/
Dbn_depr.c29 BN_GENCB cb;
53 BN_GENCB cb;
63 BN_GENCB cb;
Dbn_x931p.c22 BN_GENCB *cb) in bn_x931_derive_pi()
54 BN_GENCB *cb) in BN_X931_derive_prime_ex()
218 const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) in BN_X931_generate_prime_ex()
Dbn_lib.c945 BN_GENCB *BN_GENCB_new(void) in BN_GENCB_new()
947 BN_GENCB *ret; in BN_GENCB_new()
957 void BN_GENCB_free(BN_GENCB *cb) in BN_GENCB_free()
975 void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback) (int, int, void *), in BN_GENCB_set_old()
978 BN_GENCB *tmp_gencb = gencb; in BN_GENCB_set_old()
985 void BN_GENCB_set(BN_GENCB *gencb, int (*callback) (int, int, BN_GENCB *), in BN_GENCB_set() argument
988 BN_GENCB *tmp_gencb = gencb; in BN_GENCB_set()
994 void *BN_GENCB_get_arg(BN_GENCB *cb) in BN_GENCB_get_arg()
Dbn_prime.c32 int BN_GENCB_call(BN_GENCB *cb, int a, int b) in BN_GENCB_call()
55 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) in BN_generate_prime_ex()
146 BN_GENCB *cb) in BN_is_prime_ex()
152 int do_trial_division, BN_GENCB *cb) in BN_is_prime_fasttest_ex()
/freebsd-12-stable/crypto/openssl/crypto/dh/
Ddh_gen.c21 BN_GENCB *cb);
24 BN_GENCB *cb) in DH_generate_parameters_ex()
62 BN_GENCB *cb) in dh_builtin_genparams()
Ddh_meth.c163 (DH *, int, int, BN_GENCB *) in DH_meth_get_generate_params()
169 int (*generate_params) (DH *, int, int, BN_GENCB *)) in DH_meth_set_generate_params() argument
Ddh_pmeth.c279 unsigned long *h_ret, BN_GENCB *cb);
286 unsigned long *h_ret, BN_GENCB *cb);
288 static DSA *dsa_dh_generate(DH_PKEY_CTX *dctx, BN_GENCB *pcb) in dsa_dh_generate()
331 BN_GENCB *pcb; in pkey_dh_paramgen()
Ddh_depr.c25 BN_GENCB *cb;
/freebsd-12-stable/crypto/openssl/crypto/dsa/
Ddsa_local.h62 BN_GENCB *cb);
71 BN_GENCB *cb);
77 BN_GENCB *cb);
Ddsa_meth.c202 BN_GENCB *) in DSA_meth_get_paramgen()
209 unsigned long *, BN_GENCB *)) in DSA_meth_set_paramgen() argument
/freebsd-12-stable/crypto/openssl/crypto/rsa/
Drsa_meth.c261 (RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb) in RSA_meth_get_keygen()
268 BN_GENCB *cb)) in RSA_meth_set_keygen()
275 (RSA *rsa, int bits, int primes, BIGNUM *e, BN_GENCB *cb) in RSA_meth_get_multi_prime_keygen()
283 BN_GENCB *cb)) in RSA_meth_set_multi_prime_keygen()
Drsa_gen.c23 BN_GENCB *cb);
32 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) in RSA_generate_key_ex()
42 BIGNUM *e_value, BN_GENCB *cb) in RSA_generate_multi_prime_key()
65 BN_GENCB *cb) in rsa_builtin_keygen()
Drsa_local.h110 int (*rsa_keygen) (RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
112 BIGNUM *e, BN_GENCB *cb);
Drsa_x931g.c22 const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb) in RSA_X931_derive_ex()
145 BN_GENCB *cb) in RSA_X931_generate_key_ex()
/freebsd-12-stable/crypto/openssl/apps/
Dgenrsa.c29 static int genrsa_cb(int p, int n, BN_GENCB *cb);
56 BN_GENCB *cb = BN_GENCB_new(); in genrsa_main()
181 static int genrsa_cb(int p, int n, BN_GENCB *cb) in genrsa_cb()
Ddsaparam.c24 static int dsa_cb(int p, int n, BN_GENCB *cb);
54 BN_GENCB *cb = NULL; in dsaparam_main()
245 static int dsa_cb(int p, int n, BN_GENCB *cb) in dsa_cb()
Ddhparam.c30 static int dh_cb(int p, int n, BN_GENCB *cb);
163 BN_GENCB *cb; in dhparam_main()
366 static int dh_cb(int p, int n, BN_GENCB *cb) in dh_cb()
/freebsd-12-stable/contrib/ntp/libntp/
Dlibssl_compat.c57 BN_GENCB*
60 return calloc(1,sizeof(BN_GENCB)); in sslshimBN_GENCB_new()
65 BN_GENCB *cb in sslshimBN_GENCB_free()
/freebsd-12-stable/contrib/ntp/include/
Dlibssl_compat.h48 extern BN_GENCB* sslshimBN_GENCB_new(void);
49 extern void sslshimBN_GENCB_free(BN_GENCB*);
/freebsd-12-stable/crypto/openssl/crypto/evp/
Dpmeth_gn.c131 static int trans_cb(int a, int b, BN_GENCB *gcb) in trans_cb()
139 void evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx) in evp_pkey_set_cb_translate()

12