Home
last modified time | relevance | path

Searched refs:CF_ERR_MALLOC (Results 1 - 25 of 38) sorted by relevance

12

/base/security/certificate_framework/frameworks/core/v1.0/certificate/
H A Dcert_crl_collection.c67 return CF_ERR_MALLOC; in GetMatchCerts()
99 return CF_ERR_MALLOC; in GetMatchCerts()
118 return CF_ERR_MALLOC; in GetMatchCRLs()
150 return CF_ERR_MALLOC; in GetMatchCRLs()
239 return CF_ERR_MALLOC; in CloneCertArray()
272 return CF_ERR_MALLOC; in CloneCrlArray()
302 return CF_ERR_MALLOC; in HcfCertCrlCollectionCreate()
H A Dcert_chain_validator.c107 res = CF_ERR_MALLOC; in ConvertCertBuffer2List()
144 return CF_ERR_MALLOC; in Validate()
194 return CF_ERR_MALLOC; in HcfCertChainValidatorCreate()
207 return CF_ERR_MALLOC; in HcfCertChainValidatorCreate()
H A Dx509_cert_chain.c181 return CF_ERR_MALLOC; in HcfCertChainCreate()
220 return CF_ERR_MALLOC; in HcfCertChainBuildResultCreate()
228 return CF_ERR_MALLOC; in HcfCertChainBuildResultCreate()
H A Dx509_distinguished_name.c132 return CF_ERR_MALLOC; in HcfX509DistinguishedNameCreate()
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
H A Dx509_crl_entry_openssl.c75 return CF_ERR_MALLOC; in GetEncoded()
114 return CF_ERR_MALLOC; in GetSerialNumber()
141 return CF_ERR_MALLOC; in GetCertIssuer()
174 return CF_ERR_MALLOC; in GetRevocationDate()
240 return CF_ERR_MALLOC; in ToString()
287 return CF_ERR_MALLOC; in HashCode()
326 return CF_ERR_MALLOC; in DeepCopyCertIssuer()
332 return CF_ERR_MALLOC; in DeepCopyCertIssuer()
372 return CF_ERR_MALLOC; in HcfCX509CRLEntryCreate()
379 return CF_ERR_MALLOC; in HcfCX509CRLEntryCreate()
[all...]
H A Dx509_crl_openssl.c147 return CF_ERR_MALLOC; in GetEncoded()
260 return CF_ERR_MALLOC; in GetIssuerName()
273 return CF_ERR_MALLOC; in SetCertIssuer()
309 return CF_ERR_MALLOC; in GetLastUpdate()
342 return CF_ERR_MALLOC; in GetNextUpdate()
494 return CF_ERR_MALLOC; in GetRevokedCerts()
501 return CF_ERR_MALLOC; in GetRevokedCerts()
529 return CF_ERR_MALLOC; in GetTbsList()
570 return CF_ERR_MALLOC; in GetSignature()
596 return CF_ERR_MALLOC; in GetSignatureAlgOidInner()
[all...]
H A Dx509_cert_chain_validator_openssl.c93 return CF_ERR_MALLOC; in InitX509Certs()
147 res = CF_ERR_MALLOC; in ValidateCertChainInner()
155 res = CF_ERR_MALLOC; in ValidateCertChainInner()
236 return CF_ERR_MALLOC; in HcfCertChainValidatorSpiCreate()
H A Dx509_cert_chain_openssl_ex.c52 return CF_ERR_MALLOC; in CfToString()
92 return CF_ERR_MALLOC; in CfHashCode()
108 return CF_ERR_MALLOC; in CfHashCode()
179 return CF_ERR_MALLOC; in GetCertChainFromCollection()
H A Dx509_certificate_openssl.c193 return CF_ERR_MALLOC; in GetEncodedX509Openssl()
225 return CF_ERR_MALLOC; in GetPublicKeyX509Openssl()
392 return CF_ERR_MALLOC; in CheckValidityWithDateX509Openssl()
644 return CF_ERR_MALLOC; in GetIssuerDNX509Openssl()
685 return CF_ERR_MALLOC; in GetSubjectDNX509Openssl()
718 return CF_ERR_MALLOC; in CopyMemFromBIO()
864 return CF_ERR_MALLOC; in GetSignatureX509Openssl()
956 return CF_ERR_MALLOC; in GetSigAlgParamsX509Openssl()
987 return CF_ERR_MALLOC; in ConvertAsn1String2BoolArray()
1037 return CF_ERR_MALLOC; in STACK_OF()
[all...]
H A Dcertificate_openssl_common.c93 return CF_ERR_MALLOC; in DeepCopyDataToBlob()
111 return CF_ERR_MALLOC; in DeepCopyBlobToBlob()
341 return CF_ERR_MALLOC; in DeepCopyDataToOut()
527 return CF_ERR_MALLOC; in GetPubKeyDataFromX509()
555 return CF_ERR_MALLOC; in GetSubjectNameFromX509()
583 return CF_ERR_MALLOC; in GetNameConstraintsFromX509()
H A Dx509_distinguished_name_openssl.c78 return CF_ERR_MALLOC; in GetEncodeOpenssl()
105 return CF_ERR_MALLOC; in GetDataByEntryOpenssl()
142 return CF_ERR_MALLOC; in GetNameTypeByOpenssl()
322 return CF_ERR_MALLOC; in OpensslX509DistinguishedNameSpiCreate()
H A Dx509_cert_chain_openssl.c132 return CF_ERR_MALLOC; in X509ToHcfX509Certificate()
165 return CF_ERR_MALLOC; in GetCertlist()
447 return CF_ERR_MALLOC; in CopyHcfX509TrustAnchor()
492 return CF_ERR_MALLOC; in FillValidateResult()
1348 return CF_ERR_MALLOC; in STACK_OF()
1604 return CF_ERR_MALLOC; in CreateX509CertChainDER()
1620 return CF_ERR_MALLOC; in CreateX509CertChainDER()
1647 return CF_ERR_MALLOC; in CreateX509CertChainPKCS7()
1732 return CF_ERR_MALLOC; in HcfX509CertChainByEncSpiCreate()
1773 return CF_ERR_MALLOC; in GetCertsStack()
[all...]
/base/security/certificate_framework/interfaces/inner_api/common/
H A Dcf_result.h33 CF_ERR_MALLOC = -20001, enumerator
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_cert_utils.cpp42 { CF_ERR_MALLOC, JS_ERR_CERT_OUT_OF_MEMORY },
396 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc failed!")); in CertGetBlobFromUint8ArrJSParams()
404 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc failed!")); in CertGetBlobFromUint8ArrJSParams()
445 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc failed!")); in CertGetBlobFromStringJSParams()
453 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc failed")); in CertGetBlobFromStringJSParams()
515 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc failed")); in CertGetBlobArrFromArrUarrJSParams()
523 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc failed")); in CertGetBlobArrFromArrUarrJSParams()
576 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc failed")); in CertGetBlobFromArrBoolJSParams()
584 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc failed")); in CertGetBlobFromArrBoolJSParams()
659 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "mallo in CertGetSANArrFromArrUarrJSParams()
[all...]
H A Dnapi_common.cpp118 return CF_ERR_MALLOC; in GetBlobArrayFromParamSet()
133 return CF_ERR_MALLOC; in GetBlobArrayFromParamSet()
H A Dnapi_cert_crl_collection.cpp250 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "Malloc matchParams failed")); in GetCertMatchParams()
279 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc context failed")); in SelectCerts()
372 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "Malloc matchParams failed")); in GetCrlMatchParam()
404 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc context failed")); in SelectCRLs()
495 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc napiObject failed.")); in NapiCreateCertCRLCollection()
H A Dnapi_x509_cert_chain.cpp208 context->async->errCode = CF_ERR_MALLOC; in CreateCertChainComplete()
252 context->async->errCode = CF_ERR_MALLOC; in BuildX509CertChainComplete()
309 context->async->errCode = CF_ERR_MALLOC; in ValidateComplete()
348 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "malloc context failed!")); in Validate()
437 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "build create instance failed!")); in CreateX509CertChainByArray()
453 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "context is nullptr!")); in CreateX509CertChainByEncodingBlob()
642 context->async->errCode = CF_ERR_MALLOC; in CreateTrustAnchorsWithKeyStoreComplete()
674 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "context is nullptr!")); in CreateTrustAnchorsWithKeyStore()
799 napi_throw(env, CertGenerateBusinessError(env, CF_ERR_MALLOC, "context is nullptr!")); in CreateX509CertChainExtReturn()
/base/security/certificate_framework/frameworks/adapter/v2.0/src/
H A Dcf_adapter_cert_openssl.c49 return CF_ERR_MALLOC; in DeepCopyDataToBlob()
64 return CF_ERR_MALLOC; in CreateX509Cert()
93 return CF_ERR_MALLOC; in CfOpensslCreateCert()
H A Dcf_adapter_extension_openssl.c82 return CF_ERR_MALLOC; in CfOpensslCreateExtension()
203 return CF_ERR_MALLOC; in DeepCopyDataToOutblob()
217 return CF_ERR_MALLOC; in DeepCopyOidsToOut()
343 return CF_ERR_MALLOC; in GetTargetNid()
405 return CF_ERR_MALLOC; in GetEntryCritical()
/base/security/certificate_framework/test/unittest/v1.0/src/
H A Dcrypto_x509_cert_chain_test_ex.cpp125 EXPECT_EQ(ret, CF_ERR_MALLOC); in HWTEST_F()
155 EXPECT_EQ(ret, CF_ERR_MALLOC); in HWTEST_F()
178 EXPECT_EQ(ret, CF_ERR_MALLOC); in HWTEST_F()
H A Dx509_distinguished_name_test.cpp205 EXPECT_EQ(ret, CF_ERR_MALLOC); in HWTEST_F()
319 EXPECT_EQ(ret, CF_ERR_MALLOC); in HWTEST_F()
361 EXPECT_EQ(ret, CF_ERR_MALLOC); in HWTEST_F()
/base/security/certificate_framework/frameworks/core/param/src/
H A Dcf_param.c43 return CF_ERR_MALLOC; in CfInitParamSet()
110 return CF_ERR_MALLOC; in BuildParamSet()
/base/security/certificate_framework/test/fuzztest/v1.0/x509certchain_fuzzer/
H A Dx509certchain_fuzzer.cpp82 return CF_ERR_MALLOC; in BuildAnchorArr1()
89 return CF_ERR_MALLOC; in BuildAnchorArr1()
442 return CF_ERR_MALLOC; in ConstructCertData()
537 CfResult ret = CF_ERR_MALLOC; in BuildCollectionArrNoCRL()
599 CfResult ret = CF_ERR_MALLOC; in BuildX509CertMatchParamsDataNoCRL()
602 return CF_ERR_MALLOC; in BuildX509CertMatchParamsDataNoCRL()
/base/security/certificate_framework/frameworks/core/cert/src/
H A Dcf_object_cert.c53 return CF_ERR_MALLOC; in CfCertCreate()
/base/security/certificate_framework/frameworks/core/life/
H A Dcf_api.c88 return CF_ERR_MALLOC; in CfCreate()

Completed in 19 milliseconds

12