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 D | smp_def.h | 69 #define SMP_DHKEY_CHECK_LEN 0x10 macro 150 uint8_t DHKeyCheck[SMP_DHKEY_CHECK_LEN];
|
H A D | smp_sc_accepter.c | 358 (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 D | smp_sc_initiator.c | 1200 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 D | smp_cmd.c | 195 PacketPayloadWrite(pkt, dhKeyCheck, offset, SMP_DHKEY_CHECK_LEN); in SMP_SendPairingDHKeyCheck()
|
Completed in 7 milliseconds