Searched refs:broadcastKey (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_cipherkey_manager_virtual.c | 72 int32_t LnnGetLocalBroadcastCipherKey(BroadcastCipherKey *broadcastKey) in LnnGetLocalBroadcastCipherKey() argument 74 (void)broadcastKey; in LnnGetLocalBroadcastCipherKey() 78 int32_t LnnSaveLocalBroadcastCipherKey(const BroadcastCipherKey *broadcastKey) in LnnSaveLocalBroadcastCipherKey() argument 80 (void)broadcastKey; in LnnSaveLocalBroadcastCipherKey() 84 int32_t LnnUpdateLocalBroadcastCipherKey(BroadcastCipherKey *broadcastKey) in LnnUpdateLocalBroadcastCipherKey() argument 86 (void)broadcastKey; in LnnUpdateLocalBroadcastCipherKey()
|
H A D | lnn_connection_fsm.c | 1033 BroadcastCipherKey broadcastKey; in LnnRecoveryBroadcastKey() local 1034 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in LnnRecoveryBroadcastKey() 1036 if (LnnGetLocalBroadcastCipherKey(&broadcastKey) != SOFTBUS_OK) { in LnnRecoveryBroadcastKey() 1040 if (LnnSetLocalByteInfo(BYTE_KEY_BROADCAST_CIPHER_KEY, broadcastKey.cipherInfo.key, in LnnRecoveryBroadcastKey() 1045 if (LnnSetLocalByteInfo(BYTE_KEY_BROADCAST_CIPHER_IV, broadcastKey.cipherInfo.iv, in LnnRecoveryBroadcastKey() 1053 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in LnnRecoveryBroadcastKey()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_cipherkey_manager.h | 46 int32_t LnnGetLocalBroadcastCipherKey(BroadcastCipherKey *broadcastKey); 47 int32_t LnnSaveLocalBroadcastCipherKey(const BroadcastCipherKey *broadcastKey); 48 int32_t LnnUpdateLocalBroadcastCipherKey(BroadcastCipherKey *broadcastKey);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_connection_fsm_mock.cpp | 90 int32_t LnnGetLocalBroadcastCipherKey(BroadcastCipherKey *broadcastKey) in LnnGetLocalBroadcastCipherKey() argument 92 return GetLnnConnInterface()->LnnGetLocalBroadcastCipherKey(broadcastKey); in LnnGetLocalBroadcastCipherKey()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
H A D | lnn_local_net_ledger.c | 2021 static int32_t LnnLoadBroadcastCipherInfo(BroadcastCipherKey *broadcastKey) in LnnLoadBroadcastCipherInfo() argument 2023 if (broadcastKey == NULL) { in LnnLoadBroadcastCipherInfo() 2027 if (LnnGetLocalBroadcastCipherKey(broadcastKey) != SOFTBUS_OK) { in LnnLoadBroadcastCipherInfo() 2032 broadcastKey->cipherInfo.key, SESSION_KEY_LENGTH) != SOFTBUS_OK) { in LnnLoadBroadcastCipherInfo() 2037 broadcastKey->cipherInfo.iv, BROADCAST_IV_LEN) != SOFTBUS_OK) { in LnnLoadBroadcastCipherInfo() 2047 BroadcastCipherKey broadcastKey; in LnnGenBroadcastCipherInfo() local 2049 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in LnnGenBroadcastCipherInfo() 2052 ret = LnnLoadBroadcastCipherInfo(&broadcastKey); in LnnGenBroadcastCipherInfo() 2064 broadcastKey.cipherInfo.key, SESSION_KEY_LENGTH) != SOFTBUS_OK) { in LnnGenBroadcastCipherInfo() 2069 broadcastKey.cipherInfo.iv, BROADCAST_IV_LEN) != SOFTBUS_OK) { in LnnGenBroadcastCipherInfo() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1237 static int32_t FillBroadcastCipherKey(BroadcastCipherKey *broadcastKey, const NodeInfo *info) in FillBroadcastCipherKey() argument 1239 …if (memcpy_s(broadcastKey->udid, UDID_BUF_LEN, info->deviceInfo.deviceUdid, UDID_BUF_LEN) != EOK) { in FillBroadcastCipherKey() 1243 …if (memcpy_s(broadcastKey->cipherInfo.key, SESSION_KEY_LENGTH, info->cipherInfo.key, SESSION_KEY_L… in FillBroadcastCipherKey() 1247 …if (memcpy_s(broadcastKey->cipherInfo.iv, BROADCAST_IV_LEN, info->cipherInfo.iv, BROADCAST_IV_LEN)… in FillBroadcastCipherKey() 1302 BroadcastCipherKey broadcastKey; in PackCipherRpaInfo() local 1303 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in PackCipherRpaInfo() 1304 if (FillBroadcastCipherKey(&broadcastKey, info) != SOFTBUS_OK) { in PackCipherRpaInfo() 1305 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in PackCipherRpaInfo() 1308 if (LnnUpdateLocalBroadcastCipherKey(&broadcastKey) != SOFTBUS_OK) { in PackCipherRpaInfo() 1310 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in PackCipherRpaInfo() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_connection_fsm_mock.h | 53 virtual int32_t LnnGetLocalBroadcastCipherKey(BroadcastCipherKey *broadcastKey) = 0;
|