Searched refs:LTK (Results 1 - 8 of 8) sorted by relevance
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_legacy.c | 279 (void)memcpy_s(SMP_GetPairMng()->local.LTK, SMP_LTK_LEN, returnParam->randomNumber, SMP_RAND_NUM_LEN); in SMP_LegacyPairMasterStep13() 297 SMP_GetPairMng()->local.LTK + SMP_RAND_NUM_LEN, SMP_RAND_NUM_LEN, returnParam->randomNumber, SMP_RAND_NUM_LEN); in SMP_LegacyPairMasterStep14() 298 SMP_LongTermKeyCopy(SMP_GetPairMng()->local.LTK, SMP_GetPairMng()->local.LTK, SMP_GetPairMng()->encKeySize); in SMP_LegacyPairMasterStep14() 652 (void)memcpy_s(SMP_GetPairMng()->local.LTK, SMP_LTK_LEN, returnParam->randomNumber, SMP_RAND_NUM_LEN); in SMP_LegacyPairSlaveStep14() 672 SMP_GetPairMng()->local.LTK + SMP_RAND_NUM_LEN, SMP_RAND_NUM_LEN, returnParam->randomNumber, SMP_RAND_NUM_LEN); in SMP_LegacyPairSlaveStep15() 673 SMP_LongTermKeyCopy(SMP_GetPairMng()->local.LTK, SMP_GetPairMng()->local.LTK, SMP_GetPairMng()->encKeySize); in SMP_LegacyPairSlaveStep15()
|
H A D | smp_def.h | 143 uint8_t LTK[SMP_LTK_LEN]; member
|
H A D | smp_receive.c | 647 if (memcpy_s(SMP_GetPairMng()->peer.LTK, SMP_LTK_LEN, (uint8_t *)BufferPtr(buffer), SMP_LTK_LEN) != EOK) { in SMP_RecvEncInfoProcessMaster() 697 if (memcpy_s(SMP_GetPairMng()->peer.LTK, SMP_LTK_LEN, (uint8_t *)BufferPtr(buffer), SMP_LTK_LEN) != EOK) { in SMP_RecvEncInfoProcessSlave()
|
H A D | smp_sc_initiator.c | 1127 SMP_LongTermKeyCopy(SMP_GetPairMng()->local.LTK, tempLTK, SMP_GetPairMng()->encKeySize); in SMP_ScPairCommonMasterStep9() 1128 SMP_LongTermKeyCopy(SMP_GetPairMng()->peer.LTK, tempLTK, SMP_GetPairMng()->encKeySize); in SMP_ScPairCommonMasterStep9() 1308 (void)memcpy_s(startEncParam.longTermKey, SMP_LTK_LEN, SMP_GetPairMng()->local.LTK, SMP_LTK_LEN); in SMP_ScPairCommonMasterStep16()
|
H A D | smp_send.c | 95 (void)memcpy_s(ltkTemp, SMP_LTK_LEN, SMP_GetPairMng()->local.LTK, SMP_LTK_LEN); in SMP_SendDistKeysToRemoteEncKey()
|
H A D | smp_hci_event.c | 892 (void)memcpy_s(replycmdParam.longTermKey, SMP_LTK_LEN, SMP_GetPairMng()->local.LTK, SMP_LTK_LEN); in SMP_OnLtkReqScPair()
|
H A D | smp.c | 1583 (void)memcpy_s(pairResult.localLTK, SMP_LTK_LEN, g_smpPairMng.local.LTK, SMP_LTK_LEN); in SMP_GenPairRetNormal() 1587 (void)memcpy_s(pairResult.peerLTK, SMP_LTK_LEN, g_smpPairMng.peer.LTK, SMP_LTK_LEN); in SMP_GenPairRetNormal()
|
H A D | smp_sc_accepter.c | 1198 SMP_LongTermKeyCopy(SMP_GetPairMng()->local.LTK, tmpLTK, SMP_GetPairMng()->encKeySize); in SMP_ScPairCommonSlaveStep10() 1199 SMP_LongTermKeyCopy(SMP_GetPairMng()->peer.LTK, tmpLTK, SMP_GetPairMng()->encKeySize); in SMP_ScPairCommonSlaveStep10()
|
Completed in 14 milliseconds