Home
last modified time | relevance | path

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

12

/NextBSD/crypto/openssl/doc/crypto/
HDBN_generate_prime.pod14 const BIGNUM *rem, BN_GENCB *cb);
16 int BN_is_prime_ex(const BIGNUM *p,int nchecks, BN_CTX *ctx, BN_GENCB *cb);
19 int do_trial_division, BN_GENCB *cb);
21 int BN_GENCB_call(BN_GENCB *cb, int a, int b);
100 BN_GENCB_call calls the callback function held in the B<BN_GENCB> structure
102 B<BN_GENCB> structure that are supported: "new" style and "old" style. New
106 For "new" style callbacks a BN_GENCB structure should be initialised with a
107 call to BN_GENCB_set, where B<gencb> is a B<BN_GENCB *>, B<callback> is of
108 type B<int (*callback)(int, int, BN_GENCB *)> and B<cb_arg> is a B<void *>.
HDDSA_generate_parameters.pod13 int *counter_ret, unsigned long *h_ret, BN_GENCB *cb);
40 called as shown below. For information on the BN_GENCB structure and the
91 style" callbacks are used instead of the newer BN_GENCB based approach.
/NextBSD/crypto/openssl/crypto/bn/
HDbn_depr.c74 BN_GENCB cb; in BN_generate_prime()
100 BN_GENCB cb; in BN_is_prime()
110 BN_GENCB cb; in BN_is_prime_fasttest()
HDbn_x931p.c71 BN_GENCB *cb) in bn_x931_derive_pi()
100 BN_GENCB *cb) in BN_X931_derive_prime_ex()
253 const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) in BN_X931_generate_prime_ex()
HDbn.h309 typedef struct bn_gencb_st BN_GENCB;
355 int (*cb_2) (int, int, BN_GENCB *);
359 int BN_GENCB_call(BN_GENCB *cb, int a, int b);
362 BN_GENCB *tmp_gencb = (gencb); \
368 BN_GENCB *tmp_gencb = (gencb); \
561 const BIGNUM *rem, BN_GENCB *cb);
562 int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
564 int do_trial_division, BN_GENCB *cb);
571 BN_GENCB *cb);
574 BN_CTX *ctx, BN_GENCB *cb);
HDbn_prime.c141 int BN_GENCB_call(BN_GENCB *cb, int a, int b) in BN_GENCB_call()
164 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) in BN_generate_prime_ex()
242 BN_GENCB *cb) in BN_is_prime_ex()
248 int do_trial_division, BN_GENCB *cb) in BN_is_prime_fasttest_ex()
/NextBSD/crypto/openssl/crypto/dh/
HDdh_gen.c74 BN_GENCB *cb);
77 BN_GENCB *cb) in DH_generate_parameters_ex()
123 BN_GENCB *cb) in dh_builtin_genparams()
HDdh_pmeth.c304 unsigned long *h_ret, BN_GENCB *cb);
311 unsigned long *h_ret, BN_GENCB *cb);
313 static DSA *dsa_dh_generate(DH_PKEY_CTX *dctx, BN_GENCB *pcb) in dsa_dh_generate()
356 BN_GENCB *pcb, cb; in pkey_dh_paramgen()
HDdhtest.c94 static int MS_CALLBACK cb(int p, int n, BN_GENCB *arg);
103 BN_GENCB _cb; in main()
226 static int MS_CALLBACK cb(int p, int n, BN_GENCB *arg) in cb()
HDdh_depr.c69 BN_GENCB cb; in DH_generate_parameters()
HDdh.h132 BN_GENCB *cb);
217 BN_GENCB *cb);
/NextBSD/crypto/openssl/crypto/rsa/
HDrsa_gen.c73 BN_GENCB *cb);
77 BN_GENCB *cb);
86 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) in RSA_generate_key_ex()
105 BN_GENCB *cb) in rsa_builtin_keygen()
HDrsa_depr.c76 BN_GENCB cb; in RSA_generate_key()
HDrsa.h129 int (*rsa_keygen) (RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
331 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
/NextBSD/crypto/openssl/crypto/dsa/
HDdsa_locl.h61 BN_GENCB *cb);
67 BN_GENCB *cb);
HDdsatest.c96 static int MS_CALLBACK dsa_cb(int p, int n, BN_GENCB *arg);
144 BN_GENCB cb; in main()
242 static int MS_CALLBACK dsa_cb(int p, int n, BN_GENCB *arg) in dsa_cb()
HDdsa_depr.c98 BN_GENCB cb; in DSA_generate_parameters()
HDdsa_gen.c97 BN_GENCB *cb) in DSA_generate_parameters_ex()
129 int *counter_ret, unsigned long *h_ret, BN_GENCB *cb) in dsa_builtin_paramgen()
390 BN_GENCB *cb);
402 BN_GENCB *cb) in dsa_builtin_paramgen2()
HDdsa.h150 BN_GENCB *cb);
236 BN_GENCB *cb);
/NextBSD/crypto/openssl/apps/
HDgendh.c87 static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb);
93 BN_GENCB cb; in MAIN()
223 static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb) in dh_cb()
HDgenrsa.c87 static int MS_CALLBACK genrsa_cb(int p, int n, BN_GENCB *cb);
93 BN_GENCB cb; in MAIN()
325 static int MS_CALLBACK genrsa_cb(int p, int n, BN_GENCB *cb) in genrsa_cb()
HDdhparam.c147 static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb);
297 BN_GENCB cb; in MAIN()
520 static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb) in dh_cb()
HDdsaparam.c111 static int MS_CALLBACK dsa_cb(int p, int n, BN_GENCB *cb);
278 BN_GENCB cb; in MAIN()
440 static int MS_CALLBACK dsa_cb(int p, int n, BN_GENCB *cb) in dsa_cb()
/NextBSD/crypto/openssl/crypto/evp/
HDpmeth_gn.c178 static int trans_cb(int a, int b, BN_GENCB *gcb) in trans_cb()
186 void evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx) in evp_pkey_set_cb_translate()
/NextBSD/crypto/openssl/crypto/
HDossl_typ.h125 typedef struct bn_gencb_st BN_GENCB; typedef

12