zephyr/subsys/bluetooth/mesh
Aleksandr Khromykh c02ec1f645 bluetooth: mesh: remove persisted psa key if mesh does not own it
Commit adds destruction of the persisted in PSA ITS key if
mesh does not own it (zero bit in the bitmap of persisted keys).

This is not standard mesh behavior, but might happen
if something happens between removing key data in mesh and
in the crypto library (for example power off in bettwen).

Previously, mesh wasn't able to import key with gotten stuck
key id. The current fix reproduces more robust behavior.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2025-07-25 08:17:24 -04:00
..
shell bluetooth: mesh: remove unused functionality 2025-06-26 14:09:01 +02:00
access.c Bluetooth: Mesh: make corresponding group ID unique 2025-03-31 22:01:11 +02:00
access.h
adv_ext.c bluetooth: mesh: fix buffer leakage if mesh was suspended 2025-05-20 15:25:06 +02:00
adv_legacy.c
adv.c
adv.h
app_keys.c
app_keys.h
beacon.c
beacon.h
blob_cli.c
blob_io_flash.c
blob_srv.c Bluetooth: Mesh: Blob Server considers friendship 2025-07-25 08:14:26 -04:00
blob.h
brg_cfg_cli.c
brg_cfg_srv.c
brg_cfg.c
brg_cfg.h
cdb.c
cdb.h
cfg_cli.c
cfg_srv.c
cfg.c
cfg.h
CMakeLists.txt bluetooth: mesh: remove tinycrypt support 2025-06-26 11:13:19 +02:00
crypto_psa.c bluetooth: mesh: remove persisted psa key if mesh does not own it 2025-07-25 08:17:24 -04:00
crypto.c
crypto.h
delayable_msg.c
delayable_msg.h
dfd_srv_internal.h
dfd_srv.c
dfd.h
dfu_cli.c
dfu_metadata.c
dfu_slot.c
dfu_slot.h
dfu_srv.c
dfu.h
foundation.h
friend.c
friend.h
gatt_cli.c
gatt_cli.h
gatt.h
health_cli.c
health_srv.c
heartbeat.c
heartbeat.h
Kconfig bluetooth: mesh: remove tinycrypt support 2025-06-26 11:13:19 +02:00
keys.h bluetooth: mesh: remove tinycrypt support 2025-06-26 11:13:19 +02:00
large_comp_data_cli.c
large_comp_data_srv.c
lpn.c bluetooth: mesh: keep scanner enabled if lpn has been disabled 2025-04-25 14:05:27 +02:00
lpn.h
main.c Bluetooth: Mesh: remove device key candidate 2025-03-28 16:11:39 +01:00
mesh.h
msg.c
msg.h
net.c
net.h
od_priv_proxy_cli.c
od_priv_proxy_srv.c
od_priv_proxy.h
op_agg_cli.c
op_agg_srv.c
op_agg.c
op_agg.h
pb_adv.c Bluetooth: Mesh: Disable prov bearers on link 2025-03-26 16:19:31 +01:00
pb_gatt_cli.c
pb_gatt_cli.h
pb_gatt_srv.c bluetooth: rename _bt_gatt_ccc and clarify usage 2025-04-17 17:24:19 +02:00
pb_gatt_srv.h
pb_gatt.c Bluetooth: Mesh: Disable prov bearers on link 2025-03-26 16:19:31 +01:00
pb_gatt.h
priv_beacon_cli.c
priv_beacon_srv.c
priv_beacon.h
prov_bearer.h Bluetooth: Mesh: Disable prov bearers on link 2025-03-26 16:19:31 +01:00
prov.c
prov.h
provisionee.c Bluetooth: Mesh: Disable prov bearers on link 2025-03-26 16:19:31 +01:00
provisioner.c
provisioner.h
proxy_cli.c
proxy_cli.h
proxy_msg.c
proxy_msg.h
proxy_srv.c bluetooth: rename _bt_gatt_ccc and clarify usage 2025-04-17 17:24:19 +02:00
proxy.h
rpl.c
rpl.h
rpr_cli.c
rpr_srv.c Bluetooth: Mesh: Disable prov bearers on link 2025-03-26 16:19:31 +01:00
rpr.h
sar_cfg_cli.c
sar_cfg_internal.h
sar_cfg_srv.c
sar_cfg.c
settings.c Bluetooth: Mesh: Disable prov bearers on link 2025-03-26 16:19:31 +01:00
settings.h
sol_pdu_rpl_cli.c
sol_pdu_rpl_srv.c
solicitation.c
solicitation.h
statistic.c
statistic.h
subnet.c
subnet.h
test.c
test.h
testing.c
testing.h
transport.c
transport.h
va.c
va.h Bluetooth: Mesh: Add missing includes to va.h 2025-04-24 10:39:21 +02:00