Searched refs:SMP_ROLE_MASTER (Results 1 - 8 of 8) sorted by relevance
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_sc_initiator.c | 186 int ret = SMP_EncryptCompleteJudgeException(encData->encRetParam->status, SMP_ROLE_MASTER); in SMP_ScPairJustworkOrNumericMasterStep8() 217 SMP_ROLE_MASTER, in SMP_ScPairJustworkOrNumericMasterStep9() 237 int ret = SMP_EncryptCompleteJudgeException(encData->encRetParam->status, SMP_ROLE_MASTER); in SMP_ScPairJustworkOrNumericMasterStep10() 279 int ret = SMP_EncryptCompleteJudgeException(encData->encRetParam->status, SMP_ROLE_MASTER); in SMP_ScPairJustworkOrNumericMasterStep11() 309 SMP_ROLE_MASTER, in SMP_ScPairJustworkOrNumericMasterStep12() 330 int ret = SMP_EncryptCompleteJudgeException(encData->encRetParam->status, SMP_ROLE_MASTER); in SMP_ScPairJustworkOrNumericMasterStep13() 491 int ret = SMP_EncryptCompleteJudgeException(encData->encRetParam->status, SMP_ROLE_MASTER); in SMP_ScPairPasskeyEntryMasterStep8() 522 SMP_ROLE_MASTER, in SMP_ScPairPasskeyEntryMasterStep9() 541 int ret = SMP_EncryptCompleteJudgeException(encData->encRetParam->status, SMP_ROLE_MASTER); in SMP_ScPairPasskeyEntryMasterStep10() 617 int ret = SMP_EncryptCompleteJudgeException(encData->encRetParam->status, SMP_ROLE_MASTER); in SMP_ScPairPasskeyEntryMasterStep13() [all...] |
H A D | smp_legacy.c | 77 SMP_ROLE_MASTER, SMP_GetPairMng()->local.random, SMP_RANDOM_DATA_LEN, &cryptC1Step1Param); in SMP_LegacyPairMasterStep3() 94 int ret = SMP_ConstituteC1Step2Param(encData, SMP_ROLE_MASTER, &cryptC1Step2Param); in SMP_LegacyPairMasterStep4() 115 int ret = SMP_EncryptCompleteJudgeException(returnParam->status, SMP_ROLE_MASTER); in SMP_LegacyPairMasterStep5() 166 SMP_ConstituteC1Step1Param(SMP_ROLE_MASTER, SMP_GetPairMng()->peer.random, SMP_RANDOM_DATA_LEN, &cryptC1Step1Param); in SMP_LegacyPairMasterStep7() 183 int ret = SMP_ConstituteC1Step2Param(encData, SMP_ROLE_MASTER, &cryptC1Step2Param); in SMP_LegacyPairMasterStep8() 206 int ret = SMP_EncryptCompleteJudgeException(returnParam->status, SMP_ROLE_MASTER); in SMP_LegacyPairMasterStep9() 242 int ret = SMP_EncryptCompleteJudgeException(returnParam->status, SMP_ROLE_MASTER); in SMP_LegacyPairMasterStep10()
|
H A D | smp_receive.c | 293 if (SMP_GetPairMng()->role != SMP_ROLE_MASTER) { in SMP_RecvPairRspJudgeException() 434 if (SMP_GetPairMng()->role == SMP_ROLE_MASTER) { in SMP_ReceiveEncryptionInformation() 454 if (SMP_GetPairMng()->role == SMP_ROLE_MASTER) { in SMP_ReceiveMasterIdentification() 474 if (SMP_GetPairMng()->role == SMP_ROLE_MASTER) { in SMP_ReceiveIdentityInformation() 494 if (SMP_GetPairMng()->role == SMP_ROLE_MASTER) { in SMP_ReceiveIdentityAddressInformation() 514 if (SMP_GetPairMng()->role == SMP_ROLE_MASTER) { in SMP_ReceiveSigningInformation() 536 if (SMP_GetPairMng()->role == SMP_ROLE_MASTER) { in SMP_ReceivePairingFailed()
|
H A D | smp_tool.c | 234 if (role == SMP_ROLE_MASTER) { in SMP_ConstituteC1Step1Param() 308 if (role == SMP_ROLE_MASTER) { in SMP_ConstituteC1Step2Param() 381 if (role == SMP_ROLE_MASTER) { in SMP_ConstituteF5Param() 746 if (SMP_ROLE_MASTER == mng->role) { in SMP_CalculateKeyDistribution() 808 if (mng->role == SMP_ROLE_MASTER) { in SMP_CalcPairMethodLegacyPair() 838 if (mng->role == SMP_ROLE_MASTER) { in SMP_CalcPairMethodScPair()
|
H A D | smp_send.c | 541 if (SMP_ROLE_MASTER == SMP_GetPairMng()->role) { in SMP_SendKeysToRemoteCbProcess() 560 if (SMP_GetPairMng()->role == SMP_ROLE_MASTER) { in SMP_SendKeysCbProcException() 601 if (SMP_GetPairMng()->role == SMP_ROLE_MASTER) { in SMP_EncCmdTimeoutDefault()
|
H A D | smp_def.h | 80 #define SMP_ROLE_MASTER 0x00 macro
|
H A D | smp.c | 325 g_smpPairMng.role = SMP_ROLE_MASTER; in SMP_StartPairTask() 431 if (g_smpPairMng.role == SMP_ROLE_MASTER) { in SMP_AuthReqReplyTask() 717 if (g_smpPairMng.role == SMP_ROLE_MASTER) { in SMP_PairTimeoutTask() 1443 if (g_smpPairMng.role != SMP_ROLE_MASTER) { in SMP_PairRspReplyJudgeException()
|
H A D | smp_hci_event.c | 745 if (SMP_GetPairMng()->role == SMP_ROLE_MASTER) { in SMP_LinkLayerEncryptionComplete()
|
Completed in 12 milliseconds