Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/doc/man3/
H A DBN_generate_prime.pod15 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb,
19 const BIGNUM *rem, BN_GENCB *cb);
21 int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb);
23 int BN_GENCB_call(BN_GENCB *cb, int a, int b);
25 BN_GENCB *BN_GENCB_new(void);
27 void BN_GENCB_free(BN_GENCB *cb);
29 void BN_GENCB_set_old(BN_GENCB *gencb,
32 void BN_GENCB_set(BN_GENCB *gencb,
33 int (*callback)(int, int, BN_GENCB *), void *cb_arg);
35 void *BN_GENCB_get_arg(BN_GENCB *cb);
[all …]
/freebsd/crypto/openssl/include/internal/
H A Dffc.h158 int *res, BN_GENCB *cb);
161 int *res, BN_GENCB *cb);
166 BN_GENCB *cb);
170 BN_GENCB *cb);
180 int type, int *res, BN_GENCB *cb);
183 int type, int *res, BN_GENCB *cb);
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_prime.c28 int do_trial_division, BN_GENCB *cb);
101 int BN_GENCB_call(BN_GENCB *cb, int a, int b) in BN_GENCB_call()
124 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb, in BN_generate_prime_ex2()
212 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) in BN_generate_prime_ex()
229 BN_GENCB *cb) in BN_is_prime_ex()
235 int do_trial_division, BN_GENCB *cb) in BN_is_prime_fasttest_ex()
243 int do_trial_division, BN_GENCB *cb) in ossl_bn_check_prime()
259 BN_GENCB *cb) in ossl_bn_check_generated_prime()
264 int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb) in BN_check_prime()
276 int do_trial_division, BN_GENCB *cb) in bn_is_prime_int()
[all …]
H A Dbn_depr.c26 BN_GENCB cb; in BN_generate_prime()
50 BN_GENCB cb; in BN_is_prime()
60 BN_GENCB cb; in BN_is_prime_fasttest()
H A Dbn_x931p.c24 BN_GENCB *cb) in bn_x931_derive_pi()
56 BN_GENCB *cb) in BN_X931_derive_prime_ex()
222 const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) in BN_X931_generate_prime_ex()
H A Dbn_lib.c1092 BN_GENCB *BN_GENCB_new(void) in BN_GENCB_new()
1094 BN_GENCB *ret; in BN_GENCB_new()
1102 void BN_GENCB_free(BN_GENCB *cb) in BN_GENCB_free()
1120 void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback)(int, int, void *), in BN_GENCB_set_old()
1123 BN_GENCB *tmp_gencb = gencb; in BN_GENCB_set_old()
1130 void BN_GENCB_set(BN_GENCB *gencb, int (*callback)(int, int, BN_GENCB *), in BN_GENCB_set() argument
1133 BN_GENCB *tmp_gencb = gencb; in BN_GENCB_set()
1139 void *BN_GENCB_get_arg(BN_GENCB *cb) in BN_GENCB_get_arg()
H A Dbn_rsa_fips186_4.c135 BN_GENCB *cb) in bn_rsa_fips186_4_find_aux_prob_prime()
189 BN_GENCB *cb) in ossl_bn_rsa_fips186_4_gen_prob_primes()
277 BN_CTX *ctx, BN_GENCB *cb) in ossl_bn_rsa_fips186_4_derive_prime()
/freebsd/crypto/openssl/include/openssl/
H A Dbn.h97 int BN_GENCB_call(BN_GENCB *cb, int a, int b);
99 BN_GENCB *BN_GENCB_new(void);
100 void BN_GENCB_free(BN_GENCB *cb);
103 void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback)(int, int, void *),
107 void BN_GENCB_set(BN_GENCB *gencb, int (*callback)(int, int, BN_GENCB *),
110 void *BN_GENCB_get_arg(BN_GENCB *cb);
379 int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
382 int do_trial_division, BN_GENCB *cb);
386 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb,
389 const BIGNUM *rem, BN_GENCB *cb);
[all …]
H A Drsa.h271 BN_GENCB *cb);
275 BN_GENCB *cb);
283 const BIGNUM *e, BN_GENCB *cb);
286 BN_GENCB *cb);
289 OSSL_DEPRECATEDIN_3_0 int RSA_check_key_ex(const RSA *, BN_GENCB *cb);
593 BIGNUM *e, BN_GENCB *cb);
597 BN_GENCB *cb));
603 BN_GENCB *cb);
608 BN_GENCB *cb));
H A Ddsa.h176 BN_GENCB *cb);
260 BN_GENCB *);
263 unsigned long *, BN_GENCB *));
H A Ddh.h225 BN_GENCB *cb);
316 BN_GENCB *);
319 BN_GENCB *));
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_gen.c36 BN_GENCB *cb);
40 BN_GENCB *cb) in ossl_dh_generate_ffc_parameters()
116 BN_GENCB *cb) in DH_generate_parameters_ex()
157 BN_GENCB *cb) in dh_builtin_genparams()
H A Ddh_meth.c161 int (*DH_meth_get_generate_params(const DH_METHOD *dhm))(DH *, int, int, BN_GENCB *) in DH_meth_get_generate_params()
167 int (*generate_params)(DH *, int, int, BN_GENCB *)) in DH_meth_set_generate_params() argument
H A Ddh_depr.c28 BN_GENCB *cb; in DH_generate_parameters()
/freebsd/crypto/openssl/include/crypto/
H A Dbn.h108 BN_GENCB *cb, int enhanced, int *status);
110 BN_GENCB *cb);
119 BN_GENCB *cb);
124 BN_GENCB *cb);
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_local.h145 int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
147 BIGNUM *e, BN_GENCB *cb);
188 BN_GENCB *cb);
194 BN_GENCB *cb);
H A Drsa_meth.c254 int (*RSA_meth_get_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb) in RSA_meth_get_keygen()
261 BN_GENCB *cb)) in RSA_meth_set_keygen()
267 …ulti_prime_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, int primes, BIGNUM *e, BN_GENCB *cb) in RSA_meth_get_multi_prime_keygen()
275 BN_GENCB *cb)) in RSA_meth_set_multi_prime_keygen()
H A Drsa_gen.c32 BIGNUM *e_value, BN_GENCB *cb, int pairwise_test);
41 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) in RSA_generate_key_ex()
51 BIGNUM *e_value, BN_GENCB *cb) in RSA_generate_multi_prime_key()
266 BIGNUM *e_value, BN_GENCB *cb) in rsa_multiprime_keygen()
612 BIGNUM *e_value, BN_GENCB *cb, int pairwise_test) in rsa_keygen()
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_gen.c27 BN_GENCB *cb) in ossl_dsa_generate_ffc_parameters()
50 BN_GENCB *cb) in DSA_generate_parameters_ex()
H A Ddsa_meth.c191 BN_GENCB *) in DSA_meth_get_paramgen()
198 unsigned long *, BN_GENCB *)) in DSA_meth_set_paramgen() argument
H A Ddsa_depr.c37 BN_GENCB *cb; in DSA_generate_parameters()
/freebsd/contrib/ntp/libntp/
H A 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/contrib/ntp/include/
H A Dlibssl_compat.h48 extern BN_GENCB* sslshimBN_GENCB_new(void);
49 extern void sslshimBN_GENCB_free(BN_GENCB*);
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_params_generate.c193 BIGNUM *p, int L, BN_GENCB *cb, int *counter, in generate_p()
316 BN_GENCB *cb) in generate_q_fips186_4()
392 int *res, BN_GENCB *cb) in generate_q_fips186_2()
519 BN_GENCB *cb) in ossl_ffc_params_FIPS186_4_gen_verify()
812 BN_GENCB *cb) in ossl_ffc_params_FIPS186_2_gen_verify()
1045 int *res, BN_GENCB *cb) in ossl_ffc_params_FIPS186_4_generate()
1055 int *res, BN_GENCB *cb) in ossl_ffc_params_FIPS186_2_generate()
H A Dffc_params_validate.c54 int *res, BN_GENCB *cb) in ossl_ffc_params_FIPS186_4_validate()
72 int *res, BN_GENCB *cb) in ossl_ffc_params_FIPS186_2_validate()

123