Searched refs:pairing_response (Results 1 – 5 of 5) sorted by relevance
/system/bt/gd/security/ |
D | pairing_handler_le.cc | 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 …OrFailure stage1result = DoSecureConnectionsStage1(i, PKa, PKb, pairing_request, pairing_response); in PairingMain() 117 …rFailure stage_2_result = DoSecureConnectionsStage2(i, PKa, PKb, pairing_request, pairing_response, 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() 192 …DistributedKeysOrFailure keyExchangeStatus = DistributeKeys(i, pairing_response, isSecureConnectio… in PairingMain() 201 if ((pairing_response.GetAuthReq() & AuthReqMaskSc) && distributed_keys.remote_ltk.has_value()) { in PairingMain() [all …]
|
D | pairing_handler_le_legacy.cc | 30 … const PairingResponseView& pairing_response) { in DoLegacyStage1() argument 31 if (((pairing_request.GetAuthReq() | pairing_response.GetAuthReq()) & AuthReqMaskMitm) == 0) { in DoLegacyStage1() 37 pairing_response.GetOobDataFlag() == OobDataFlag::PRESENT) { in DoLegacyStage1() 45 const auto& ios = pairing_response.GetIoCapability(); in DoLegacyStage1() 124 … const PairingResponseView& pairing_response, const Octet16& tk) { in DoLegacyStage2() argument 127 std::vector<uint8_t> pres(pairing_response.begin(), pairing_response.end()); in DoLegacyStage2() 192 std::vector<uint8_t> pres(pairing_response.begin(), pairing_response.end()); in DoLegacyStage2()
|
D | pairing_handler_le_secure_connections.cc | 96 … const PairingResponseView& pairing_response) { in DoSecureConnectionsStage1() argument 98 ((pairing_response.GetAuthReq() & AuthReqMaskMitm) == 0)) { in DoSecureConnectionsStage1() 104 pairing_response.GetOobDataFlag() == OobDataFlag::PRESENT) { in DoSecureConnectionsStage1() 105 …OobDataFlag remote_oob_flag = IAmCentral(i) ? pairing_response.GetOobDataFlag() : pairing_request.… in DoSecureConnectionsStage1() 106 …OobDataFlag my_oob_flag = IAmCentral(i) ? pairing_request.GetOobDataFlag() : pairing_response.GetO… in DoSecureConnectionsStage1() 111 const auto& ios = pairing_response.GetIoCapability(); in DoSecureConnectionsStage1() 135 … const PairingResponseView& pairing_response, in DoSecureConnectionsStage2() argument 165 std::array<uint8_t, 3> iocapB{static_cast<uint8_t>(pairing_response.GetIoCapability()), in DoSecureConnectionsStage2() 166 … static_cast<uint8_t>(pairing_response.GetOobDataFlag()), pairing_response.GetAuthReq()}; in DoSecureConnectionsStage2()
|
D | pairing_handler_le.h | 217 const PairingResponseView& pairing_response); 235 const PairingResponseView& pairing_response, 239 …OrFailure DistributeKeys(const InitialInformations& i, const PairingResponseView& pairing_response, 245 const PairingResponseView& pairing_response); 251 const PairingResponseView& pairing_response, const Octet16& tk);
|
D | pairing_handler_le_unittest.cc | 194 auto pairing_response = BuilderToView( in TEST_F() local 197 pairing_handler->OnCommandView(pairing_response); in TEST_F() 249 PairingResponseView prspv = PairingResponseView::Create(pairing_response); in TEST_F()
|