Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/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…
Dpairing_handler_le_secure_connections.cc60 EcdhPublicKey remote_public_key; in ExchangePublicKeys()
91 const EcdhPublicKey& PKa = IAmCentral(i) ? public_key : remote_public_key; in ExchangePublicKeys()
92 const EcdhPublicKey& PKb = IAmCentral(i) ? remote_public_key : public_key; in ExchangePublicKeys()
98 … const EcdhPublicKey& PKa, const EcdhPublicKey& PKb, in DoSecureConnectionsStage1()
138 const EcdhPublicKey& /* PKa */, in DoSecureConnectionsStage2() argument
139 const EcdhPublicKey& /* PKb */, in DoSecureConnectionsStage2()
224 … const EcdhPublicKey& Pka, const EcdhPublicKey& Pkb, in SecureConnectionsOutOfBand()
287 const EcdhPublicKey& PKa, in SecureConnectionsPasskeyEntry()
288 … const EcdhPublicKey& PKb, IoCapability my_iocaps, in SecureConnectionsPasskeyEntry()
411 const EcdhPublicKey& PKa, in SecureConnectionsNumericComparison()
[all …]
Dpairing_handler_le.h85 std::tuple<EcdhPublicKey /* PKa */, EcdhPublicKey /* PKb */, std::array<uint8_t, 32> /*dhkey*/>;
216 …Stage1ResultOrFailure DoSecureConnectionsStage1(const InitialInformations& i, const EcdhPublicKey&…
217 … const EcdhPublicKey& PKb, const PairingRequestView& pairing_request,
220 …rFailure SecureConnectionsNumericComparison(const InitialInformations& i, const EcdhPublicKey& PKa,
221 const EcdhPublicKey& PKb);
223 …1ResultOrFailure SecureConnectionsJustWorks(const InitialInformations& i, const EcdhPublicKey& PKa,
224 const EcdhPublicKey& PKb);
226 …sultOrFailure SecureConnectionsPasskeyEntry(const InitialInformations& i, const EcdhPublicKey& PKa,
227 … const EcdhPublicKey& PKb, IoCapability my_iocaps,
230 …1ResultOrFailure SecureConnectionsOutOfBand(const InitialInformations& i, const EcdhPublicKey& Pka,
[all …]
Decdh_keys.cc55 std::pair<std::array<uint8_t, 32>, EcdhPublicKey> GenerateECDHKeyPair() { in GenerateECDHKeyPair()
62 EcdhPublicKey pk; in GenerateECDHKeyPair()
67 …return std::make_pair<std::array<uint8_t, 32>, EcdhPublicKey>(std::move(private_key), std::move(pk… in GenerateECDHKeyPair()
70 bool ValidateECDHPoint(EcdhPublicKey pk) { in ValidateECDHPoint()
78 std::array<uint8_t, 32> ComputeDHKey(std::array<uint8_t, 32> my_private_key, EcdhPublicKey remote_p… in ComputeDHKey()
Dinitial_informations.h68 EcdhPublicKey public_key;
Dpairing_handler_le_unittest.cc207 EcdhPublicKey my_public_key; in TEST_F()
/packages/modules/Bluetooth/system/gd/security/test/
Decdh_keys_test.cc86 bluetooth::security::EcdhPublicKey public_key_a; in TEST_F()
97 bluetooth::security::EcdhPublicKey public_key_b; in TEST_F()