Home
last modified time | relevance | path

Searched refs:peerCertInfo (Results 1 - 10 of 10) sorted by relevance

/base/security/device_auth/services/identity_manager/src/mock/
H A Dcert_operation_mock.c30 int32_t GetAccountAsymSharedSecret(int32_t osAccountId, const char *peerUserId, const CertInfo *peerCertInfo, in GetAccountAsymSharedSecret() argument
35 (void)peerCertInfo; in GetAccountAsymSharedSecret()
/base/security/device_auth/services/creds_manager/src/
H A Dcreds_manager.c213 const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) in GetSharedSecretByPeerCert()
215 if (in == NULL || peerCertInfo == NULL || sharedSecret == NULL) { in GetSharedSecretByPeerCert()
225 authIdentityTest->getSharedSecretByPeerCert(in, peerCertInfo, protocolType, sharedSecret); in GetSharedSecretByPeerCert()
231 authIdentityTest->getSharedSecretByPeerCert(in, peerCertInfo, protocolType, sharedSecret); in GetSharedSecretByPeerCert()
238 return authIdentity->getSharedSecretByPeerCert(in, peerCertInfo, protocolType, sharedSecret); in GetSharedSecretByPeerCert()
212 GetSharedSecretByPeerCert( const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) GetSharedSecretByPeerCert() argument
/base/security/device_auth/services/identity_manager/src/
H A Dcert_operation.c279 static int32_t GetPeerPubKeyFromCert(const CertInfo *peerCertInfo, Uint8Buff *peerPkBuff) in GetPeerPubKeyFromCert() argument
281 CJson *pkInfoPeer = CreateJsonFromString((const char *)peerCertInfo->pkInfoStr.val); in GetPeerPubKeyFromCert()
311 const CertInfo *peerCertInfo, Uint8Buff *sharedSecret) in GetSharedSecretForAccountInPake()
325 ret = GetPeerPubKeyFromCert(peerCertInfo, &peerPkBuff); in GetSharedSecretForAccountInPake()
656 int32_t osAccountId, const char *peerUserId, const CertInfo *peerCertInfo, Uint8Buff *sharedSecret) in GetSharedSecretByPeerCertFromPlugin()
674 GOTO_ERR_AND_SET_RET(AddCertInfoToJson(peerCertInfo, input), res); in GetSharedSecretByPeerCertFromPlugin()
700 int32_t GetAccountAsymSharedSecret(int32_t osAccountId, const char *peerUserId, const CertInfo *peerCertInfo, in GetAccountAsymSharedSecret() argument
703 if (peerCertInfo == NULL || sharedSecret == NULL) { in GetAccountAsymSharedSecret()
708 return GetSharedSecretByPeerCertFromPlugin(osAccountId, peerUserId, peerCertInfo, sharedSecret); in GetAccountAsymSharedSecret()
715 int32_t ret = GetSelfDeviceEntryByPeerCert(osAccountId, peerCertInfo, deviceEntr in GetAccountAsymSharedSecret()
310 GetSharedSecretForAccountInPake(int32_t osAccountId, const char *userId, const char *authId, const CertInfo *peerCertInfo, Uint8Buff *sharedSecret) GetSharedSecretForAccountInPake() argument
655 GetSharedSecretByPeerCertFromPlugin( int32_t osAccountId, const char *peerUserId, const CertInfo *peerCertInfo, Uint8Buff *sharedSecret) GetSharedSecretByPeerCertFromPlugin() argument
[all...]
H A Didentity_pin.c369 const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) in GetSharedSecretByPeerCert()
373 (void)peerCertInfo; in GetSharedSecretByPeerCert()
368 GetSharedSecretByPeerCert( const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) GetSharedSecretByPeerCert() argument
H A Didentity_p2p.c334 const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) in GetSharedSecretByPeerCert()
338 (void)peerCertInfo; in GetSharedSecretByPeerCert()
333 GetSharedSecretByPeerCert( const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) GetSharedSecretByPeerCert() argument
H A Didentity_group.c909 const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) in GetSharedSecretByPeerCert()
911 if (in == NULL || peerCertInfo == NULL || sharedSecret == NULL) { in GetSharedSecretByPeerCert()
928 return GetAccountAsymSharedSecret(osAccountId, peerUserId, peerCertInfo, sharedSecret); in GetSharedSecretByPeerCert()
908 GetSharedSecretByPeerCert( const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) GetSharedSecretByPeerCert() argument
/base/security/device_auth/services/creds_manager/inc/
H A Dcreds_manager.h33 const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret);
/base/security/device_auth/services/identity_manager/inc/
H A Dcert_operation.h28 int32_t GetAccountAsymSharedSecret(int32_t osAccountId, const char *peerUserId, const CertInfo *peerCertInfo,
H A Didentity_manager.h49 const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret);
/base/security/device_auth/test/unittest/deviceauth/source/
H A Didentity_manager_test.cpp124 CertInfo peerCertInfo = { { nullptr, 0 }, { nullptr, 0 }, P256 }; in HWTEST_F() local
125 ret = GetAccountAsymSharedSecret(TEST_OS_ACCOUNT_ID, nullptr, &peerCertInfo, nullptr); in HWTEST_F()
204 CertInfo peerCertInfo = { { nullptr, 0 }, { nullptr, 0 }, P256 }; in HWTEST_F() local
205 ret = identity->getSharedSecretByPeerCert(in, &peerCertInfo, ALG_EC_SPEKE, nullptr); in HWTEST_F()

Completed in 7 milliseconds