Home
last modified time | relevance | path

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

12

/openbsd/lib/libcrypto/dh/
H A Ddh_gen.c69 BN_GENCB *cb);
72 DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *cb) in DH_generate_parameters_ex()
107 dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb) in dh_builtin_genparams()
184 BN_GENCB cb; in DH_generate_parameters()
H A Ddh_pmeth.c194 BN_GENCB *pcb = NULL; in pkey_dh_paramgen()
195 BN_GENCB cb = {0}; in pkey_dh_paramgen()
H A Ddh_local.h77 BN_GENCB *cb);
H A Ddh.h171 int DH_generate_parameters_ex(DH *dh, int prime_len,int generator, BN_GENCB *cb);
/openbsd/lib/libcrypto/bn/
H A Dbn.h217 BN_GENCB *BN_GENCB_new(void);
218 void BN_GENCB_free(BN_GENCB *cb);
221 int BN_GENCB_call(BN_GENCB *cb, int a, int b);
224 void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback)(int, int, void *),
228 void BN_GENCB_set(BN_GENCB *gencb, int (*callback)(int, int, BN_GENCB *),
231 void *BN_GENCB_get_arg(BN_GENCB *cb);
419 const BIGNUM *rem, BN_GENCB *cb);
420 int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
422 int do_trial_division, BN_GENCB *cb);
H A Dbn_prime.c132 BN_GENCB_call(BN_GENCB *cb, int a, int b) in BN_GENCB_call()
157 const BIGNUM *rem, BN_GENCB *cb) in BN_generate_prime_ex()
237 BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, BN_GENCB *cb) in BN_is_prime_ex()
247 int do_trial_division, BN_GENCB *cb) in BN_is_prime_fasttest_ex()
H A Dbn_lib.c706 BN_GENCB *
709 BN_GENCB *cb; in BN_GENCB_new()
719 BN_GENCB_free(BN_GENCB *cb) in BN_GENCB_free()
729 BN_GENCB_set_old(BN_GENCB *gencb, void (*cb)(int, int, void *), void *cb_arg) in BN_GENCB_set_old()
739 BN_GENCB_set(BN_GENCB *gencb, int (*cb)(int, int, BN_GENCB *), void *cb_arg) in BN_GENCB_set() argument
748 BN_GENCB_get_arg(BN_GENCB *cb) in BN_GENCB_get_arg()
H A Dbn_local.h160 int (*cb_2)(int, int, BN_GENCB *);
/openbsd/usr.bin/openssl/
H A Dgendh.c87 static int dh_cb(int p, int n, BN_GENCB *cb);
131 BN_GENCB *cb = NULL; in gendh_main()
203 dh_cb(int p, int n, BN_GENCB *cb) in dh_cb()
H A Dgenrsa.c86 static int genrsa_cb(int p, int n, BN_GENCB *cb);
273 BN_GENCB *cb = NULL; in genrsa_main()
374 genrsa_cb(int p, int n, BN_GENCB *cb) in genrsa_cb()
H A Ddsaparam.c159 static int dsa_cb(int p, int n, BN_GENCB *cb);
167 BN_GENCB *cb = NULL; in dsaparam_main()
358 dsa_cb(int p, int n, BN_GENCB *cb) in dsa_cb()
H A Ddhparam.c234 static int dh_cb(int p, int n, BN_GENCB *cb);
240 BN_GENCB *cb = NULL; in dhparam_main()
485 dh_cb(int p, int n, BN_GENCB *cb) in dh_cb()
/openbsd/regress/lib/libcrypto/dsa/
H A Ddsatest.c73 static int dsa_cb(int p, int n, BN_GENCB *arg);
117 BN_GENCB *cb; in main()
206 dsa_cb(int p, int n, BN_GENCB *arg) in dsa_cb()
/openbsd/lib/libcrypto/rsa/
H A Drsa_gen.c69 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
72 RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) in RSA_generate_key_ex()
81 rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) in rsa_builtin_keygen()
229 BN_GENCB cb; in RSA_generate_key()
H A Drsa_meth.c164 BIGNUM *e, BN_GENCB *cb)) in RSA_meth_set_keygen()
252 BN_GENCB *cb) in RSA_meth_get_keygen()
H A Drsa.h251 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
434 BIGNUM *e, BN_GENCB *cb));
453 BN_GENCB *cb);
H A Drsa_local.h97 int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
H A Drsa_pmeth.c759 BN_GENCB *pcb = NULL; in pkey_rsa_keygen()
760 BN_GENCB cb = {0}; in pkey_rsa_keygen()
/openbsd/regress/lib/libcrypto/dh/
H A Ddhtest.c72 cb(int p, int n, BN_GENCB *arg) in cb()
92 BN_GENCB *_cb; in main()
/openbsd/lib/libcrypto/evp/
H A Dpmeth_gn.c181 trans_cb(int a, int b, BN_GENCB *gcb) in trans_cb()
190 evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx) in evp_pkey_set_cb_translate()
/openbsd/lib/libcrypto/dsa/
H A Ddsa_local.h103 int *counter_ret, unsigned long *h_ret, BN_GENCB *cb);
H A Ddsa_pmeth.c293 BN_GENCB *pcb = NULL; in pkey_dsa_paramgen()
294 BN_GENCB cb = {0}; in pkey_dsa_paramgen()
H A Ddsa_gen.c76 int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb) in DSA_generate_parameters_ex()
97 int *counter_ret, unsigned long *h_ret, BN_GENCB *cb) in dsa_builtin_paramgen()
H A Ddsa.h169 int *counter_ret, unsigned long *h_ret, BN_GENCB *cb);
/openbsd/lib/libcrypto/
H A Dossl_typ.h92 typedef struct bn_gencb_st BN_GENCB; typedef

12