Lines Matching refs:cb
954 progress_cb(int p, int n, BN_GENCB *cb) {
962 u.dptr = BN_GENCB_get_arg(cb);
982 BN_GENCB *cb = BN_GENCB_new();
1014 if (rsa == NULL || e == NULL || cb == NULL)
1034 BN_GENCB_set_old(cb, NULL, NULL);
1037 BN_GENCB_set(cb, &progress_cb, u.dptr);
1040 if (RSA_generate_key_ex(rsa, key->key_size, e, cb)) {
1042 BN_GENCB_free(cb);
1053 BN_GENCB_free(cb);
1066 if (cb != NULL)
1067 BN_GENCB_free(cb);