Merge pull request #6811 from gojimmypi/esp32-sha-revert-verbosity

ESP32 debug only: Mode REVERT to ESP32_SHA_SW
This commit is contained in:
JacobBarthelmeh
2023-09-26 13:34:43 -06:00
committed by GitHub

View File

@ -757,7 +757,9 @@ int esp_sha_try_hw_lock(WC_ESP32SHA* ctx)
else {
/* We should have otherwise anticipated this; how did we get here?
** This code should rarely, ideally never be reached. */
#if defined(DEBUG_WOLFSSL)
ESP_LOGI(TAG, "\nHardware in use; Mode REVERT to ESP32_SHA_SW\n");
#endif
ctx->mode = ESP32_SHA_SW;
return 0; /* success, but revert to SW */
}