Searched refs:public_key_b (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Bluetooth/system/gd/security/test/ |
D | ecdh_keys_test.cc | 52 auto [private_key_b, public_key_b] = GenerateECDHKeyPair(); in TEST_F() 54 std::array<uint8_t, 32> dhkeya = ComputeDHKey(private_key_a, public_key_b); in TEST_F() 68 "public key b.x : {}", base::HexEncode(public_key_b.x.data(), public_key_b.x.size())); in TEST_F() 70 "public key b.y : {}", base::HexEncode(public_key_b.y.data(), public_key_b.y.size())); in TEST_F() 97 bluetooth::security::EcdhPublicKey public_key_b; in TEST_F() local 102 memcpy(public_key_b.x.data(), bx, 32); in TEST_F() 103 memcpy(public_key_b.y.data(), by, 32); in TEST_F() 111 std::array<uint8_t, 32> dhkey_a = ComputeDHKey(private_key_a, public_key_b); in TEST_F()
|