/base/security/device_auth/services/creds_manager/src/ |
H A D | creds_manager.c | 137 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 D | creds_manager.h | 28 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 D | cert_operation_mock.c | 48 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 D | identity_manager.h | 44 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 D | cert_operation.h | 31 int32_t GetAccountAsymCredInfo(int32_t osAccountId, const CertInfo *certInfo, IdentityInfo **returnInfo);
|
/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_pin.c | 188 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 D | identity_p2p.c | 158 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 D | identity_group.c | 220 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 D | cert_operation.c | 777 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 D | group_manager.c | 151 void DestroyInfoImpl(char **returnInfo) in DestroyInfoImpl() argument 154 GetGroupImplInstance()->destroyInfo(returnInfo); in DestroyInfoImpl()
|
/base/security/device_auth/services/legacy/group_manager/inc/ |
H A D | group_manager.h | 54 void DestroyInfoImpl(char **returnInfo);
|
H A D | group_operation.h | 57 void (*destroyInfo)(char **returnInfo);
|
/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/ |
H A D | sym_token_manager.c | 577 OsSymTokensInfo *returnInfo = g_symTokensDb.pushBackT(&g_symTokensDb, newInfo); in GetTokensInfoByOsAccountId() local 578 if (returnInfo == NULL) { in GetTokensInfoByOsAccountId() 582 return returnInfo; in GetTokensInfoByOsAccountId()
|
H A D | asy_token_manager.c | 1043 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 D | group_operation.c | 1166 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 D | device_auth.h | 290 void (*destroyInfo)(char **returnInfo);
|
/base/security/device_auth/services/privacy_enhancement/src/ |
H A D | pseudonym_manager.c | 482 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 D | ipc_sdk.c | 1361 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 D | data_manager.c | 655 OsAccountTrustedInfo *returnInfo = g_deviceauthDb.pushBackT(&g_deviceauthDb, newInfo); in GetTrustedInfoByOsAccountId() local 656 if (returnInfo == NULL) { in GetTrustedInfoByOsAccountId() 661 return returnInfo; in GetTrustedInfoByOsAccountId()
|