Searched refs:public_key_a (Results 1 – 1 of 1) sorted by relevance
/system/bt/gd/security/test/ |
D | ecdh_keys_test.cc | 49 auto [private_key_a, public_key_a] = GenerateECDHKeyPair(); in TEST_F() 53 std::array<uint8_t, 32> dhkeyb = ComputeDHKey(private_key_b, public_key_a); in TEST_F() 59 …LOG_ERROR("public key a.x : %s", base::HexEncode(public_key_a.x.data(), public_key_a.x.size()).c_s… in TEST_F() 60 …LOG_ERROR("public key a.y : %s", base::HexEncode(public_key_a.y.data(), public_key_a.y.size()).c_s… in TEST_F() 80 bluetooth::security::EcdhPublicKey public_key_a; in TEST_F() local 85 memcpy(public_key_a.x.data(), ax, 32); in TEST_F() 86 memcpy(public_key_a.y.data(), ay, 32); in TEST_F() 106 std::array<uint8_t, 32> dhkey_b = ComputeDHKey(private_key_b, public_key_a); in TEST_F()
|