Home
last modified time | relevance | path

Searched refs:isOldKey (Results 1 - 8 of 8) sorted by relevance

/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_key.c40 bool isOldKey; member
126 if (SessionKeyHasAuthLinkType(item->type, type) && item->isOldKey) { in CheckSessionKeyListHasOldKey()
138 if (SessionKeyHasAuthLinkType(item->type, type) && item->isOldKey) { in ClearOldKey()
139 item->isOldKey = false; in ClearOldKey()
250 int32_t AddSessionKey(SessionKeyList *list, int32_t index, const SessionKey *key, AuthLinkType type, bool isOldKey) in AddSessionKey() argument
268 item->isOldKey = isOldKey; in AddSessionKey()
H A Dauth_interface.c451 if (AuthManagerSetSessionKey(keyInfo->keyIndex, info, &sessionKey, false, keyInfo->isOldKey) != SOFTBUS_OK) { in AuthDirectOnlineProcessSessionKey()
499 if (!isSupportCloud && (!hasDeviceKey || keyInfo.isOldKey)) { in AuthRestoreAuthManager()
514 info.isOldKey = keyInfo.isOldKey; in AuthRestoreAuthManager()
H A Dauth_manager.c598 bool isOldKey, int64_t *peerAuthSeq) in ProcessSessionKey()
607 if (AddSessionKey(list, TO_INT32(*peerAuthSeq), key, info->connInfo.type, isOldKey) != SOFTBUS_OK) { in ProcessSessionKey()
733 bool isConnect, bool isOldKey) in AuthManagerSetSessionKey()
761 if (ProcessSessionKey(&auth->sessionKeyList, sessionKey, info, isOldKey, &sessionKeyIndex) != SOFTBUS_OK) { in AuthManagerSetSessionKey()
597 ProcessSessionKey(SessionKeyList *list, const SessionKey *key, AuthSessionInfo *info, bool isOldKey, int64_t *peerAuthSeq) ProcessSessionKey() argument
732 AuthManagerSetSessionKey(int64_t authSeq, AuthSessionInfo *info, const SessionKey *sessionKey, bool isConnect, bool isOldKey) AuthManagerSetSessionKey() argument
/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_device_common_key.h39 bool isOldKey; member
H A Dauth_manager.h65 bool isConnect, bool isOldKey);
H A Dauth_session_fsm.h96 bool isOldKey; member
H A Dauth_session_key.h55 bool isOldKey);
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_other_test.cpp1085 AuthDeviceKeyInfo keyInfo = { .keyLen = strlen("testKey"), .isOldKey = true, }; in HWTEST_F()

Completed in 9 milliseconds