Skip to content

Commit

Permalink
Add CONFIG_MBEDTLS_HKDF_C=y to some esp32 defaults. (#26750)
Browse files Browse the repository at this point in the history
This seems to be required, otherwise I get errors like:

```
config/esp32/third_party/connectedhomeip/src/crypto/CHIPCryptoPALmbedTLS.cpp:330: undefined reference to `mbedtls_hkdf'
```

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jul 28, 2023
1 parent c3c6c04 commit 1167632
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/lighting-app/esp32/sdkconfig.defaults.esp32c2
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ CONFIG_BT_NIMBLE_ROLE_OBSERVER=n
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=4
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=8
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=16

# Enable HKDF in mbedtls
CONFIG_MBEDTLS_HKDF_C=y
3 changes: 3 additions & 0 deletions examples/lighting-app/esp32/sdkconfig.defaults.esp32c6
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ CONFIG_ENABLE_OTA_REQUESTOR=y

# Enable chip shell
CONFIG_ENABLE_CHIP_SHELL=y

# Enable HKDF in mbedtls
CONFIG_MBEDTLS_HKDF_C=y
3 changes: 3 additions & 0 deletions examples/lighting-app/esp32/sdkconfig.defaults.esp32h2
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@ CONFIG_ENABLE_OTA_REQUESTOR=y

# Enable chip shell
CONFIG_ENABLE_CHIP_SHELL=y

# Enable HKDF in mbedtls
CONFIG_MBEDTLS_HKDF_C=y
3 changes: 3 additions & 0 deletions examples/lighting-app/esp32/sdkconfig_rpc.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ CONFIG_EXAMPLE_UART_BAUD_RATE=115200
CONFIG_EXAMPLE_UART_RXD=3
CONFIG_EXAMPLE_UART_TXD=1
CONFIG_ENABLE_PW_RPC=y

# Enable HKDF in mbedtls
CONFIG_MBEDTLS_HKDF_C=y
3 changes: 3 additions & 0 deletions examples/shell/esp32/sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
CONFIG_DEVICE_VENDOR_ID=0xFFF1
CONFIG_DEVICE_PRODUCT_ID=0x8012
CONFIG_ENABLE_CHIP_SHELL=y

# Enable HKDF in mbedtls
CONFIG_MBEDTLS_HKDF_C=y

0 comments on commit 1167632

Please sign in to comment.