Searched refs:dhkey (Results 1 – 9 of 9) sorted by relevance
/system/bt/gd/security/test/ |
D | ecdh_keys_test.cc | 99 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/ |
D | ecdh_keys.cc | 88 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()
|
D | pairing_handler_le_secure_connections.cc | 85 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, <k); in DoSecureConnectionsStage2()
|
D | pairing_handler_le_unittest.cc | 214 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, <k); in TEST_F()
|
D | pairing_handler_le.cc | 107 auto [PKa, PKb, dhkey] = std::get<KeyExchangeResult>(key_exchange_result); in PairingMain() 118 … std::get<Stage1Result>(stage1result), dhkey); in PairingMain()
|
D | pairing_handler_le.h | 237 const std::array<uint8_t, 32>& dhkey);
|
/system/bt/stack/smp/ |
D | smp_keys.cc | 728 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()
|
D | smp_int.h | 248 BT_OCTET32 dhkey; member
|
D | smp_utils.cc | 1508 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()
|