/* RSA stuff */
static int e_rsax_rsa_mod_exp(BIGNUM *r, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
static int e_rsax_rsa_finish(RSA *r);
-static int (*def_rsa_finish)(RSA *r);
#endif
static const ENGINE_CMD_DEFN e_rsax_cmd_defns[] = {
e_rsax_rsa.rsa_priv_enc = meth1->rsa_priv_enc;
e_rsax_rsa.rsa_priv_dec = meth1->rsa_priv_dec;
e_rsax_rsa.bn_mod_exp = meth1->bn_mod_exp;
- def_rsa_finish = meth1->finish;
#endif
return 1;
}
/* Some tmps */
UINT64 _t[8];
int i, j, ret = 0;
-CRYPTO_push_info("precomp");
+
/* Init _m with m */
BN_init(&_m);
interleaved_array_to_bn_512(&_m, m);
BN_free(&tmp2);
BN_free(&_m);
- CRYPTO_pop_info();
-
return ret;
}
BIGNUM local_dmp1,local_dmq1,local_c,local_r1;
BIGNUM *dmp1,*dmq1,*c,*pr1;
int ret=0;
-CRYPTO_push_info("start");
+
BN_CTX_start(ctx);
r1 = BN_CTX_get(ctx);
m1 = BN_CTX_get(ctx);
ret=1;
err:
- CRYPTO_pop_info();
BN_CTX_end(ctx);
return ret;