Home
last modified time | relevance | path

Searched refs:inParams (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/security/device_auth/services/key_agree_sdk/src/
H A Dkey_agree_session.c575 int32_t res = GetVersionFromJson(inParams, &curVersionPeer); in CheckPeerProtocolVersion()
590 int32_t res = CheckPeerProtocolVersion(spekeSession, inParams); in PakeConfirm()
606 res = ParsePakeResponseMessage(&(spekeSession->baseParam), inParams); in PakeConfirm()
680 if (PakeConfirm(spekeSession, inParams, out) != HC_SUCCESS) { in ProcessStep()
702 if (inParams != NULL) { in ProcessStep()
703 FreeJson(inParams); in ProcessStep()
704 inParams = NULL; in ProcessStep()
712 CJson *inParams = NULL; in ProcessSpekeSession() local
722 inParams = CreateJsonFromString((const char *)(in->data)); in ProcessSpekeSession()
723 if (inParams == NULL) { in ProcessSpekeSession()
[all …]
/ohos5.0/base/security/certificate_framework/frameworks/adapter/v1.0/src/
H A Dx509_cert_chain_openssl_ex.c152 static CfResult GetCertChainFromCollection(const HcfX509CertChainBuildParameters *inParams, STACK_O… in GetCertChainFromCollection() argument
154 if (inParams->validateParameters.certCRLCollections == NULL) { in GetCertChainFromCollection()
159 for (uint32_t i = 0; i < inParams->validateParameters.certCRLCollections->count; ++i) { in GetCertChainFromCollection()
161 HcfCertCrlCollection *collection = inParams->validateParameters.certCRLCollections->data[i]; in GetCertChainFromCollection()
162 … CfResult res = collection->selectCerts(collection, &(inParams->certMatchParameters), &retCerts); in GetCertChainFromCollection()
194 …const HcfX509CertChainBuildParameters *inParams, STACK_OF(X509) *allCerts, STACK_OF(X509) *leafCer… in GetLeafCertsFromCertStack() argument
196 CfResult res = GetCertChainFromCollection(inParams, allCerts); in GetLeafCertsFromCertStack()
H A Dx509_cert_chain_openssl.c1915 static CfResult PackCertChain(const HcfX509CertChainBuildParameters *inParams, STACK_OF(X509) * out) in PackCertChain() argument
1924 CfResult res = GetLeafCertsFromCertStack(inParams, allCerts, leafCerts); in PackCertChain()
1937 if (ValidatCertChainX509(out, inParams->validateParameters)) { in PackCertChain()
1947 int maxdepth = inParams->maxlength < 0 ? allCertsLen : inParams->maxlength; in PackCertChain()
1954 if (ValidatCertChainX509(out, inParams->validateParameters)) { in PackCertChain()
1968 CfResult HcfX509CertChainByParamsSpiCreate(const HcfX509CertChainBuildParameters *inParams, HcfX509… in HcfX509CertChainByParamsSpiCreate() argument
1970 if (inParams == NULL || spi == NULL) { in HcfX509CertChainByParamsSpiCreate()
1981 CfResult res = PackCertChain(inParams, certStack); in HcfX509CertChainByParamsSpiCreate()
/ohos5.0/base/security/certificate_framework/test/fuzztest/v1.0/x509certchain_fuzzer/
H A Dx509certchain_fuzzer.cpp684 HcfX509CertChainBuildParameters inParams = {}; in CreateOneCertChainBuildResultCreate() local
697 inParams.maxlength = MAX_DEPTH; in CreateOneCertChainBuildResultCreate()
702 inParams.certMatchParameters.issuer = &issue; in CreateOneCertChainBuildResultCreate()
703 inParams.certMatchParameters.minPathLenConstraint = -1; in CreateOneCertChainBuildResultCreate()
705 ret = HcfCertChainBuildResultCreate(&inParams, &returnObj); in CreateOneCertChainBuildResultCreate()
723 FreeX509CertMatchParamsData(&inParams.validateParameters); in CreateOneCertChainBuildResultCreate()
738 HcfX509CertChainBuildParameters inParams = {}; in X509BuildResultCreateFuzzTest() local
753 inParams.certMatchParameters.issuer = &issue; in X509BuildResultCreateFuzzTest()
754 inParams.certMatchParameters.minPathLenConstraint = -1; in X509BuildResultCreateFuzzTest()
759 inParams.certMatchParameters.issuer = &issue; in X509BuildResultCreateFuzzTest()
[all …]
/ohos5.0/base/security/device_auth/services/frameworks/inc/hiview_adapter/
H A Dhisysevent_adapter.h72 #define DEV_AUTH_REPORT_UE_CALL_EVENT_BY_PARAMS(osAccountId, inParams, appId, funcName) argument
83 #define DEV_AUTH_REPORT_UE_CALL_EVENT_BY_PARAMS(osAccountId, inParams, appId, funcName) \ argument
84 DevAuthReportUeCallEventByParams(osAccountId, inParams, appId, funcName)
116 void DevAuthReportUeCallEventByParams(int32_t osAccountId, const char *inParams, const char *appId,
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/
H A Dcrypto_x509_cert_chain_test.cpp1847 HcfX509CertChainBuildParameters inParams; variable
1852 inParams.maxlength = -1;
1864 inParams.certMatchParameters.issuer = &issue;
1873 inParams.maxlength = 2;
1885 HcfX509CertChainBuildParameters inParams; variable
1901 HcfX509CertChainBuildParameters inParams; variable
1904 inParams.maxlength = -1;
1959 HcfX509CertChainBuildParameters inParams; variable
1964 inParams.maxlength = -1;
2020 HcfX509CertChainBuildParameters inParams; variable
[all …]
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c430 res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckHmacParams()
542 res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckHmacWithThreeStageParams()
664 return BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckHkdfParams()
763 return BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckPskParams()
971 res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmEncryptParam()
1059 res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmDecryptParam()
1462 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in BigNumExpMod()
1809 return BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckSignParams()
1902 return BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckVerifyParams()
2212 const Uint8Buff *inParams[] = { authToken }; in CheckImportSymmetricKeyParams() local
[all …]
/ohos5.0/base/security/certificate_framework/frameworks/core/v1.0/certificate/
H A Dx509_cert_chain.c196 const HcfX509CertChainBuildParameters *inParams, HcfX509CertChainBuildResult **returnObj) in HcfCertChainBuildResultCreate() argument
198 if (inParams == NULL || returnObj == NULL) { in HcfCertChainBuildResultCreate()
210 res = func->createByParamsFunc(inParams, &spiObj); in HcfCertChainBuildResultCreate()
/ohos5.0/base/security/device_auth/services/frameworks/src/hiview_adapter/
H A Dhisysevent_adapter.cpp97 void DevAuthReportUeCallEventByParams(int32_t osAccountId, const char *inParams, const char *appId, in DevAuthReportUeCallEventByParams() argument
101 CJson *params = CreateJsonFromString(inParams); in DevAuthReportUeCallEventByParams()
/ohos5.0/base/security/certificate_framework/frameworks/adapter/v1.0/inc/
H A Dx509_cert_chain_openssl.h30 CfResult HcfX509CertChainByParamsSpiCreate(const HcfX509CertChainBuildParameters *inParams, HcfX509…
H A Dx509_cert_chain_openssl_ex.h42 …const HcfX509CertChainBuildParameters *inParams, STACK_OF(X509) *allCerts, STACK_OF(X509) *leafCer…
/ohos5.0/base/security/certificate_framework/interfaces/innerkits/certificate/
H A Dx509_cert_chain.h72 const HcfX509CertChainBuildParameters *inParams, HcfX509CertChainBuildResult **returnObj);