Skip to content

Commit

Permalink
add reminder on aes.h chip-specific
Browse files Browse the repository at this point in the history
  • Loading branch information
gojimmypi committed Jan 26, 2025
1 parent 3aae0d9 commit 6c82def
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,8 @@ extern "C"
#if ESP_IDF_VERSION_MAJOR > 5 || (ESP_IDF_VERSION_MAJOR == 5 && ESP_IDF_VERSION_MINOR >= 4)
#include "rom/aes.h"
#elif ESP_IDF_VERSION_MAJOR >= 4
/* TODO: aes.h include is chip-specific in some versions of ESP-IDF.
* See https://github.com/wolfSSL/wolfssl/pull/8380 */
#include "esp32/rom/aes.h"
#elif defined(CONFIG_IDF_TARGET_ESP8266)
/* no hardware includes for ESP8266*/
Expand Down

0 comments on commit 6c82def

Please sign in to comment.