Searched refs:broadcastKey (Results 1 - 7 of 7) sorted by relevance
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_cipherkey_manager_virtual.c | 81 int32_t LnnGetLocalBroadcastCipherKey(BroadcastCipherKey *broadcastKey) in LnnGetLocalBroadcastCipherKey() argument 83 (void)broadcastKey; in LnnGetLocalBroadcastCipherKey() 87 int32_t LnnSaveLocalBroadcastCipherKey(const BroadcastCipherKey *broadcastKey) in LnnSaveLocalBroadcastCipherKey() argument 89 (void)broadcastKey; in LnnSaveLocalBroadcastCipherKey() 93 int32_t LnnUpdateLocalBroadcastCipherKey(BroadcastCipherKey *broadcastKey) in LnnUpdateLocalBroadcastCipherKey() argument 95 (void)broadcastKey; in LnnUpdateLocalBroadcastCipherKey()
|
H A D | lnn_connection_fsm.c | 1032 BroadcastCipherKey broadcastKey; in LnnRecoveryBroadcastKey() local 1033 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in LnnRecoveryBroadcastKey() 1035 ret = LnnGetLocalBroadcastCipherKey(&broadcastKey); in LnnRecoveryBroadcastKey() 1040 ret = LnnSetLocalByteInfo(BYTE_KEY_BROADCAST_CIPHER_KEY, broadcastKey.cipherInfo.key, SESSION_KEY_LENGTH); in LnnRecoveryBroadcastKey() 1045 ret = LnnSetLocalByteInfo(BYTE_KEY_BROADCAST_CIPHER_IV, broadcastKey.cipherInfo.iv, BROADCAST_IV_LEN); in LnnRecoveryBroadcastKey() 1050 LNN_LOGI(LNN_BUILDER, "recovery broadcastKey success!"); in LnnRecoveryBroadcastKey() 1053 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in LnnRecoveryBroadcastKey() 1054 LNN_LOGI(LNN_BUILDER, "recovery broadcastKey success!"); in LnnRecoveryBroadcastKey()
|
/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);
|
/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()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
H A D | lnn_local_net_ledger.c | 2009 static int32_t LnnLoadBroadcastCipherInfo(BroadcastCipherKey *broadcastKey) in LnnLoadBroadcastCipherInfo() argument 2011 if (broadcastKey == NULL) { in LnnLoadBroadcastCipherInfo() 2012 LNN_LOGE(LNN_LEDGER, "broadcastKey is null."); in LnnLoadBroadcastCipherInfo() 2015 if (LnnGetLocalBroadcastCipherKey(broadcastKey) != SOFTBUS_OK) { in LnnLoadBroadcastCipherInfo() 2020 broadcastKey->cipherInfo.key, SESSION_KEY_LENGTH) != SOFTBUS_OK) { in LnnLoadBroadcastCipherInfo() 2025 broadcastKey->cipherInfo.iv, BROADCAST_IV_LEN) != SOFTBUS_OK) { in LnnLoadBroadcastCipherInfo() 2035 BroadcastCipherKey broadcastKey; in LnnGenBroadcastCipherInfo() local 2037 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in LnnGenBroadcastCipherInfo() 2040 ret = LnnLoadBroadcastCipherInfo(&broadcastKey); in LnnGenBroadcastCipherInfo() 2043 if (SoftBusGenerateRandomArray(broadcastKey in LnnGenBroadcastCipherInfo() [all...] |
/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;
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1239 static int32_t FillBroadcastCipherKey(BroadcastCipherKey *broadcastKey, const NodeInfo *info) in FillBroadcastCipherKey() argument 1241 if (memcpy_s(broadcastKey->udid, UDID_BUF_LEN, info->deviceInfo.deviceUdid, UDID_BUF_LEN) != EOK) { in FillBroadcastCipherKey() 1245 if (memcpy_s(broadcastKey->cipherInfo.key, SESSION_KEY_LENGTH, info->cipherInfo.key, SESSION_KEY_LENGTH) != EOK) { in FillBroadcastCipherKey() 1249 if (memcpy_s(broadcastKey->cipherInfo.iv, BROADCAST_IV_LEN, info->cipherInfo.iv, BROADCAST_IV_LEN) != EOK) { in FillBroadcastCipherKey() 1273 BroadcastCipherKey broadcastKey; in UpdateBroadcastCipherKey() local 1274 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in UpdateBroadcastCipherKey() 1275 if (FillBroadcastCipherKey(&broadcastKey, info) != SOFTBUS_OK) { in UpdateBroadcastCipherKey() 1276 (void)memset_s(&broadcastKey, sizeof(BroadcastCipherKey), 0, sizeof(BroadcastCipherKey)); in UpdateBroadcastCipherKey() 1279 if (LnnUpdateLocalBroadcastCipherKey(&broadcastKey) != SOFTBUS_OK) { in UpdateBroadcastCipherKey() 1281 (void)memset_s(&broadcastKey, sizeo in UpdateBroadcastCipherKey() [all...] |
Completed in 12 milliseconds