Skip to content

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

Open

Description

@yet-another-fuzzi

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>"

Activity

  1. petoknm commented on Feb 11, 2022

    @petoknm

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

  2. BojanJurca commented on May 6, 2022

    @BojanJurca
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions