/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_data_cloud_sync.h | 56 uint8_t peerIrk[LFINDER_IRK_LEN]; member
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1256 static void DumpRpaCipherKey(char *cipherKey, char *cipherIv, const char *peerIrk, const char *log) in DumpRpaCipherKey() argument 1263 Anonymize(peerIrk, &anonyIrk); in DumpRpaCipherKey() 1264 AUTH_LOGI(AUTH_FSM, "log=%{public}s, cipherKey=%{public}s, cipherIv=%{public}s, peerIrk=%{public}s", log, in DumpRpaCipherKey() 1292 char peerIrk[LFINDER_IRK_STR_LEN] = {0}; in PackCipherRpaInfo() local 1306 if (ConvertBytesToHexString(peerIrk, LFINDER_IRK_STR_LEN, in PackCipherRpaInfo() 1307 info->rpaInfo.peerIrk, LFINDER_IRK_LEN) != SOFTBUS_OK) { in PackCipherRpaInfo() 1308 AUTH_LOGE(AUTH_FSM, "convert peerIrk to string fail."); in PackCipherRpaInfo() 1316 (void)memset_s(peerIrk, LFINDER_IRK_STR_LEN, 0, LFINDER_IRK_STR_LEN); in PackCipherRpaInfo() 1321 (void)JSON_AddStringToObject(json, IRK, peerIrk); in PackCipherRpaInfo() 1323 DumpRpaCipherKey(cipherKey, cipherIv, peerIrk, "pac in PackCipherRpaInfo() 1337 char peerIrk[LFINDER_IRK_STR_LEN] = {0}; UnpackCipherRpaInfo() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/ |
H A D | btm_le_sec.c | 94 .peerIrk = {0}, in BtmAddToResolvingList() 98 (void)memcpy_s(param.peerIrk, KEY_SIZE, device->remoteIdentityResolvingKey.key, KEY_SIZE); in BtmAddToResolvingList()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger.c | 954 if (memcpy_s(deviceInfo->rpaInfo.peerIrk, sizeof(deviceInfo->rpaInfo.peerIrk), info->rpaInfo.peerIrk, in GetAndSaveRemoteDeviceInfo() 955 sizeof(info->rpaInfo.peerIrk)) != EOK) { in GetAndSaveRemoteDeviceInfo() 1515 if (memcpy_s((char *)oldInfo->rpaInfo.peerIrk, LFINDER_IRK_LEN, (char *)newInfo->rpaInfo.peerIrk, in UpdateDistributedLedger() 1517 LNN_LOGE(LNN_LEDGER, "memcpy_s peerIrk to distributed ledger fail"); in UpdateDistributedLedger()
|
H A D | lnn_distributed_net_ledger_manager.c | 725 if (memcpy_s(buf, len, info->rpaInfo.peerIrk, LFINDER_IRK_LEN) != EOK) { in DlGetDeviceIrk() 726 LNN_LOGE(LNN_LEDGER, "memcpy peerIrk fail"); in DlGetDeviceIrk()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 123 uint8_t peerIrk[LFINDER_IRK_LEN]; member
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_data_cloud_sync.c | 198 if (ConvertHexStringToBytes((unsigned char *)cacheInfo->rpaInfo.peerIrk, LFINDER_IRK_LEN, value, in DBConnectMacInfoSyncToCache() 200 LNN_LOGE(LNN_BUILDER, "convert peerIrk to bytes fail. rpa info sync to cache fail"); in DBConnectMacInfoSyncToCache() 781 *cacheInfo->cipherInfo.iv, *cacheInfo->rpaInfo.peerIrk, *cacheInfo->rpaInfo.publicAddress, in PrintSyncNodeInfo() 859 if (memcpy_s((char *)oldInfo->rpaInfo.peerIrk, LFINDER_IRK_LEN, (char *)newInfo->rpaInfo.peerIrk, in LnnUpdateOldCacheInfo() 861 LNN_LOGE(LNN_LEDGER, "memcpy_s peerIrk to cache info fail"); in LnnUpdateOldCacheInfo()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/ |
H A D | hci_def_le_cmd.h | 508 uint8_t peerIrk[16]; member
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
H A D | lnn_local_net_ledger.c | 1660 if (memcpy_s(buf, len, info->rpaInfo.peerIrk, LFINDER_IRK_LEN) != EOK) { in LlGetIrk() 1661 LNN_LOGE(LNN_LEDGER, "memcpy peerIrk fail"); in LlGetIrk() 1715 if (memcpy_s((char *)g_localNetLedger.localInfo.rpaInfo.peerIrk, LFINDER_IRK_LEN, id, LFINDER_IRK_LEN) != EOK) { in UpdateLocalIrk() 1716 LNN_LOGE(LNN_LEDGER, "memcpy peerIrk fail"); in UpdateLocalIrk()
|
/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_session_message_test.cpp | 408 (void)JSON_AddStringToObject(json, IRK, "peerIrk"); in HWTEST_F() 414 ASSERT_TRUE(memcpy_s(info.rpaInfo.peerIrk, LFINDER_IRK_LEN, PEER_IRK, PEER_IRK_LEN) == EOK); in HWTEST_F() 437 (void)JSON_AddStringToObject(json, IRK, "peerIrk"); in HWTEST_F()
|