]> granicus.if.org Git - esp-idf/commit
hwcrypto sha: Use spinlocks instead of semaphores for small state changes
authorAngus Gratton <angus@espressif.com>
Fri, 21 Dec 2018 05:16:16 +0000 (16:16 +1100)
committerAngus Gratton <gus@projectgus.com>
Wed, 23 Jan 2019 10:18:13 +0000 (18:18 +0800)
commit94ed7b82988500a0716d7be3610eaa6fe31232c5
treef7753359035e8420d551d5cae8537bc6fe9a54f2
parent24fab0b7a91d9603f1e1f3436a1fc1f37e7fa95b
hwcrypto sha: Use spinlocks instead of semaphores for small state changes

Significant performance improvement and smaller RAM footprint.
components/esp32/hwcrypto/sha.c
components/esp32/include/hwcrypto/sha.h