Skip to content
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

"hwcrypto/sha.h" library either depriciate or remove (IDFGH-899) #3245

Closed
manish5897 opened this issue Apr 2, 2019 · 2 comments
Closed

"hwcrypto/sha.h" library either depriciate or remove (IDFGH-899) #3245

manish5897 opened this issue Apr 2, 2019 · 2 comments
Assignees

Comments

@manish5897
Copy link

I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.

Now, might be the library is removed; It seems fatal error: hwcrypto/sha.h: No such file or directory
compilation terminated.

Please let me know the alternate for the same.

@github-actions github-actions bot changed the title "hwcrypto/sha.h" library either depriciate or remove "hwcrypto/sha.h" library either depriciate or remove (IDFGH-899) Apr 2, 2019
@suda-morris
Copy link
Collaborator

suda-morris commented Apr 2, 2019

Hi @manish5897 Sorry about that.
We've move the original hwcrypto/sha.h to https://github.com/espressif/esp-idf/tree/master/components/mbedtls/port/include/esp32/sha.h. So in your application where uses include hwcrypto/sha.h should be replaced by include esp32/sha.h now.
We will add fallback as soon as possible.

@suda-morris suda-morris self-assigned this Apr 2, 2019
@projectgus
Copy link
Contributor

Hi @manish5897 ,

Alternatively, you can include "mbedtls/sha.h" and rename the esp32_xxx APIs to mbedtls_xxx. This will work in both IDF v3.x and v4.x, and uses hardware acceleration if configured in menuconfig. There is no performance overhead to calling the mbedTLS APIs instead of the "esp32" APIs.

martinberlin added a commit to martinberlin/cpp-utils that referenced this issue May 12, 2020
0xFEEDC0DE64 pushed a commit to 0xFEEDC0DE64/esp-idf that referenced this issue May 5, 2021
* Fixed FFat::end. Fixes espressif#3244

* Missed the handle check in format
kvoit added a commit to kvoit/RemoteDebug that referenced this issue May 29, 2022
gabryelreyes added a commit to NewTec-GmbH/esp32_https_server that referenced this issue Jun 21, 2022
Changed Include as sha.h was moved.
espressif/esp-idf#3245
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