Skip to content

Commit

Permalink
Bluetooth: Mesh: disable HUK for nrf52 ble mesh
Browse files Browse the repository at this point in the history
Commit disables HUK usage for nrf52 ble mesh samples
since this requires separate PM region and breaks
backward compatibility with previous ble mesh releases.

Signed-off-by: Aleksandr Khromykh <[email protected]>
  • Loading branch information
alxelax authored and nordicjm committed Feb 20, 2025
1 parent 1e4562a commit 1883f06
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion subsys/bluetooth/mesh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ config BT_MESH_PSA_CRYPTO_STORAGE
imply TRUSTED_STORAGE
imply MBEDTLS_PSA_CRYPTO_STORAGE_C

choice TRUSTED_STORAGE_BACKEND_AEAD_KEY
default TRUSTED_STORAGE_BACKEND_AEAD_KEY_HASH_UID if SOC_SERIES_NRF52X

endchoice # TRUSTED_STORAGE_BACKEND_AEAD_KEY

config BT_MESH_CRYPTO_KEY_INITIALIZER
bool
default y
default y if TRUSTED_STORAGE_BACKEND_AEAD_KEY_DERIVE_FROM_HUK
imply HW_UNIQUE_KEY_WRITE_ON_CRYPTO_INIT if HW_UNIQUE_KEY_SUPPORTED

endif # BT_SETTINGS
Expand Down

0 comments on commit 1883f06

Please sign in to comment.