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 Bluetooth: Mesh: Introduce separate workq for ADV EXT 2024-11-05 15:24:31 -06:00
adv.c Bluetooth: Mesh: Use relay bufs/pool for brg_cfg 2024-11-19 10:12:19 -05:00
adv.h Bluetooth: Mesh: Fix Assert in bt_mesh_adv_unref when messages to a proxy 2025-01-17 06:43:08 +01:00
app_keys.c
app_keys.h
beacon.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
beacon.h
blob_cli.c bluetooth: mesh: Correct callback check mesh blob client 2025-02-14 17:10:39 +01:00
blob_io_flash.c Bluetooth: Mesh: Improve logic for serving devices erase capabilities 2025-01-23 19:25:27 +01:00
blob_srv.c Bluetooth: Mesh: Blob Server considers friendship 2025-07-25 08:14:26 -04:00
blob.h
brg_cfg_cli.c bluetooth: mesh: brg_cfg_cli: Initialize prohibited value 2024-11-28 09:43:48 +01:00
brg_cfg_srv.c Bluetooth: Mesh: Add prefix to Subnet Bridge API 2024-10-02 14:54:13 +01:00
brg_cfg.c Bluetooth: Mesh: Fix out of bounds write 2024-10-08 18:09:57 -04:00
brg_cfg.h Bluetooth: Mesh: Remove duplicate brg declaration 2024-10-02 14:54:13 +01:00
cdb.c Bluetooth: Mesh: remove deprecated field in cdb subnet 2025-02-06 21:13:31 +01:00
cdb.h
cfg_cli.c Bluetooth: Mesh: Fix cfg_cli KRP not working for key_net_idx != 0 2024-11-29 14:49:34 +01:00
cfg_srv.c bluetooth: mesh: set subscription address on response 2025-03-13 10:49:48 +01:00
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 bluetooth: mesh: delayable_msg: cast to avoid truncation issue 2025-02-10 22:26:31 +01:00
delayable_msg.h
dfd_srv_internal.h
dfd_srv.c bluetooth: mesh: Remove assertion for Received List message PDU size 2025-01-15 22:57:01 +01:00
dfd.h
dfu_cli.c Bluetooth: Mesh: Check that required models exists on the same element 2024-12-04 09:23:44 +01:00
dfu_metadata.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
dfu_slot.c
dfu_slot.h
dfu_srv.c Bluetooth: Mesh: Check that required models exists on the same element 2024-12-04 09:23:44 +01:00
dfu.h
foundation.h tests: bluetooth: mesh: Removed native_posix and renamed sim_ids 2024-09-17 05:22:32 -04:00
friend.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
friend.h
gatt_cli.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
gatt_cli.h
gatt.h bluetooth: mesh: gatt: Move generic GATT related defines to gatt.h 2024-11-27 22:51:29 -05:00
health_cli.c bluetooth: mesh: health_cli: Add callback to pull msg for periodic pub 2024-12-20 10:18:54 +01:00
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 Bluetooth: Mesh: add missing device key candidate PSA support 2025-02-06 21:13:31 +01:00
net.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
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 bluetooth: mesh: fix mesh pb gatt cli uuid usage 2025-01-14 00:00:44 +01:00
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 Bluetooth: Mesh: Check that required models exists on the same element 2024-12-04 09:23:44 +01:00
priv_beacon.h
prov_bearer.h Bluetooth: Mesh: Disable prov bearers on link 2025-03-26 16:19:31 +01:00
prov.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
prov.h
provisionee.c Bluetooth: Mesh: Disable prov bearers on link 2025-03-26 16:19:31 +01:00
provisioner.c Bluetooth: Mesh: remove double cdb node storing 2025-02-11 18:56:37 +01:00
provisioner.h
proxy_cli.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
proxy_cli.h
proxy_msg.c bluetooth: mesh: proxy_msg: check that att mtu is big enough 2025-02-10 22:26:31 +01:00
proxy_msg.h Bluetooth: Mesh: Introduce separate workq for ADV EXT 2024-11-05 15:24:31 -06:00
proxy_srv.c bluetooth: rename _bt_gatt_ccc and clarify usage 2025-04-17 17:24:19 +02:00
proxy.h bluetooth: mesh: gatt: Move generic GATT related defines to gatt.h 2024-11-27 22:51:29 -05:00
rpl.c Bluetooth: Mesh: Refine Mesh store logic 2024-10-16 09:56:26 +02:00
rpl.h Bluetooth: Mesh: Refine Mesh store logic 2024-10-16 09:56:26 +02:00
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 lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
settings.c Bluetooth: Mesh: Disable prov bearers on link 2025-03-26 16:19:31 +01:00
settings.h Bluetooth: Mesh: Adds subnet bridge states 2024-09-17 05:22:32 -04:00
sol_pdu_rpl_cli.c
sol_pdu_rpl_srv.c
solicitation.c
solicitation.h
statistic.c
statistic.h
subnet.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
subnet.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
test.c
test.h
testing.c Bluetooth: Mesh: Rename mesh test primitives 2024-08-27 15:14:08 -04:00
testing.h Bluetooth: Mesh: Rename mesh test primitives 2024-08-27 15:14:08 -04:00
transport.c bluetooth: mesh: rpl: fix rpl for subnet bridge 2024-09-17 05:22:32 -04:00
transport.h
va.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
va.h Bluetooth: Mesh: Add missing includes to va.h 2025-04-24 10:39:21 +02:00