mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
addressed code review
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user