addressed code review

This commit is contained in:
Hideki Miyazaki
2022-03-02 07:09:33 +09:00
parent 4f4a509e8c
commit c3e7ff0e61
2 changed files with 3 additions and 3 deletions

View File

@@ -100,5 +100,5 @@
/* #define NO_WOLFSSL_ESP32WROOM32_CRYPT_AES */
/* #define NO_WOLFSSL_ESP32WROOM32_CRYPT_RSA_PRI */
/* adjust wait-timeout count if you see timeout in ras hw acceleration */
/* adjust wait-timeout count if you see timeout in rsa hw acceleration */
#define ESP_RSA_TIMEOUT_CNT 0x249F00

View File

@@ -66,7 +66,7 @@ static int esp_mp_hw_wait_clean()
DPORT_REG_READ(RSA_CLEAN_REG) != 1) { }
if(ESP_TIMEOUT(timeout)) {
ESP_LOGE(TAG, "waiting hw ready is time-outed.");
ESP_LOGE(TAG, "waiting hw ready is timed out.");
return MP_NG;
}
return MP_OKAY;
@@ -158,7 +158,7 @@ static int wait_uitil_done(word32 reg)
DPORT_REG_WRITE(RSA_INTERRUPT_REG, 1);
if(ESP_TIMEOUT(timeout)) {
ESP_LOGE(TAG, "rsa operation is time-outed.");
ESP_LOGE(TAG, "rsa operation is timed out.");
return MP_NG;
}