Home
last modified time | relevance | path

Searched refs:SMP_DHKEY_CHECK_LEN (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_def.h69 #define SMP_DHKEY_CHECK_LEN 0x10 macro
150 uint8_t DHKeyCheck[SMP_DHKEY_CHECK_LEN];
H A Dsmp_sc_accepter.c358 (void)memcpy_s(SMP_GetPairMng()->peer.DHKeyCheck, SMP_DHKEY_CHECK_LEN, (uint8_t *)param->data, SMP_DHKEY_CHECK_LEN); in SMP_ScPairJustworkOrNumericSlaveStep13() local
975 (void)memcpy_s(SMP_GetPairMng()->peer.DHKeyCheck, SMP_DHKEY_CHECK_LEN, (uint8_t *)param->data, SMP_DHKEY_CHECK_LEN); in SMP_ScPairCommonSlaveStep1() local
1265 uint8_t dhkeyCheckTmp[SMP_DHKEY_CHECK_LEN] = {0x00}; in SMP_ScPairCommonSlaveStep13()
1273 (void)memcpy_s(dhkeyCheckTmp, SMP_DHKEY_CHECK_LEN, encData->encRetParam->encryptedData, SMP_DHKEY_CHECK_LEN); in SMP_ScPairCommonSlaveStep13()
1274 if (memcmp(dhkeyCheckTmp, SMP_GetPairMng()->peer.DHKeyCheck, SMP_DHKEY_CHECK_LEN) != 0x00) { in SMP_ScPairCommonSlaveStep13()
1353 SMP_GetPairMng()->local.DHKeyCheck, SMP_DHKEY_CHECK_LEN, returnParam->encryptedData, SMP_DHKEY_CHECK_LEN); in SMP_ScPairCommonSlaveStep16() local
[all...]
H A Dsmp_sc_initiator.c1200 SMP_DHKEY_CHECK_LEN, in SMP_ScPairCommonMasterStep12() local
1202 SMP_DHKEY_CHECK_LEN); in SMP_ScPairCommonMasterStep12() local
1226 (void)memcpy_s(SMP_GetPairMng()->peer.DHKeyCheck, SMP_DHKEY_CHECK_LEN, (uint8_t *)param->data, SMP_DHKEY_CHECK_LEN); in SMP_ScPairCommonMasterStep13() local
1293 uint8_t dhkeyCheckTemp[SMP_DHKEY_CHECK_LEN] = {0x00}; in SMP_ScPairCommonMasterStep16()
1299 (void)memcpy_s(dhkeyCheckTemp, SMP_DHKEY_CHECK_LEN, encData->encRetParam->encryptedData, SMP_DHKEY_CHECK_LEN); in SMP_ScPairCommonMasterStep16()
1300 if (memcmp(dhkeyCheckTemp, SMP_GetPairMng()->peer.DHKeyCheck, SMP_DHKEY_CHECK_LEN) != 0x00) { in SMP_ScPairCommonMasterStep16()
H A Dsmp_cmd.c195 PacketPayloadWrite(pkt, dhKeyCheck, offset, SMP_DHKEY_CHECK_LEN); in SMP_SendPairingDHKeyCheck()

Completed in 7 milliseconds