Searched refs:curVersion (Results 1 - 11 of 11) sorted by relevance
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/common/ |
H A D | das_version_util.c | 263 static ProtocolType GetBindPrototolType(VersionStruct *curVersion) in GetBindPrototolType() argument 265 if (IsVersionEqual(curVersion, &g_defaultVersion)) { in GetBindPrototolType() 269 if ((curVersion->third & g_bindPriorityList[i].alg) == g_bindPriorityList[i].alg) { in GetBindPrototolType() 276 static ProtocolType GetAuthPrototolType(VersionStruct *curVersion) in GetAuthPrototolType() argument 278 if (IsVersionEqual(curVersion, &g_defaultVersion)) { in GetAuthPrototolType() 283 if ((curVersion->third & g_authPriorityList[i].alg) == g_authPriorityList[i].alg) { in GetAuthPrototolType() 290 ProtocolType GetPrototolType(VersionStruct *curVersion, OperationCode opCode) in GetPrototolType() argument 295 return GetBindPrototolType(curVersion); in GetPrototolType() 298 return GetAuthPrototolType(curVersion); in GetPrototolType() 305 PakeAlgType GetSupportedPakeAlg(VersionStruct *curVersion, ProtocolTyp argument 320 IsSupportedPsk(VersionStruct *curVersion) IsSupportedPsk() argument [all...] |
/base/security/device_auth/services/legacy/authenticators/inc/account_unrelated/ |
H A D | das_version_util.h | 56 VersionStruct curVersion; member 77 ProtocolType GetPrototolType(VersionStruct *curVersion, OperationCode opCode); 78 PakeAlgType GetSupportedPakeAlg(VersionStruct *curVersion, ProtocolType protocolType); 79 bool IsSupportedPsk(VersionStruct *curVersion);
|
H A D | base_sub_task.h | 27 VersionStruct curVersion; member
|
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/ |
H A D | das_task_main.c | 72 GetMaxVersion(&(versionInfo->curVersion)); in InitVersionInfo() 83 return AddVersionToJson(payload, &(versionInfo->minVersion), &(versionInfo->curVersion)); in AddVersionToOut() 183 res = NegotiateVersion(&minVersionPeer, &curVersionPeer, &(task->versionInfo.curVersion)); in NegotiateAndProcessTask() 188 if (!IsVersionEqual(&(task->versionInfo.curVersion), &curVersionPeer)) { in NegotiateAndProcessTask() 192 ProtocolType protocolType = GetPrototolType(&(task->versionInfo.curVersion), task->versionInfo.opCode); in NegotiateAndProcessTask() 213 subTask->curVersion = task->versionInfo.curVersion; in NegotiateAndProcessTask() 320 subTask->curVersion = task->versionInfo.curVersion; in CreateMultiSubTask() 336 res = NegotiateVersion(&minVersionPeer, &curVersionPeer, &(task->versionInfo.curVersion)); in CreateSingleSubTask() [all...] |
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/ |
H A D | pake_v1_server_task.c | 106 realTask->params.baseParams.supportedPakeAlg = GetSupportedPakeAlg(&(realTask->taskBase.curVersion), PAKE_V1); in Process() 107 realTask->params.isPskSupported = IsSupportedPsk(&(realTask->taskBase.curVersion)); in Process()
|
H A D | pake_v1_client_task.c | 106 realTask->params.baseParams.supportedPakeAlg = GetSupportedPakeAlg(&(realTask->taskBase.curVersion), PAKE_V1); in Process() 107 realTask->params.isPskSupported = IsSupportedPsk(&(realTask->taskBase.curVersion)); in Process()
|
/base/security/device_auth/services/key_agree_sdk/src/ |
H A D | key_agree_session.c | 256 GetMaxVersion(algInProtocol, &(versionInfo->curVersion)); in InitVersionInfo() 513 res = AddVersionToJson(outJson, &(spekeSession->versionInfo.curVersion)); in PackageMsgForPakeResponse() 580 res = NegotiateVersion(&curVersionPeer, &(spekeSession->versionInfo.curVersion)); in CheckPeerProtocolVersion() 770 static KeyAgreeProtocol GetKegAgreeProtocolType(VersionStruct *curVersion) in GetKegAgreeProtocolType() argument 773 if ((curVersion->second & g_protocolAlgorithm[i]) == g_protocolAlgorithm[i]) { in GetKegAgreeProtocolType() 774 curVersion->second = g_protocolAlgorithm[i]; in GetKegAgreeProtocolType() 789 int32_t res = AddVersionToJson(outJsonMessage, &(spekeSession->versionInfo.curVersion)); in ProcessProtocolInitial() 853 res = NegotiateVersion(&curVersionPeer, &(spekeSession->versionInfo.curVersion)); in ProcessProtocolConfirm() 858 KeyAgreeProtocol protocolType = GetKegAgreeProtocolType(&(spekeSession->versionInfo.curVersion)); in ProcessProtocolConfirm() 929 GetMaxVersion(algInProtocol, &(spekeSession->versionInfo.curVersion)); in CheckAndInitProtocol() [all...] |
/base/global/i18n/frameworks/intl/include/ |
H A D | signature_verifier.h | 38 static int CompareVersion(std::string& preVersion, std::string& curVersion);
|
/base/security/device_auth/services/key_agree_sdk/inc/ |
H A D | key_agree_session.h | 57 VersionStruct curVersion; member
|
/base/global/i18n/frameworks/intl/src/ |
H A D | signature_verifier.cpp | 67 int SignatureVerifier::CompareVersion(std::string& preVersion, std::string& curVersion) in CompareVersion() argument 72 Split(curVersion, ".", curVersionstr); in CompareVersion()
|
/base/useriam/user_auth_framework/services/ipc/src/ |
H A D | user_auth_service.cpp | 1068 int32_t curVersion = std::stoi(NOTICE_VERSION_STR); in RegisterWidgetCallback() local 1069 if (version != curVersion) { in RegisterWidgetCallback()
|
Completed in 8 milliseconds