bsaes-armv7.pl: closest shave. While 0.3 cpb improvement on S4 appears
[openssl.git] / crypto / engine / eng_rsax.c
index e7b661165fd54da7e8bf2b9b29e18890784c5fe7..96e63477eedb277e1059731bd47804aa8be1bb9b 100644 (file)
@@ -108,7 +108,6 @@ static int e_rsax_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void));
 /* 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[] = {
@@ -164,7 +163,6 @@ static int bind_helper(ENGINE *e)
        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;
        }
@@ -401,7 +399,7 @@ static int mod_exp_pre_compute_data_512(UINT64 *m, struct mod_ctx_512 *data)
     /* 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);
@@ -485,8 +483,6 @@ err:
     BN_free(&tmp2);
     BN_free(&_m);
 
-    CRYPTO_pop_info();
-
     return ret;
 }
 
@@ -497,7 +493,7 @@ static int e_rsax_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx
        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);
@@ -664,7 +660,6 @@ CRYPTO_push_info("start");
        ret=1;
 
 err:
-       CRYPTO_pop_info();
        BN_CTX_end(ctx);
 
        return ret;