Home
last modified time | relevance | path

Searched refs:AuthDeviceKeyInfo (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_device_common_key.h40 } AuthDeviceKeyInfo; typedef
44 int32_t AuthInsertDeviceKey(const NodeInfo *deviceInfo, const AuthDeviceKeyInfo *deviceKey, AuthLin…
46 int32_t AuthFindDeviceKey(const char *udidHash, int32_t keyType, AuthDeviceKeyInfo *deviceKey);
50 int32_t AuthFindNormalizeKeyByServerSide(const char *udidHash, bool isServer, AuthDeviceKeyInfo *de…
51 int32_t AuthFindLatestNormalizeKey(const char *udidHash, AuthDeviceKeyInfo *deviceKey, bool clearOl…
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/virtual/
H A Dauth_device_common_key_virtual.c31 int32_t AuthInsertDeviceKey(const NodeInfo *deviceInfo, const AuthDeviceKeyInfo *deviceKey, AuthLin… in AuthInsertDeviceKey()
44 int32_t AuthFindDeviceKey(const char *udidHash, int32_t keyType, AuthDeviceKeyInfo *deviceKey) in AuthFindDeviceKey()
56 int32_t AuthFindLatestNormalizeKey(const char *udidHash, AuthDeviceKeyInfo *deviceKey, bool clearOl… in AuthFindLatestNormalizeKey()
82 int32_t AuthFindNormalizeKeyByServerSide(const char *udidHash, bool isServer, AuthDeviceKeyInfo *de… in AuthFindNormalizeKeyByServerSide()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_interface.c418 …_t FillAuthSessionInfo(AuthSessionInfo *info, const NodeInfo *nodeInfo, AuthDeviceKeyInfo *keyInfo, in FillAuthSessionInfo()
445 static int32_t AuthDirectOnlineProcessSessionKey(AuthSessionInfo *info, AuthDeviceKeyInfo *keyInfo,… in AuthDirectOnlineProcessSessionKey()
471 static int32_t AuthDirectOnlineWithoutSessionKey(AuthSessionInfo *info, AuthDeviceKeyInfo *keyInfo,… in AuthDirectOnlineWithoutSessionKey()
496 AuthDeviceKeyInfo keyInfo = {0}; in AuthRestoreAuthManager()
504 (void)memset_s(&keyInfo, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in AuthRestoreAuthManager()
510 (void)memset_s(&keyInfo, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in AuthRestoreAuthManager()
520 (void)memset_s(&keyInfo, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in AuthRestoreAuthManager()
525 (void)memset_s(&keyInfo, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in AuthRestoreAuthManager()
H A Dauth_session_json.c232 static int32_t PackFastAuthValue(JsonObj *obj, AuthDeviceKeyInfo *deviceCommKey) in PackFastAuthValue()
333 static int32_t GetEnhancedP2pAuthKey(const char *udidHash, AuthSessionInfo *info, AuthDeviceKeyInfo in GetEnhancedP2pAuthKey()
372 static int32_t GetFastAuthKey(const char *udidHash, AuthSessionInfo *info, AuthDeviceKeyInfo *devic… in GetFastAuthKey()
419 AuthDeviceKeyInfo deviceCommKey = {0}; in PackFastAuth()
425 (void)memset_s(&deviceCommKey, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in PackFastAuth()
429 (void)memset_s(&deviceCommKey, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in PackFastAuth()
493 AuthDeviceKeyInfo deviceKey; in PackNormalizedKey()
494 (void)memset_s(&deviceKey, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in PackNormalizedKey()
506 (void)memset_s(&deviceKey, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in PackNormalizedKey()
671 AuthDeviceKeyInfo deviceKey = {0}; in UnpackNormalizedKey()
[all …]
H A Dauth_session_fsm.c433 AuthDeviceKeyInfo deviceKey; in SaveDeviceKey()
435 (void)memset_s(&deviceKey, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in SaveDeviceKey()
454 (void)memset_s(&deviceKey, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in SaveDeviceKey()
720 AuthDeviceKeyInfo key = {0}; in RecoveryFastAuthKey()
747 (void)memset_s(&key, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in RecoveryFastAuthKey()
750 (void)memset_s(&key, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in RecoveryFastAuthKey()
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_session_message_test.cpp103 AuthDeviceKeyInfo deviceCommKey;
104 (void)memset_s(&deviceCommKey, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo));
194 AuthDeviceKeyInfo deviceKey;
195 (void)memset_s(&deviceKey, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo));
633 AuthDeviceKeyInfo deviceCommKey = {0};
801 AuthDeviceKeyInfo deviceCommKey;
802 (void)memset_s(&deviceCommKey, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo));
889 AuthDeviceKeyInfo deviceKey;
H A Dauth_other_test.cpp1103 AuthDeviceKeyInfo keyInfo = { .keyLen = strlen("testKey"), .isOldKey = true, };
1146 AuthDeviceKeyInfo keyInfo;
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/
H A Dlnn_heartbeat_medium_mgr.c530 AuthDeviceKeyInfo keyInfo = { 0 }; in IsNeedConnectOnLine()
538 (void)memset_s(&keyInfo, sizeof(AuthDeviceKeyInfo), 0, sizeof(AuthDeviceKeyInfo)); in IsNeedConnectOnLine()