In ESP-IDF this file has moved, apparently to `esp32/sha.h`, but the following bug has some suggestions on what may be better replacements: https://github.com/espressif/esp-idf/issues/3245