Skip to content

Commit a13157f

Browse files
alxelaxcarlescufi
authored andcommitted
Bluetooth: Mesh: fix missed old encryption in dfu metadata
PR fixes the old internal encryption api usage for dfu metadata. Signed-off-by: Aleksandr Khromykh <[email protected]>
1 parent cd4bfc8 commit a13157f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/mesh/dfu_metadata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ int bt_mesh_dfu_metadata_comp_hash_get(struct net_buf_simple *buf, uint8_t *key,
7777
int err;
7878
struct bt_mesh_sg sg = {.data = buf->data, .len = buf->len};
7979

80-
err = bt_mesh_aes_cmac(key, &sg, 1, mac);
80+
err = bt_mesh_aes_cmac_raw_key(key, &sg, 1, mac);
8181
if (err) {
8282
return err;
8383
}

0 commit comments

Comments
 (0)