Home
last modified time | relevance | path

Searched refs:VersionStruct (Results 1 – 9 of 9) sorted by relevance

/base/security/device_auth/services/authenticators/inc/account_unrelated/
Ddas_version_util.h45 VersionStruct minVersion;
46 VersionStruct curVersion;
53 int32_t GetVersionFromJson(const CJson *jsonObj, VersionStruct *minVer, VersionStruct *maxVer);
54 int32_t AddVersionToJson(CJson *jsonObj, const VersionStruct *minVer, const VersionStruct *maxVer);
56 bool IsVersionEqual(VersionStruct *src, VersionStruct *des);
57 int32_t NegotiateVersion(VersionStruct *minVersionPeer, VersionStruct *curVersionPeer,
58 VersionStruct *curVersionSelf);
60 ProtocolType GetPrototolType(VersionStruct *curVersion, OperationCode opCode);
61 PakeAlgType GetSupportedPakeAlg(VersionStruct *curVersion, ProtocolType protocolType);
62 bool IsSupportedPsk(VersionStruct *curVersion);
Dbase_sub_task.h27 VersionStruct curVersion;
/base/security/device_auth/services/frameworks/inc/module/
Dversion_util.h30 } VersionStruct; typedef
32 int32_t VersionToString(const VersionStruct *version, char *verStr, uint32_t len);
33 int32_t StringToVersion(const char* verStr, VersionStruct* version);
35 int32_t AddSingleVersionToJson(CJson *jsonObj, const VersionStruct *version);
36 int32_t GetSingleVersionFromJson(const CJson* jsonObj, VersionStruct *version);
37 void InitGroupAndModuleVersion(VersionStruct *version);
/base/security/device_auth/services/authenticators/src/account_unrelated/
Ddas_version_util.c31 VersionStruct g_defaultVersion = { 1, 0, 0 };
45 int32_t GetVersionFromJson(const CJson* jsonObj, VersionStruct *minVer, VersionStruct *maxVer) in GetVersionFromJson()
65 int32_t AddVersionToJson(CJson *jsonObj, const VersionStruct *minVer, const VersionStruct *maxVer) in AddVersionToJson()
102 bool IsVersionEqual(VersionStruct *src, VersionStruct *des) in IsVersionEqual()
110 int32_t NegotiateVersion(VersionStruct *minVersionPeer, VersionStruct *curVersionPeer, in NegotiateVersion()
111 VersionStruct *curVersionSelf) in NegotiateVersion()
128 static ProtocolType GetBindPrototolType(VersionStruct *curVersion) in GetBindPrototolType()
141 static ProtocolType GetAuthPrototolType(VersionStruct *curVersion) in GetAuthPrototolType()
155 ProtocolType GetPrototolType(VersionStruct *curVersion, OperationCode opCode) in GetPrototolType()
170 PakeAlgType GetSupportedPakeAlg(VersionStruct *curVersion, ProtocolType protocolType) in GetSupportedPakeAlg()
[all …]
Ddas_task_main.c48 static void GetMinVersion(VersionStruct *version) in GetMinVersion()
55 static void GetMaxVersion(VersionStruct *version) in GetMaxVersion()
172 VersionStruct curVersionPeer = { 0, 0, 0 }; in NegotiateAndProcessTask()
173 VersionStruct minVersionPeer = { 0, 0, 0 }; in NegotiateAndProcessTask()
306 VersionStruct curVersionPeer = { 0, 0, 0 }; in CreateSingleSubTask()
307 VersionStruct minVersionPeer = { 0, 0, 0 }; in CreateSingleSubTask()
/base/security/device_auth/services/frameworks/src/module/
Dversion_util.c35 int32_t StringToVersion(const char* verStr, VersionStruct* version) in StringToVersion()
81 int32_t VersionToString(const VersionStruct *version, char *verStr, uint32_t len) in VersionToString()
105 int32_t AddSingleVersionToJson(CJson *jsonObj, const VersionStruct *version) in AddSingleVersionToJson()
129 int32_t GetSingleVersionFromJson(const CJson* jsonObj, VersionStruct *version) in GetSingleVersionFromJson()
148 void InitGroupAndModuleVersion(VersionStruct *version) in InitGroupAndModuleVersion()
Ddev_auth_module_manager.c30 static VersionStruct g_version;
262 (void)memset_s(&g_version, sizeof(VersionStruct), 0, sizeof(VersionStruct)); in DestroyModules()
/base/security/device_auth/services/key_agree_sdk/inc/
Dkey_agree_session.h47 } VersionStruct; typedef
57 VersionStruct curVersion;
/base/security/device_auth/services/key_agree_sdk/src/
Dkey_agree_session.c46 VersionStruct g_defaultVersion = { 1, 0, 0 };
112 static bool IsVersionEqual(VersionStruct *src, VersionStruct *des) in IsVersionEqual()
120 static int32_t StringToVersion(const char* verStr, VersionStruct* version) in StringToVersion()
161 static int32_t VersionToString(const VersionStruct *version, char *verStr, uint32_t len) in VersionToString()
184 void GetMaxVersion(uint64_t algInProtocol, VersionStruct *version) in GetMaxVersion()
191 int32_t AddVersionToJson(CJson *jsonObj, const VersionStruct *maxVer) in AddVersionToJson()
221 int32_t GetVersionFromJson(const CJson* jsonObj, VersionStruct *maxVer) in GetVersionFromJson()
237 int32_t NegotiateVersion(VersionStruct *curVersionPeer, VersionStruct *curVersionSelf) in NegotiateVersion()
574 VersionStruct curVersionPeer = { 0, 0, 0 }; in CheckPeerProtocolVersion()
770 static KeyAgreeProtocol GetKegAgreeProtocolType(VersionStruct *curVersion) in GetKegAgreeProtocolType()
[all …]