Loading crypto/engine/hw_ncipher.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -828,7 +828,7 @@ static int hwcrhk_rsa_mod_exp(BIGNUM *r, BIGNUM *I, RSA *rsa) /* Perform the operation */ /* Perform the operation */ ret = p_hwcrhk_ModExpCRT(hwcrhk_context, m_a, m_p, m_q, ret = p_hwcrhk_ModExpCRT(hwcrhk_context, m_a, m_p, m_q, m_dmp1, m_dmq1, m_iqmp, &m_r, NULL); m_dmp1, m_dmq1, m_iqmp, &m_r, &rmsg); /* Convert the response */ /* Convert the response */ r->top = m_r.size / sizeof(BN_ULONG); r->top = m_r.size / sizeof(BN_ULONG); Loading Loading @@ -1014,7 +1014,7 @@ static void hwcrhk_log_message(void *_logstream, const char *message) lstream=*(BIO **)_logstream; lstream=*(BIO **)_logstream; if (lstream) if (lstream) { { BIO_write(lstream, message, strlen(message)); BIO_printf(lstream, "%s\n", message); } } CRYPTO_w_unlock(CRYPTO_LOCK_BIO); CRYPTO_w_unlock(CRYPTO_LOCK_BIO); } } Loading Loading
crypto/engine/hw_ncipher.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -828,7 +828,7 @@ static int hwcrhk_rsa_mod_exp(BIGNUM *r, BIGNUM *I, RSA *rsa) /* Perform the operation */ /* Perform the operation */ ret = p_hwcrhk_ModExpCRT(hwcrhk_context, m_a, m_p, m_q, ret = p_hwcrhk_ModExpCRT(hwcrhk_context, m_a, m_p, m_q, m_dmp1, m_dmq1, m_iqmp, &m_r, NULL); m_dmp1, m_dmq1, m_iqmp, &m_r, &rmsg); /* Convert the response */ /* Convert the response */ r->top = m_r.size / sizeof(BN_ULONG); r->top = m_r.size / sizeof(BN_ULONG); Loading Loading @@ -1014,7 +1014,7 @@ static void hwcrhk_log_message(void *_logstream, const char *message) lstream=*(BIO **)_logstream; lstream=*(BIO **)_logstream; if (lstream) if (lstream) { { BIO_write(lstream, message, strlen(message)); BIO_printf(lstream, "%s\n", message); } } CRYPTO_w_unlock(CRYPTO_LOCK_BIO); CRYPTO_w_unlock(CRYPTO_LOCK_BIO); } } Loading