From: Konstantin Kondrashov Date: Wed, 10 Apr 2019 12:49:27 +0000 (+0800) Subject: esp32/sha: Remove second enabling in esp_sha_lock_engine_common X-Git-Tag: v3.3-beta3~14^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2f00b0adf73599c722d996314031f6ccaa99261;p=esp-idf esp32/sha: Remove second enabling in esp_sha_lock_engine_common --- diff --git a/components/esp32/hwcrypto/sha.c b/components/esp32/hwcrypto/sha.c index 422065f9ca..7a064340ad 100644 --- a/components/esp32/hwcrypto/sha.c +++ b/components/esp32/hwcrypto/sha.c @@ -182,9 +182,6 @@ static bool esp_sha_lock_engine_common(esp_sha_type sha_type, TickType_t ticks_t /* Just locked first engine, so enable SHA hardware */ periph_module_enable(PERIPH_SHA_MODULE); - DPORT_STALL_OTHER_CPU_START(); - ets_sha_enable(); - DPORT_STALL_OTHER_CPU_END(); } engines_in_use++;