Lines Matching refs:private_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()
689 BT_OCTET32 private_key; in smp_process_private_key() local
693 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_process_private_key()
694 ECC_PointMult(&public_key, &(curve_p256.G), (uint32_t*)private_key); in smp_process_private_key()
698 smp_debug_print_nbyte_little_endian(p_cb->private_key, "private", in smp_process_private_key()
722 BT_OCTET32 private_key; in smp_compute_dhkey() local
726 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_compute_dhkey()
730 ECC_PointMult(&new_publ_key, &peer_publ_key, (uint32_t*)private_key); in smp_compute_dhkey()
736 smp_debug_print_nbyte_little_endian(p_cb->private_key, "private", in smp_compute_dhkey()