Home
last modified time | relevance | path

Searched refs:APP_MIC_LEN (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dcrypto.c24 #define APP_MIC_LEN(aszmic) ((aszmic) ? 8 : 4) macro
471 APP_MIC_LEN(ctx->aszmic)); in bt_mesh_app_encrypt()
473 net_buf_simple_add(buf, APP_MIC_LEN(ctx->aszmic)); in bt_mesh_app_encrypt()
495 APP_MIC_LEN(ctx->aszmic)); in bt_mesh_app_decrypt()
Dtransport.c49 #define APP_MIC_LEN(aszmic) ((aszmic) ? BT_MESH_MIC_LONG : BT_MESH_MIC_SHORT) macro
732 buf->len -= APP_MIC_LEN(aszmic); in seg_rx_assemble()
1048 } else if (buf->len < 1 + APP_MIC_LEN(0)) { in trans_unseg()
1053 buf->len -= APP_MIC_LEN(0); in trans_unseg()
1580 } else if (rx->len < 1 + APP_MIC_LEN(ASZMIC(hdr))) { in trans_seg()
1593 &sdu, seg_buf.data, rx->len - APP_MIC_LEN(ASZMIC(hdr))); in trans_seg()