Skip to content

hwcrypto/sha.h: No such file or directory #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
yet-another-fuzzi opened this issue Nov 28, 2021 · 2 comments
Open

hwcrypto/sha.h: No such file or directory #143

yet-another-fuzzi opened this issue Nov 28, 2021 · 2 comments

Comments

@yet-another-fuzzi
Copy link

Describe the bug
Compiling your library (downloaded vai library manager) you get an "hwcrypto/sha.h: No such file or directory".

Solution
change "#include <hwcrypto/sha.h>" in HTTPConnection.hpp to "#include <esp32/sha.h>"

@petoknm
Copy link

petoknm commented Feb 11, 2022

You can just replace "hwcrypto/sha.h" with "sha/sha_parallel_engine.h", that's the header used in newer ESP-IDF versions

@BojanJurca
Copy link
Contributor

Or:

#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (4, 4, 0)
  #include <sha/sha_parallel_engine.h>  
#else
  #include <hwcrypto/sha.h>
#endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants