Lines Matching refs:rand
1279 memcpy(p_rec->ble.keys.rand, p_keys->penc_key.rand, BT_OCTET8_LEN); in btm_sec_save_le_key()
1581 void btm_ble_ltk_request(uint16_t handle, uint8_t rand[8], uint16_t ediv) { in btm_ble_ltk_request()
1589 memcpy(p_cb->enc_rand, rand, BT_OCTET8_LEN); in btm_ble_ltk_request()
1624 btsnd_hcic_ble_start_enc(p_rec->ble_hci_handle, p_rec->ble.keys.rand, in btm_ble_start_encrypt()
2315 btsnd_hcic_ble_rand(base::Bind([](BT_OCTET8 rand) { in btm_ble_reset_id() argument
2317 memcpy(tmp.rand1.data(), rand, BT_OCTET8_LEN); in btm_ble_reset_id()
2319 [](reset_id_data tmp, BT_OCTET8 rand) { in btm_ble_reset_id() argument
2320 memcpy(tmp.rand1.data() + 8, rand, BT_OCTET8_LEN); in btm_ble_reset_id()
2322 [](reset_id_data tmp, BT_OCTET8 rand) { in btm_ble_reset_id() argument
2323 memcpy(tmp.rand2.data(), rand, BT_OCTET8_LEN); in btm_ble_reset_id()
2325 [](reset_id_data tmp, BT_OCTET8 rand) { in btm_ble_reset_id() argument
2326 memcpy(tmp.rand2.data() + 8, rand, BT_OCTET8_LEN); in btm_ble_reset_id()