/base/security/crypto_framework/frameworks/key/ |
D | asy_key_generator.c | 413 return HCF_ERR_MALLOC; in CopyAsyKeyParamsSpec() 429 return HCF_ERR_MALLOC; in CopyDsaCommonSpec() 435 return HCF_ERR_MALLOC; in CopyDsaCommonSpec() 441 return HCF_ERR_MALLOC; in CopyDsaCommonSpec() 457 return HCF_ERR_MALLOC; in CreateDsaCommonSpecImpl() 474 return HCF_ERR_MALLOC; in CreateDsaPubKeySpecImpl() 485 return HCF_ERR_MALLOC; in CreateDsaPubKeySpecImpl() 499 return HCF_ERR_MALLOC; in CreateDsaKeyPairSpecImpl() 510 return HCF_ERR_MALLOC; in CreateDsaKeyPairSpecImpl() 518 return HCF_ERR_MALLOC; in CreateDsaKeyPairSpecImpl() [all …]
|
/base/security/crypto_framework/interfaces/innerkits/common/ |
D | result.h | 28 HCF_ERR_MALLOC = 20001, enumerator
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/md/src/ |
D | md_openssl.c | 100 return HCF_ERR_MALLOC; in OpensslEngineDoFinalMd() 146 return HCF_ERR_MALLOC; in OpensslMdSpiCreate() 152 return HCF_ERR_MALLOC; in OpensslMdSpiCreate()
|
/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/ |
D | sym_key_openssl.c | 55 return HCF_ERR_MALLOC; in GetEncoded() 121 return HCF_ERR_MALLOC; in RandomSymmKey() 243 return HCF_ERR_MALLOC; in CopySymmKey() 264 return HCF_ERR_MALLOC; in GenerateSymmKey() 303 return HCF_ERR_MALLOC; in ConvertSymmKey() 331 return HCF_ERR_MALLOC; in HcfSymKeyGeneratorSpiCreate()
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/rand/src/ |
D | rand_openssl.c | 47 return HCF_ERR_MALLOC; in OpensslGenerateRandom() 103 return HCF_ERR_MALLOC; in HcfRandSpiCreate()
|
/base/security/crypto_framework/plugin/openssl_plugin/common/src/ |
D | openssl_common.c | 147 return HCF_ERR_MALLOC; in GetRsaSpecStringMd() 164 return HCF_ERR_MALLOC; in GetRsaSpecStringMGF() 276 return HCF_ERR_MALLOC; in BigNumToBigInteger()
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/ |
D | ecdsa_openssl.c | 199 return HCF_ERR_MALLOC; in EngineSignDoFinal() 334 return HCF_ERR_MALLOC; in HcfSignSpiEcdsaCreate() 347 return HCF_ERR_MALLOC; in HcfSignSpiEcdsaCreate() 374 return HCF_ERR_MALLOC; in HcfVerifySpiEcdsaCreate() 387 return HCF_ERR_MALLOC; in HcfVerifySpiEcdsaCreate()
|
D | sm2_openssl.c | 219 return HCF_ERR_MALLOC; in EngineSignDoFinal() 358 return HCF_ERR_MALLOC; in HcfSignSpiSm2Create() 371 return HCF_ERR_MALLOC; in HcfSignSpiSm2Create() 398 return HCF_ERR_MALLOC; in HcfVerifySpiSm2Create() 411 return HCF_ERR_MALLOC; in HcfVerifySpiSm2Create()
|
D | dsa_openssl.c | 374 return HCF_ERR_MALLOC; in EngineDsaSignDoFinal() 416 return HCF_ERR_MALLOC; in EngineDsaSignWithoutDigestDoFinal() 544 return HCF_ERR_MALLOC; in HcfSignSpiDsaCreate() 566 return HCF_ERR_MALLOC; in HcfSignSpiDsaCreate() 590 return HCF_ERR_MALLOC; in HcfVerifySpiDsaCreate() 610 return HCF_ERR_MALLOC; in HcfVerifySpiDsaCreate()
|
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
D | dsa_asy_key_generator_openssl.c | 361 ret = HCF_ERR_MALLOC; in GenerateDsaEvpKey() 430 return HCF_ERR_MALLOC; in CreateDsaPubKey() 444 return HCF_ERR_MALLOC; in CreateDsaPriKey() 459 return HCF_ERR_MALLOC; in CreateDsaKeyPair() 650 return HCF_ERR_MALLOC; in CreateDsaKeyPairByCommSpec() 664 return HCF_ERR_MALLOC; in CreateDsaKeyPairByCommSpec() 670 return HCF_ERR_MALLOC; in CreateDsaKeyPairByCommSpec() 684 return HCF_ERR_MALLOC; in CreateDsaPubKeyByKeyPairSpec() 698 return HCF_ERR_MALLOC; in CreateDsaPriKeyByKeyPairSpec() 745 return HCF_ERR_MALLOC; in CreateDsaPubKeyByPubKeySpec() [all …]
|
D | rsa_asy_key_generator_openssl.c | 312 return HCF_ERR_MALLOC; in CopyMemFromBIO() 513 return HCF_ERR_MALLOC; in PackPubKey() 538 return HCF_ERR_MALLOC; in PackPriKey() 590 return HCF_ERR_MALLOC; in PackKeyPair() 631 return HCF_ERR_MALLOC; in GenerateKeyPair() 729 return HCF_ERR_MALLOC; in ConvertPriKey() 784 return HCF_ERR_MALLOC; in EngineConvertKey() 876 return HCF_ERR_MALLOC; in GenerateKeyPairBySpec() 1058 return HCF_ERR_MALLOC; in DecodeParams() 1090 return HCF_ERR_MALLOC; in HcfAsyKeyGeneratorSpiRsaCreate()
|
D | sm2_asy_key_generator_openssl.c | 271 return HCF_ERR_MALLOC; in PackSm2PubKey() 291 return HCF_ERR_MALLOC; in PackSm2PriKey() 313 return HCF_ERR_MALLOC; in PackSm2KeyPair() 485 return HCF_ERR_MALLOC; in HcfAsyKeyGeneratorSpiSm2Create()
|
D | ecc_asy_key_generator_openssl.c | 252 return HCF_ERR_MALLOC; in SetEcPointToGroup() 303 res = HCF_ERR_MALLOC; in GenerateEcGroupWithParamsSpec() 986 return HCF_ERR_MALLOC; in GetFieldType() 1026 return HCF_ERR_MALLOC; in GetCurveName() 1211 return HCF_ERR_MALLOC; in PackEccPubKey() 1220 return HCF_ERR_MALLOC; in PackEccPubKey() 1247 return HCF_ERR_MALLOC; in PackEccPriKey() 1256 return HCF_ERR_MALLOC; in PackEccPriKey() 1284 return HCF_ERR_MALLOC; in PackEccKeyPair() 1436 return HCF_ERR_MALLOC; in CreateAndAssignKeyPair() [all …]
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/ |
D | cipher_aes_openssl.c | 287 return HCF_ERR_MALLOC; in InitAadAndTagFromGcmParams() 301 return HCF_ERR_MALLOC; in InitAadAndTagFromGcmParams() 317 return HCF_ERR_MALLOC; in InitAadAndTagFromCcmParams() 331 return HCF_ERR_MALLOC; in InitAadAndTagFromCcmParams() 340 HcfResult ret = HCF_ERR_MALLOC; in InitCipherData() 473 return HCF_ERR_MALLOC; in AllocateOutput() 561 return HCF_ERR_MALLOC; in AllocateCcmOutput() 674 return HCF_ERR_MALLOC; in AllocateGcmOutput() 767 return HCF_ERR_MALLOC; in HcfCipherAesGeneratorSpiCreate()
|
D | cipher_sm4_openssl.c | 137 HcfResult ret = HCF_ERR_MALLOC; in InitCipherData() 146 return HCF_ERR_MALLOC; in InitCipherData() 256 return HCF_ERR_MALLOC; in AllocateOutput() 380 return HCF_ERR_MALLOC; in HcfCipherSm4GeneratorSpiCreate()
|
D | cipher_3des_openssl.c | 76 return HCF_ERR_MALLOC; in InitCipherData() 155 return HCF_ERR_MALLOC; in AllocateOutput() 288 return HCF_ERR_MALLOC; in HcfCipherDesGeneratorSpiCreate()
|
D | cipher_rsa_openssl.c | 82 return HCF_ERR_MALLOC; in DuplicateRsaFromKey() 169 return HCF_ERR_MALLOC; in SetPsourceFromBlob() 259 return HCF_ERR_MALLOC; in SetRsaCipherSpecUint8Array() 303 return HCF_ERR_MALLOC; in GetRsaCipherSpecUint8Array() 519 return HCF_ERR_MALLOC; in HcfCipherRsaCipherSpiCreate()
|
D | cipher_sm2_openssl.c | 149 return HCF_ERR_MALLOC; in DoSm2EncryptAndDecrypt() 242 return HCF_ERR_MALLOC; in HcfCipherSm2CipherSpiCreate()
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_asy_key_spec_generator.cpp | 143 … napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new napi key pair failed!")); in GenKeyPairAsyncWorkReturn() 192 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new napi pub key failed!")); in PubKeyAsyncWorkReturn() 242 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new napi pri key failed!")); in PriKeyAsyncWorkReturn() 370 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "create context fail!")); in JsGenerateKeyPair() 389 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "create context fail!")); in JsGeneratePubKey() 408 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "create context fail!")); in JsGeneratePriKey() 465 …napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new napi asy key generator by spec fai… in CreateJsAsyKeyGeneratorBySpec()
|
D | napi_asy_key_generator.cpp | 284 … napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new napi key pair failed!")); in GenKeyPairAsyncWorkReturn() 334 … napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new napi key pair failed!")); in ConvertKeyAsyncWorkReturn() 435 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "malloc ctx fail.")); in JsGenerateKeyPair() 454 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "create context fail!")); in JsConvertKey() 529 …napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new napi asy key napi generator failed… in CreateJsAsyKeyGenerator()
|
D | napi_sym_key_generator.cpp | 199 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new napi sym key failed.")); in AsyncKeyReturn() 317 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "Create context failed!")); in JsGenerateSymKey() 342 …napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "malloc SymKeyGeneratorFwkCtx failed!")… in JsConvertKey() 404 … napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new napi sym key generator failed.")); in CreateSymKeyGenerator()
|
D | napi_md.cpp | 125 context->errCode = HCF_ERR_MALLOC; in MdDoFinalExecute() 299 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "malloc context failed")); in JsMdUpdate() 318 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "malloc context failed")); in JsMdDoFinal() 419 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new md napi obj failed!")); in CreateMd()
|
D | napi_mac.cpp | 167 context->errCode = HCF_ERR_MALLOC; in MacDoFinalExecute() 388 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "malloc context failed")); in JsMacInit() 407 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "malloc context failed")); in JsMacUpdate() 426 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "malloc context failed")); in JsMacDoFinal() 526 napi_throw(env, GenerateBusinessError(env, HCF_ERR_MALLOC, "new mac napi obj failed.")); in CreateMac()
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/key_agreement/src/ |
D | ecdh_openssl.c | 101 return HCF_ERR_MALLOC; in EcdhDerive() 180 return HCF_ERR_MALLOC; in HcfKeyAgreementSpiEcdhCreate()
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/hmac/src/ |
D | mac_openssl.c | 127 return HCF_ERR_MALLOC; in OpensslEngineDoFinalMac() 168 return HCF_ERR_MALLOC; in OpensslMacSpiCreate()
|