Home
last modified time | relevance | path

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

/system/bt/gd/security/
Decdh_keys.h26 struct EcdhPublicKey { struct
32 std::pair<std::array<uint8_t, 32>, EcdhPublicKey> GenerateECDHKeyPair(); argument
36 bool ValidateECDHPoint(EcdhPublicKey pk);
38 std::array<uint8_t, 32> ComputeDHKey(std::array<uint8_t, 32> my_private_key, EcdhPublicKey remote_p…
Decdh_keys.cc54 std::pair<std::array<uint8_t, 32>, EcdhPublicKey> GenerateECDHKeyPair() { in GenerateECDHKeyPair()
61 EcdhPublicKey pk; in GenerateECDHKeyPair()
66 …return std::make_pair<std::array<uint8_t, 32>, EcdhPublicKey>(std::move(private_key), std::move(pk… in GenerateECDHKeyPair()
69 bool ValidateECDHPoint(EcdhPublicKey pk) { in ValidateECDHPoint()
77 std::array<uint8_t, 32> ComputeDHKey(std::array<uint8_t, 32> my_private_key, EcdhPublicKey remote_p… in ComputeDHKey()
Dpairing_handler_le_secure_connections.cc56 EcdhPublicKey remote_public_key; in ExchangePublicKeys()
87 const EcdhPublicKey& PKa = IAmCentral(i) ? public_key : remote_public_key; in ExchangePublicKeys()
88 const EcdhPublicKey& PKb = IAmCentral(i) ? remote_public_key : public_key; in ExchangePublicKeys()
94 … const EcdhPublicKey& PKa, const EcdhPublicKey& PKb, in DoSecureConnectionsStage1()
133 … const EcdhPublicKey& PKa, const EcdhPublicKey& PKb, in DoSecureConnectionsStage2()
218 … const EcdhPublicKey& Pka, const EcdhPublicKey& Pkb, in SecureConnectionsOutOfBand()
281 const EcdhPublicKey& PKa, in SecureConnectionsPasskeyEntry()
282 … const EcdhPublicKey& PKb, IoCapability my_iocaps, in SecureConnectionsPasskeyEntry()
405 const EcdhPublicKey& PKa, in SecureConnectionsNumericComparison()
406 … const EcdhPublicKey& PKb) { in SecureConnectionsNumericComparison()
[all …]
Dpairing_handler_le.h89 std::tuple<EcdhPublicKey /* PKa */, EcdhPublicKey /* PKb */, std::array<uint8_t, 32> /*dhkey*/>;
215 …Stage1ResultOrFailure DoSecureConnectionsStage1(const InitialInformations& i, const EcdhPublicKey&…
216 … const EcdhPublicKey& PKb, const PairingRequestView& pairing_request,
219 …rFailure SecureConnectionsNumericComparison(const InitialInformations& i, const EcdhPublicKey& PKa,
220 const EcdhPublicKey& PKb);
222 …1ResultOrFailure SecureConnectionsJustWorks(const InitialInformations& i, const EcdhPublicKey& PKa,
223 const EcdhPublicKey& PKb);
225 …sultOrFailure SecureConnectionsPasskeyEntry(const InitialInformations& i, const EcdhPublicKey& PKa,
226 … const EcdhPublicKey& PKb, IoCapability my_iocaps,
229 …1ResultOrFailure SecureConnectionsOutOfBand(const InitialInformations& i, const EcdhPublicKey& Pka,
[all …]
Dinitial_informations.h72 EcdhPublicKey public_key;
Dpairing_handler_le_unittest.cc204 EcdhPublicKey my_public_key; in TEST_F()
/system/bt/gd/security/test/
Decdh_keys_test.cc80 bluetooth::security::EcdhPublicKey public_key_a; in TEST_F()
91 bluetooth::security::EcdhPublicKey public_key_b; in TEST_F()