Lines Matching refs:pairing_request
69 auto [pairing_request, pairing_response] = std::get<Phase1Result>(phase_1_result); in PairingMain()
72 …std::min(pairing_request.GetMaximumEncryptionKeySize(), pairing_response.GetMaximumEncryptionKeySi… in PairingMain()
84 …bool isSecureConnections = pairing_request.GetAuthReq() & pairing_response.GetAuthReq() & AuthReqM… in PairingMain()
99 IAmCentral(i) ? pairing_response.GetOobDataFlag() : pairing_request.GetOobDataFlag(); in PairingMain()
111 …Stage1ResultOrFailure stage1result = DoSecureConnectionsStage1(i, PKa, PKb, pairing_request, pairi… in PairingMain()
117 …Stage2ResultOrFailure stage_2_result = DoSecureConnectionsStage2(i, PKa, PKb, pairing_request, pai… in PairingMain()
139 LegacyStage1ResultOrFailure stage1result = DoLegacyStage1(i, pairing_request, pairing_response); in PairingMain()
147 StkOrFailure stage2result = DoLegacyStage2(i, pairing_request, pairing_response, tk); in PairingMain()
235 auto pairing_request = PairingRequestView::Create(temp_cmd_view); in ExchangePairingFeature() local
236 ASSERT(pairing_request.IsValid()); in ExchangePairingFeature()
263 return Phase1Result{pairing_request, pairing_response}; in ExchangePairingFeature()
265 std::optional<PairingRequestView> pairing_request; in ExchangePairingFeature() local
268 if (!i.pairing_request.has_value()) { in ExchangePairingFeature()
272 pairing_request = i.pairing_request.value(); in ExchangePairingFeature()
274 if (!pairing_request->IsValid()) return PairingFailure("Malformed PairingRequest"); in ExchangePairingFeature()
286 pairing_request = std::get<PairingRequestView>(request); in ExchangePairingFeature()
289 uint8_t key_size = pairing_request->GetMaximumEncryptionKeySize(); in ExchangePairingFeature()
303 … x.initiator_key_distribution & pairing_request->GetInitiatorKeyDistribution(), in ExchangePairingFeature()
304 … x.responder_key_distribution & pairing_request->GetResponderKeyDistribution()); in ExchangePairingFeature()
319 return Phase1Result{pairing_request.value(), pairing_response}; in ExchangePairingFeature()