Răsfoiți Sursa

addressed code review

Hideki Miyazaki 2 ani în urmă
părinte
comite
c3e7ff0e61

+ 1 - 1
IDE/Espressif/ESP-IDF/user_settings.h

@@ -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

+ 2 - 2
wolfcrypt/src/port/Espressif/esp32_mp.c

@@ -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;
     }