Home
last modified time | relevance | path

Searched refs:peer_publ_key (Results 1 – 3 of 3) sorted by relevance

/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/
Dsmp_keys.c1117 Point peer_publ_key, new_publ_key; in smp_compute_dhkey() local
1123 memcpy(peer_publ_key.x, p_cb->peer_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey()
1124 memcpy(peer_publ_key.y, p_cb->peer_publ_key.y, BT_OCTET32_LEN); in smp_compute_dhkey()
1126 ECC_PointMult(&new_publ_key, &peer_publ_key, (DWORD *) private_key, KEY_LENGTH_DWORDS_P256); in smp_compute_dhkey()
1135 smp_debug_print_nbyte_little_endian (p_cb->peer_publ_key.x, (const UINT8 *)"rem public(x)", in smp_compute_dhkey()
1137 smp_debug_print_nbyte_little_endian (p_cb->peer_publ_key.y, (const UINT8 *)"rem public(y)", in smp_compute_dhkey()
1165 smp_calculate_f4(p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, p_cb->rand, 0, in smp_calculate_local_commitment()
1171 smp_calculate_f4(p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, p_cb->rand, in smp_calculate_local_commitment()
1211 smp_calculate_f4(p_cb->peer_publ_key.x, p_cb->loc_publ_key.x, p_cb->rrand, 0, in smp_calculate_peer_commitment()
1217 smp_calculate_f4(p_cb->peer_publ_key.x, p_cb->loc_publ_key.x, p_cb->rrand, ri, in smp_calculate_peer_commitment()
[all …]
Dsmp_act.c761 STREAM_TO_ARRAY(p_cb->peer_publ_key.x, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
762 STREAM_TO_ARRAY(p_cb->peer_publ_key.y, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
767 if ((memcmp(p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, sizeof(BT_OCTET32)) == 0)) { in smp_process_pairing_public_key()
777 if (!ECC_CheckPointIsInElliCur_P256((Point *)&p_cb->peer_publ_key)) { in smp_process_pairing_public_key()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h295 tSMP_PUBLIC_KEY peer_publ_key; member