Lines Matching refs:private_key
601 p_cb->private_key[i] = saved_local_oob_data.private_key_used[i]; in smp_create_private_key()
615 memcpy((void*)p_cb->private_key, rand, BT_OCTET8_LEN); in smp_create_private_key()
618 memcpy((void*)&p_cb->private_key[8], rand, BT_OCTET8_LEN); in smp_create_private_key()
621 memcpy((void*)&p_cb->private_key[16], rand, BT_OCTET8_LEN); in smp_create_private_key()
624 memcpy((void*)&p_cb->private_key[24], rand, in smp_create_private_key()
660 memcpy(p_cb->private_key, p_cb->sc_oob_data.loc_oob_data.private_key_used, in smp_use_oob_private_key()
685 BT_OCTET32 private_key; in smp_process_private_key() local
689 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_process_private_key()
690 ECC_PointMult(&public_key, &(curve_p256.G), (uint32_t*)private_key); in smp_process_private_key()
694 smp_debug_print_nbyte_little_endian(p_cb->private_key, "private", in smp_process_private_key()
718 BT_OCTET32 private_key; in smp_compute_dhkey() local
722 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_compute_dhkey()
726 ECC_PointMult(&new_publ_key, &peer_publ_key, (uint32_t*)private_key); in smp_compute_dhkey()
732 smp_debug_print_nbyte_little_endian(p_cb->private_key, "private", in smp_compute_dhkey()