Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/include/
Dbt_octets.h33 #define BT_OCTET8_LEN 8 macro
34 typedef uint8_t BT_OCTET8[BT_OCTET8_LEN]; /* octet array: size 16 */
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_keys.cc580 memcpy(text.data(), p_cb->rand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
581 memcpy(text.data() + BT_OCTET8_LEN, p_cb->rrand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
583 memcpy(text.data(), p_cb->rrand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
584 memcpy(text.data() + BT_OCTET8_LEN, p_cb->rand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
Dsmp_utils.cc61 #define SMP_CENTRAL_ID_SIZE (BT_OCTET8_LEN + 2 + 1)
607 ARRAY_TO_STREAM(p, p_cb->enc_rand, BT_OCTET8_LEN); in smp_build_central_id_cmd()
1572 memset(ple_key.penc_key.rand, 0, BT_OCTET8_LEN); in smp_save_secure_connections_long_term_key()
Dsmp_act.cc1018 STREAM_TO_ARRAY(le_key.penc_key.rand, p, BT_OCTET8_LEN); in smp_proc_central_id()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_sec.cc893 BT_OCTET8_LEN); in btm_sec_save_le_key()
1202 memcpy(p_cb->enc_rand, rand, BT_OCTET8_LEN); in btm_ble_ltk_request()
1909 memcpy(tmp.rand1.data(), rand, BT_OCTET8_LEN); in btm_ble_reset_id()
1912 memcpy(tmp.rand1.data() + 8, rand, BT_OCTET8_LEN); in btm_ble_reset_id()
1915 memcpy(tmp.rand2.data(), rand, BT_OCTET8_LEN); in btm_ble_reset_id()
1918 memcpy(tmp.rand2.data() + 8, rand, BT_OCTET8_LEN); in btm_ble_reset_id()