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.cc87 std::array<uint8_t, 32> dhkey; in ComputeDHKey() local
88 memcpy(dhkey.data(), new_publ_key.x, 32); in ComputeDHKey()
89 return dhkey; in ComputeDHKey()
Dpairing_handler_le_secure_connections.cc80 std::array<uint8_t, 32> dhkey = ComputeDHKey(private_key, remote_public_key); in ExchangePublicKeys() local
85 return KeyExchangeResult{PKa, PKb, dhkey}; in ExchangePublicKeys()
132 … const std::array<uint8_t, 32>& dhkey) { in DoSecureConnectionsStage2() argument
154 crypto_toolbox::f5((uint8_t*)dhkey.data(), Na, Nb, a, b, &mac_key, &ltk); in DoSecureConnectionsStage2()
Dpairing_handler_le_unittest.cc211 std::array<uint8_t, 32> dhkey = ComputeDHKey(private_key, my_public_key); in TEST_F() local
243 crypto_toolbox::f5(dhkey.data(), Na, Nb, a, b, &mac_key, &ltk); in TEST_F()
Dpairing_handler_le.cc95 auto [PKa, PKb, dhkey] = std::get<KeyExchangeResult>(key_exchange_result); in PairingMain()
106 … std::get<Stage1Result>(stage1result), dhkey); in PairingMain()
Dpairing_handler_le.h206 const std::array<uint8_t, 32>& dhkey);
/system/bt/stack/smp/
Dsmp_keys.cc732 memcpy(p_cb->dhkey, new_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey()
734 smp_debug_print_nbyte_little_endian(p_cb->dhkey, "Old DHKey", BT_OCTET32_LEN); in smp_compute_dhkey()
742 smp_debug_print_nbyte_little_endian(p_cb->dhkey, "Reverted DHKey", in smp_compute_dhkey()
Dsmp_int.h278 BT_OCTET32 dhkey; member
Dsmp_utils.cc1515 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()