Skip to content

Commit

Permalink
Merge pull request #6811 from gojimmypi/esp32-sha-revert-verbosity
Browse files Browse the repository at this point in the history
ESP32 debug only: Mode REVERT to ESP32_SHA_SW
  • Loading branch information
JacobBarthelmeh authored Sep 26, 2023
2 parents f042863 + 4ece466 commit 60f30e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wolfcrypt/src/port/Espressif/esp32_sha.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
}
Expand Down

0 comments on commit 60f30e9

Please sign in to comment.