• Home
  • Raw
  • Download

Lines Matching refs:memcpy

422         memcpy(p_cb->rand.data(), rand, 8);  in smp_generate_srand_mrand_confirm()
427 memcpy((void*)&p_cb->rand[8], rand, BT_OCTET8_LEN); in smp_generate_srand_mrand_confirm()
516 memcpy(p_cb->enc_rand, rand, BT_OCTET8_LEN); in smp_generate_y()
590 memcpy(text.data(), p_cb->rand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
591 memcpy(text.data() + BT_OCTET8_LEN, p_cb->rrand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
593 memcpy(text.data(), p_cb->rrand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
594 memcpy(text.data() + BT_OCTET8_LEN, p_cb->rand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
618 memcpy((void*)p_cb->private_key, rand, BT_OCTET8_LEN); in smp_create_private_key()
621 memcpy((void*)&p_cb->private_key[8], rand, BT_OCTET8_LEN); in smp_create_private_key()
624 memcpy((void*)&p_cb->private_key[16], rand, BT_OCTET8_LEN); in smp_create_private_key()
627 memcpy((void*)&p_cb->private_key[24], rand, in smp_create_private_key()
664 memcpy(p_cb->private_key, p_cb->sc_oob_data.loc_oob_data.private_key_used, in smp_use_oob_private_key()
693 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_process_private_key()
695 memcpy(p_cb->loc_publ_key.x, public_key.x, BT_OCTET32_LEN); in smp_process_private_key()
696 memcpy(p_cb->loc_publ_key.y, public_key.y, BT_OCTET32_LEN); in smp_process_private_key()
726 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_compute_dhkey()
727 memcpy(peer_publ_key.x, p_cb->peer_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey()
728 memcpy(peer_publ_key.y, p_cb->peer_publ_key.y, BT_OCTET32_LEN); in smp_compute_dhkey()
732 memcpy(p_cb->dhkey, new_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey()
1045 memcpy(p_cb->rand.data(), rand, BT_OCTET8_LEN); in smp_start_nonce_generation()
1048 memcpy(p_cb->rand.data() + 8, rand, BT_OCTET8_LEN); in smp_start_nonce_generation()