Home
last modified time | relevance | path

Searched refs:SMP_CONFIRM_DATA_LEN (Results 1 - 7 of 7) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_legacy.c113 uint8_t confirmTemp[SMP_CONFIRM_DATA_LEN] = {0}; in SMP_LegacyPairMasterStep5()
119 SMP_MemoryReverseCopy(SMP_GetPairMng()->local.confirm, returnParam->encryptedData, SMP_CONFIRM_DATA_LEN); in SMP_LegacyPairMasterStep5() local
120 SMP_MemoryReverseCopy(confirmTemp, SMP_GetPairMng()->local.confirm, SMP_CONFIRM_DATA_LEN); in SMP_LegacyPairMasterStep5()
143 SMP_MemoryReverseCopy(SMP_GetPairMng()->peer.confirm, (uint8_t *)param->data, SMP_CONFIRM_DATA_LEN); in SMP_LegacyPairMasterStep6() local
203 uint8_t confirmTemp[SMP_CONFIRM_DATA_LEN] = {0x00}; in SMP_LegacyPairMasterStep9()
210 SMP_MemoryReverseCopy(confirmTemp, returnParam->encryptedData, SMP_CONFIRM_DATA_LEN); in SMP_LegacyPairMasterStep9()
211 if (memcmp(confirmTemp, SMP_GetPairMng()->peer.confirm, SMP_CONFIRM_DATA_LEN) != 0x00) { in SMP_LegacyPairMasterStep9()
420 SMP_MemoryReverseCopy(SMP_GetPairMng()->peer.confirm, (uint8_t *)param->data, SMP_CONFIRM_DATA_LEN); in SMP_LegacyPairSlaveStep2() local
431 SMP_MemoryReverseCopy(SMP_GetPairMng()->peer.confirm, (uint8_t *)param->data, SMP_CONFIRM_DATA_LEN); in SMP_LegacyPairSlaveStep3() local
505 uint8_t confirm[SMP_CONFIRM_DATA_LEN] in SMP_LegacyPairSlaveStep7()
515 SMP_MemoryReverseCopy(SMP_GetPairMng()->local.confirm, returnParam->encryptedData, SMP_CONFIRM_DATA_LEN); SMP_LegacyPairSlaveStep7() local
[all...]
H A Dsmp_oob.c142 uint8_t confirmTmp[SMP_CONFIRM_DATA_LEN]; in SMP_GenerateScOobDataStep4()
161 (void)memcpy_s(g_smpScOobMng.confirm, SMP_CONFIRM_DATA_LEN, returnParam->encryptedData, SMP_CONFIRM_DATA_LEN); in SMP_GenerateScOobDataStep4()
163 SMP_MemoryReverseCopy(confirmTmp, g_smpScOobMng.confirm, SMP_CONFIRM_DATA_LEN); in SMP_GenerateScOobDataStep4()
H A Dsmp_def.h65 #define SMP_CONFIRM_DATA_LEN 0x10 macro
139 uint8_t confirm[SMP_CONFIRM_DATA_LEN];
208 uint8_t confirm[SMP_CONFIRM_DATA_LEN];
H A Dsmp_sc_initiator.c89 SMP_MemoryReverseCopy(SMP_GetPairMng()->peer.confirm, (uint8_t *)param->data, SMP_CONFIRM_DATA_LEN); in SMP_ScPairJustworkOrNumericMasterStep3() local
102 SMP_MemoryReverseCopy(SMP_GetPairMng()->peer.confirm, (uint8_t *)param->data, SMP_CONFIRM_DATA_LEN); in SMP_ScPairJustworkOrNumericMasterStep4() local
234 uint8_t confirmTemp[SMP_CONFIRM_DATA_LEN] = {0x00}; in SMP_ScPairJustworkOrNumericMasterStep10()
241 SMP_MemoryReverseCopy(confirmTemp, encData->encRetParam->encryptedData, SMP_CONFIRM_DATA_LEN); in SMP_ScPairJustworkOrNumericMasterStep10()
242 if (memcmp(confirmTemp, SMP_GetPairMng()->peer.confirm, SMP_CONFIRM_DATA_LEN) != 0x00) { in SMP_ScPairJustworkOrNumericMasterStep10()
538 uint8_t confirmTemp[SMP_CONFIRM_DATA_LEN] = {0x00}; in SMP_ScPairPasskeyEntryMasterStep10()
546 SMP_MemoryReverseCopy(SMP_GetPairMng()->local.confirm, encData->encRetParam->encryptedData, SMP_CONFIRM_DATA_LEN); in SMP_ScPairPasskeyEntryMasterStep10() local
547 SMP_MemoryReverseCopy(confirmTemp, SMP_GetPairMng()->local.confirm, SMP_CONFIRM_DATA_LEN); in SMP_ScPairPasskeyEntryMasterStep10()
570 SMP_MemoryReverseCopy(SMP_GetPairMng()->peer.confirm, (uint8_t *)param->data, SMP_CONFIRM_DATA_LEN); in SMP_ScPairPasskeyEntryMasterStep11() local
665 uint8_t confirmTemp[SMP_CONFIRM_DATA_LEN] in SMP_ScPairPasskeyEntryMasterStep15()
[all...]
H A Dsmp_sc_accepter.c206 uint8_t tmpConfirm[SMP_CONFIRM_DATA_LEN] = {0x00}; in SMP_ScPairJustworkOrNumericSlaveStep8()
212 SMP_MemoryReverseCopy(SMP_GetPairMng()->local.confirm, encData->encRetParam->encryptedData, SMP_CONFIRM_DATA_LEN); in SMP_ScPairJustworkOrNumericSlaveStep8() local
213 SMP_MemoryReverseCopy(tmpConfirm, SMP_GetPairMng()->local.confirm, SMP_CONFIRM_DATA_LEN); in SMP_ScPairJustworkOrNumericSlaveStep8()
475 SMP_MemoryReverseCopy(SMP_GetPairMng()->peer.confirm, (uint8_t *)param->data, SMP_CONFIRM_DATA_LEN); in SMP_ScPairPasskeyEntrySlaveStep5() local
485 SMP_MemoryReverseCopy(SMP_GetPairMng()->peer.confirm, (uint8_t *)param->data, SMP_CONFIRM_DATA_LEN); in SMP_ScPairPasskeyEntrySlaveStep6() local
594 uint8_t confirmTmp[SMP_CONFIRM_DATA_LEN] = {0x00}; in SMP_ScPairPasskeyEntrySlaveStep11()
600 SMP_MemoryReverseCopy(SMP_GetPairMng()->local.confirm, encData->encRetParam->encryptedData, SMP_CONFIRM_DATA_LEN); in SMP_ScPairPasskeyEntrySlaveStep11() local
601 SMP_MemoryReverseCopy(confirmTmp, SMP_GetPairMng()->local.confirm, SMP_CONFIRM_DATA_LEN); in SMP_ScPairPasskeyEntrySlaveStep11()
694 uint8_t confirmTmp[SMP_CONFIRM_DATA_LEN] = {0x00}; in SMP_ScPairPasskeyEntrySlaveStep15()
700 SMP_MemoryReverseCopy(confirmTmp, encData->encRetParam->encryptedData, SMP_CONFIRM_DATA_LEN); in SMP_ScPairPasskeyEntrySlaveStep15()
[all...]
H A Dsmp_cmd.c99 PacketPayloadWrite(pkt, confirm, offset, SMP_CONFIRM_DATA_LEN); in SMP_SendPairingConfirm()
H A Dsmp.c1286 SMP_CONFIRM_DATA_LEN); in SMP_AuthReqReplyObtainEntryValue()
1417 SMP_CONFIRM_DATA_LEN); in SMP_PairReqReplyScPairOob()
1554 SMP_CONFIRM_DATA_LEN); in SMP_PairRspReplyScPairOob()

Completed in 12 milliseconds