Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/security/test/
Decdh_keys_test.cc51 auto [private_key_a, public_key_a] = GenerateECDHKeyPair(); in TEST_F()
55 std::array<uint8_t, 32> dhkeyb = ComputeDHKey(private_key_b, public_key_a); in TEST_F()
62 "public key a.x : {}", base::HexEncode(public_key_a.x.data(), public_key_a.x.size())); in TEST_F()
64 "public key a.y : {}", base::HexEncode(public_key_a.y.data(), public_key_a.y.size())); in TEST_F()
86 bluetooth::security::EcdhPublicKey public_key_a; in TEST_F() local
91 memcpy(public_key_a.x.data(), ax, 32); in TEST_F()
92 memcpy(public_key_a.y.data(), ay, 32); in TEST_F()
112 std::array<uint8_t, 32> dhkey_b = ComputeDHKey(private_key_b, public_key_a); in TEST_F()