Searched refs:public_key_b (Results 1 – 1 of 1) sorted by relevance
/system/bt/gd/security/test/ |
D | ecdh_keys_test.cc | 50 auto [private_key_b, public_key_b] = GenerateECDHKeyPair(); in TEST_F() 52 std::array<uint8_t, 32> dhkeya = ComputeDHKey(private_key_a, public_key_b); in TEST_F() 63 …LOG_ERROR("public key b.x : %s", base::HexEncode(public_key_b.x.data(), public_key_b.x.size()).c_s… in TEST_F() 64 …LOG_ERROR("public key b.y : %s", base::HexEncode(public_key_b.y.data(), public_key_b.y.size()).c_s… in TEST_F() 91 bluetooth::security::EcdhPublicKey public_key_b; in TEST_F() local 96 memcpy(public_key_b.x.data(), bx, 32); in TEST_F() 97 memcpy(public_key_b.y.data(), by, 32); in TEST_F() 105 std::array<uint8_t, 32> dhkey_a = ComputeDHKey(private_key_a, public_key_b); in TEST_F()
|