Searched refs:VersionStruct (Results 1 – 9 of 9) sorted by relevance
/base/security/device_auth/services/authenticators/inc/account_unrelated/ |
D | das_version_util.h | 45 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);
|
D | base_sub_task.h | 27 VersionStruct curVersion;
|
/base/security/device_auth/services/frameworks/inc/module/ |
D | version_util.h | 30 } 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/ |
D | das_version_util.c | 31 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 …]
|
D | das_task_main.c | 48 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/ |
D | version_util.c | 35 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()
|
D | dev_auth_module_manager.c | 30 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/ |
D | key_agree_session.h | 47 } VersionStruct; typedef 57 VersionStruct curVersion;
|
/base/security/device_auth/services/key_agree_sdk/src/ |
D | key_agree_session.c | 46 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 …]
|