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 | 87 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()
|
D | pairing_handler_le_secure_connections.cc | 80 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, <k); in DoSecureConnectionsStage2()
|
D | pairing_handler_le_unittest.cc | 211 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, <k); in TEST_F()
|
D | pairing_handler_le.cc | 95 auto [PKa, PKb, dhkey] = std::get<KeyExchangeResult>(key_exchange_result); in PairingMain() 106 … std::get<Stage1Result>(stage1result), dhkey); in PairingMain()
|
D | pairing_handler_le.h | 206 const std::array<uint8_t, 32>& dhkey);
|
/system/bt/stack/smp/ |
D | smp_keys.cc | 732 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()
|
D | smp_int.h | 278 BT_OCTET32 dhkey; member
|
D | smp_utils.cc | 1515 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()
|