Home
last modified time | relevance | path

Searched refs:returnInfo (Results 1 - 19 of 19) sorted by relevance

/base/security/device_auth/services/creds_manager/src/
H A Dcreds_manager.c137 int32_t GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo) in GetCredInfoByPeerUrl() argument
139 if (in == NULL || presharedUrl == NULL || returnInfo == NULL) { in GetCredInfoByPeerUrl()
150 return authIdentity->getCredInfoByPeerUrl(in, presharedUrl, returnInfo); in GetCredInfoByPeerUrl()
184 int32_t GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetCredInfoByPeerCert() argument
186 if (in == NULL || certInfo == NULL || returnInfo == NULL) { in GetCredInfoByPeerCert()
196 authIdentityTest->getCredInfoByPeerCert(in, certInfo, returnInfo); in GetCredInfoByPeerCert()
202 authIdentityTest->getCredInfoByPeerCert(in, certInfo, returnInfo); in GetCredInfoByPeerCert()
209 return authIdentity->getCredInfoByPeerCert(in, certInfo, returnInfo); in GetCredInfoByPeerCert()
/base/security/device_auth/services/creds_manager/inc/
H A Dcreds_manager.h28 int32_t GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo);
31 int32_t GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo);
/base/security/device_auth/services/identity_manager/src/mock/
H A Dcert_operation_mock.c48 int32_t GetAccountAsymCredInfo(int32_t osAccountId, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetAccountAsymCredInfo() argument
52 (void)returnInfo; in GetAccountAsymCredInfo()
/base/security/device_auth/services/identity_manager/inc/
H A Didentity_manager.h44 int32_t (*getCredInfoByPeerUrl)(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo);
47 int32_t (*getCredInfoByPeerCert)(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo);
H A Dcert_operation.h31 int32_t GetAccountAsymCredInfo(int32_t osAccountId, const CertInfo *certInfo, IdentityInfo **returnInfo);
/base/security/device_auth/services/identity_manager/src/
H A Didentity_pin.c188 static int32_t GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo) in GetCredInfoByPeerUrl() argument
190 if (in == NULL || presharedUrl == NULL || returnInfo == NULL) { in GetCredInfoByPeerUrl()
231 *returnInfo = info; in GetCredInfoByPeerUrl()
359 static int32_t GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetCredInfoByPeerCert() argument
364 (void)returnInfo; in GetCredInfoByPeerCert()
H A Didentity_p2p.c158 static int32_t GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo) in GetCredInfoByPeerUrl() argument
160 if (in == NULL || presharedUrl == NULL || returnInfo == NULL) { in GetCredInfoByPeerUrl()
183 *returnInfo = info; in GetCredInfoByPeerUrl()
324 static int32_t GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetCredInfoByPeerCert() argument
329 (void)returnInfo; in GetCredInfoByPeerCert()
H A Didentity_group.c220 bool isUdid, IdentityInfo **returnInfo) in GetIdentityInfo()
239 *returnInfo = info; in GetIdentityInfo()
408 static int32_t GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo) in GetCredInfoByPeerUrl() argument
410 if (in == NULL || presharedUrl == NULL || returnInfo == NULL) { in GetCredInfoByPeerUrl()
449 *returnInfo = info; in GetCredInfoByPeerUrl()
884 static int32_t GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetCredInfoByPeerCert() argument
886 if (in == NULL || certInfo == NULL || returnInfo == NULL) { in GetCredInfoByPeerCert()
895 int32_t res = GetAccountAsymCredInfo(osAccountId, certInfo, returnInfo); in GetCredInfoByPeerCert()
901 (*returnInfo)->proof.certInfo.isPseudonym = true; in GetCredInfoByPeerCert()
903 (*returnInfo) in GetCredInfoByPeerCert()
219 GetIdentityInfo(int32_t osAccountId, const TrustedGroupEntry *groupEntry, const char *deviceId, bool isUdid, IdentityInfo **returnInfo) GetIdentityInfo() argument
[all...]
H A Dcert_operation.c777 int32_t GetAccountAsymCredInfo(int32_t osAccountId, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetAccountAsymCredInfo() argument
779 if (certInfo == NULL || returnInfo == NULL) { in GetAccountAsymCredInfo()
810 *returnInfo = info; in GetAccountAsymCredInfo()
/base/security/device_auth/services/legacy/group_manager/src/
H A Dgroup_manager.c151 void DestroyInfoImpl(char **returnInfo) in DestroyInfoImpl() argument
154 GetGroupImplInstance()->destroyInfo(returnInfo); in DestroyInfoImpl()
/base/security/device_auth/services/legacy/group_manager/inc/
H A Dgroup_manager.h54 void DestroyInfoImpl(char **returnInfo);
H A Dgroup_operation.h57 void (*destroyInfo)(char **returnInfo);
/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/
H A Dsym_token_manager.c577 OsSymTokensInfo *returnInfo = g_symTokensDb.pushBackT(&g_symTokensDb, newInfo); in GetTokensInfoByOsAccountId() local
578 if (returnInfo == NULL) { in GetTokensInfoByOsAccountId()
582 return returnInfo; in GetTokensInfoByOsAccountId()
H A Dasy_token_manager.c1043 OsAccountTokenInfo *returnInfo = g_accountTokenDb.pushBackT(&g_accountTokenDb, newInfo); in GetTokenInfoByOsAccountId() local
1044 if (returnInfo == NULL) { in GetTokenInfoByOsAccountId()
1048 return returnInfo; in GetTokenInfoByOsAccountId()
/base/security/device_auth/services/legacy/group_manager/src/group_operation/
H A Dgroup_operation.c1166 static void DestroyInfo(char **returnInfo) in DestroyInfo() argument
1169 if ((returnInfo == NULL) || (*returnInfo == NULL)) { in DestroyInfo()
1172 FreeJsonString(*returnInfo); in DestroyInfo()
1173 *returnInfo = NULL; in DestroyInfo()
/base/security/device_auth/interfaces/inner_api/
H A Ddevice_auth.h290 void (*destroyInfo)(char **returnInfo);
/base/security/device_auth/services/privacy_enhancement/src/
H A Dpseudonym_manager.c482 OsAccountPseudonymInfo *returnInfo = g_pseudonymDb.pushBackT(&g_pseudonymDb, newInfo); in GetPseudonymInfoByOsAccountId() local
483 if (returnInfo == NULL) { in GetPseudonymInfoByOsAccountId()
487 return returnInfo; in GetPseudonymInfoByOsAccountId()
/base/security/device_auth/frameworks/src/
H A Dipc_sdk.c1361 static void IpcGmDestroyInfo(char **returnInfo) in IpcGmDestroyInfo() argument
1363 if ((returnInfo == NULL) || (*returnInfo == NULL)) { in IpcGmDestroyInfo()
1366 FreeJsonString(*returnInfo); in IpcGmDestroyInfo()
1367 *returnInfo = NULL; in IpcGmDestroyInfo()
/base/security/device_auth/services/data_manager/src/
H A Ddata_manager.c655 OsAccountTrustedInfo *returnInfo = g_deviceauthDb.pushBackT(&g_deviceauthDb, newInfo); in GetTrustedInfoByOsAccountId() local
656 if (returnInfo == NULL) { in GetTrustedInfoByOsAccountId()
661 return returnInfo; in GetTrustedInfoByOsAccountId()

Completed in 19 milliseconds