Home
last modified time | relevance | path

Searched refs:aszmic (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dtransport.c49 #define APP_MIC_LEN(aszmic) ((aszmic) ? BT_MESH_MIC_LONG : BT_MESH_MIC_SHORT) argument
87 aszmic:1, /* MIC size */ member
350 net_buf_simple_add_u8(buf, (tx->aszmic << 7) | seq_zero >> 6); in seg_tx_buf_build()
495 net_tx->ctx->addr, net_tx->ctx->app_idx, net_tx->aszmic, sdu->len); in send_seg()
532 tx->aszmic = net_tx->aszmic; in send_seg()
631 .aszmic = tx->aszmic, in trans_encrypt()
698 tx->aszmic = 0U; in bt_mesh_trans_send()
700 tx->aszmic = 1U; in bt_mesh_trans_send()
718 uint8_t aszmic) in seg_rx_assemble() argument
732 buf->len -= APP_MIC_LEN(aszmic); in seg_rx_assemble()
[all …]
Dcrypto.c24 #define APP_MIC_LEN(aszmic) ((aszmic) ? 8 : 4) argument
446 sys_put_be32((ctx->seq_num | ((uint32_t)ctx->aszmic << 31)), &nonce[1]); in create_app_nonce()
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()
Dnet.h281 aszmic:1, member
Dcrypto.h111 uint8_t aszmic; member
Dfriend.c402 meta->crypto.aszmic = 0; in unseg_app_sdu_unpack()