We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f042863 + 4ece466 commit 60f30e9Copy full SHA for 60f30e9
1 file changed
wolfcrypt/src/port/Espressif/esp32_sha.c
@@ -757,7 +757,9 @@ int esp_sha_try_hw_lock(WC_ESP32SHA* ctx)
757
else {
758
/* We should have otherwise anticipated this; how did we get here?
759
** This code should rarely, ideally never be reached. */
760
+ #if defined(DEBUG_WOLFSSL)
761
ESP_LOGI(TAG, "\nHardware in use; Mode REVERT to ESP32_SHA_SW\n");
762
+ #endif
763
ctx->mode = ESP32_SHA_SW;
764
return 0; /* success, but revert to SW */
765
}
0 commit comments