Skip to content

Commit 1883f06

Browse files
alxelaxnordicjm
authored andcommitted
Bluetooth: Mesh: disable HUK for nrf52 ble mesh
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]>
1 parent 1e4562a commit 1883f06

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

subsys/bluetooth/mesh/Kconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,14 @@ config BT_MESH_PSA_CRYPTO_STORAGE
3535
imply TRUSTED_STORAGE
3636
imply MBEDTLS_PSA_CRYPTO_STORAGE_C
3737

38+
choice TRUSTED_STORAGE_BACKEND_AEAD_KEY
39+
default TRUSTED_STORAGE_BACKEND_AEAD_KEY_HASH_UID if SOC_SERIES_NRF52X
40+
41+
endchoice # TRUSTED_STORAGE_BACKEND_AEAD_KEY
42+
3843
config BT_MESH_CRYPTO_KEY_INITIALIZER
3944
bool
40-
default y
45+
default y if TRUSTED_STORAGE_BACKEND_AEAD_KEY_DERIVE_FROM_HUK
4146
imply HW_UNIQUE_KEY_WRITE_ON_CRYPTO_INIT if HW_UNIQUE_KEY_SUPPORTED
4247

4348
endif # BT_SETTINGS

0 commit comments

Comments
 (0)