Home
last modified time | relevance | path

Searched refs:dhkey (Results 1 – 9 of 9) sorted by relevance

/system/bt/gd/security/test/
Decdh_keys_test.cc99 std::array<uint8_t, 32> dhkey; in TEST_F() local
103 memcpy(dhkey.data(), dhkey_val, 32); in TEST_F()
108 EXPECT_EQ(dhkey_a, dhkey); in TEST_F()
109 EXPECT_EQ(dhkey_b, dhkey); in TEST_F()
/system/bt/gd/security/
Decdh_keys.cc88 std::array<uint8_t, 32> dhkey; in ComputeDHKey() local
89 memcpy(dhkey.data(), new_publ_key.x, 32); in ComputeDHKey()
90 return dhkey; in ComputeDHKey()
Dpairing_handler_le_secure_connections.cc85 std::array<uint8_t, 32> dhkey = ComputeDHKey(private_key, remote_public_key); in ExchangePublicKeys() local
90 return KeyExchangeResult{PKa, PKb, dhkey}; in ExchangePublicKeys()
137 … const std::array<uint8_t, 32>& dhkey) { in DoSecureConnectionsStage2() argument
159 crypto_toolbox::f5((uint8_t*)dhkey.data(), Na, Nb, a, b, &mac_key, &ltk); in DoSecureConnectionsStage2()
Dpairing_handler_le_unittest.cc214 std::array<uint8_t, 32> dhkey = ComputeDHKey(private_key, my_public_key); in TEST_F() local
246 crypto_toolbox::f5(dhkey.data(), Na, Nb, a, b, &mac_key, &ltk); in TEST_F()
Dpairing_handler_le.cc107 auto [PKa, PKb, dhkey] = std::get<KeyExchangeResult>(key_exchange_result); in PairingMain()
118 … std::get<Stage1Result>(stage1result), dhkey); in PairingMain()
Dpairing_handler_le.h237 const std::array<uint8_t, 32>& dhkey);
/system/bt/stack/smp/
Dsmp_keys.cc728 memcpy(p_cb->dhkey, new_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey()
730 smp_debug_print_nbyte_little_endian(p_cb->dhkey, "Old DHKey", BT_OCTET32_LEN); in smp_compute_dhkey()
738 smp_debug_print_nbyte_little_endian(p_cb->dhkey, "Reverted DHKey", in smp_compute_dhkey()
Dsmp_int.h248 BT_OCTET32 dhkey; member
Dsmp_utils.cc1508 crypto_toolbox::f5(p_cb->dhkey, na, nb, a, b, &p_cb->mac_key, &p_cb->ltk); in smp_calculate_f5_mackey_and_long_term_key()