Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_core/
Dcrypto.c198 uint8_t *out_msg, size_t mic_size) in bt_mesh_ccm_decrypt() argument
221 if (mic_size == sizeof(uint64_t)) { in bt_mesh_ccm_decrypt()
347 if (memcmp(mic, enc_msg + msg_len, mic_size)) { in bt_mesh_ccm_decrypt()
357 uint8_t *out_msg, size_t mic_size) in bt_mesh_ccm_encrypt() argument
368 BT_DBG("aad_len %u mic_size %u", aad_len, mic_size); in bt_mesh_ccm_encrypt()
386 if (mic_size == sizeof(uint64_t)) { in bt_mesh_ccm_encrypt()
510 memcpy(out_msg + msg_len, mic, mic_size); in bt_mesh_ccm_encrypt()
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_models/client/
Dclient_common.c173 uint8_t mic_size = 0; in bt_mesh_client_calc_timeout() local
179 mic_size = (need_seg && net_buf_simple_tailroom(msg) >= BLE_MESH_MIC_LONG) ? in bt_mesh_client_calc_timeout()
188 seg_count = (msg->len + mic_size - 1) / 12U + 1U; in bt_mesh_client_calc_timeout()