/base/security/certificate_framework/frameworks/common/v1.0/inc/ |
H A D | cf_memory.h | 30 #define SELF_FREE_PTR(PTR, FREE_FUNC) \ macro 38 #define CF_FREE_PTR(p) SELF_FREE_PTR(p, CfFree)
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/ |
H A D | cert_manager_mem.h | 29 #define SELF_FREE_PTR(PTR, FREE_FUNC) \ macro 37 #define CM_FREE_PTR(p) SELF_FREE_PTR(p, CMFree)
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/include/ |
H A D | hks_test_mem.h | 28 #define SELF_FREE_PTR(PTR, FREE_FUNC) \ macro 36 #define HKS_FREE(p) ({SELF_FREE_PTR(p, HksTestFree)})
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_sm2.c | 145 SELF_FREE_PTR(pkey, EVP_PKEY_free)
in HksOpensslSm2GenerateKey() 146 SELF_FREE_PTR(ctx, EVP_PKEY_CTX_free)
in HksOpensslSm2GenerateKey() 267 SELF_FREE_PTR(paramBld, OSSL_PARAM_BLD_free)
in ConstructSm2ParamsFromRawKey() 299 SELF_FREE_PTR(ctx, EVP_PKEY_CTX_free)
in Sm2InitKey() 312 SELF_FREE_PTR(ctx, EVP_PKEY_CTX_free)
in Sm2InitKey() 313 SELF_FREE_PTR(sm2EvpPkey, EVP_PKEY_free)
in Sm2InitKey() 317 SELF_FREE_PTR(params, OSSL_PARAM_free)
in Sm2InitKey() 393 SELF_FREE_PTR(key, EVP_PKEY_free)
in InitSm2Ctx() function 397 SELF_FREE_PTR(ctx, EVP_PKEY_CTX_free)
in InitSm2Ctx() 417 SELF_FREE_PTR(ct in HksOpensslSm2Verify() [all...] |
H A D | hks_openssl_dsa.c | 72 SELF_FREE_PTR(x, BN_free); in InitDsaStructKey() 78 SELF_FREE_PTR(x, BN_free); in InitDsaStructKey() 79 SELF_FREE_PTR(y, BN_free); in InitDsaStructKey() 105 SELF_FREE_PTR(p, BN_free); in InitDsaStructParameter() 113 SELF_FREE_PTR(p, BN_free); in InitDsaStructParameter() 114 SELF_FREE_PTR(q, BN_free); in InitDsaStructParameter() 120 SELF_FREE_PTR(p, BN_free); in InitDsaStructParameter() 121 SELF_FREE_PTR(q, BN_free); in InitDsaStructParameter() 122 SELF_FREE_PTR(g, BN_free); in InitDsaStructParameter() 140 SELF_FREE_PTR(ds in InitDsaStruct() [all...] |
H A D | hks_openssl_rsa.c | 141 SELF_FREE_PTR(n, BN_free); in InitRsaStruct() 142 SELF_FREE_PTR(e, BN_free); in InitRsaStruct() 143 SELF_FREE_PTR(d, BN_free); in InitRsaStruct() 234 SELF_FREE_PTR(rsa, RSA_free); in HksOpensslRsaGenerateKey() 235 SELF_FREE_PTR(e, BN_free); in HksOpensslRsaGenerateKey() 240 SELF_FREE_PTR(rsa, RSA_free); in HksOpensslRsaGenerateKey() 241 SELF_FREE_PTR(e, BN_free); in HksOpensslRsaGenerateKey() 493 SELF_FREE_PTR(rsa, RSA_free); in InitRsaEvpKey() 499 SELF_FREE_PTR(rsa, RSA_free); in InitRsaEvpKey() 500 SELF_FREE_PTR(pke in InitRsaEvpKey() [all...] |
H A D | hks_openssl_engine.c | 562 SELF_FREE_PTR(bn, BN_free) in GetBnBinpadFromPkey()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/ |
H A D | cm_mem.h | 29 #define SELF_FREE_PTR(PTR, FREE_FUNC) \ macro 37 #define CM_FREE_PTR(p) SELF_FREE_PTR(p, CmFree)
|
/base/security/huks/utils/crypto_adapter/ |
H A D | hks_client_service_adapter.c | 113 SELF_FREE_PTR(rsa, RSA_free)
in RsaToX509PublicKey() 114 SELF_FREE_PTR(rsaN, BN_free)
in RsaToX509PublicKey() 115 SELF_FREE_PTR(rsaE, BN_free)
in RsaToX509PublicKey() 116 SELF_FREE_PTR(pkey, EVP_PKEY_free)
in RsaToX509PublicKey() 190 SELF_FREE_PTR(ecKey, EC_KEY_free)
in EccToX509PublicKey() 191 SELF_FREE_PTR(ecX, BN_free)
in EccToX509PublicKey() 192 SELF_FREE_PTR(ecY, BN_free)
in EccToX509PublicKey() 193 SELF_FREE_PTR(pkey, EVP_PKEY_free)
in EccToX509PublicKey() 280 SELF_FREE_PTR(dsa, DSA_free)
in DsaToX509PublicKey() 281 SELF_FREE_PTR(dsa in DsaToX509PublicKey() [all...] |
/base/security/huks/frameworks/huks_standard/main/common/include/ |
H A D | hks_mem.h | 41 #define SELF_FREE_PTR(PTR, FREE_FUNC) \ macro 49 #define HKS_FREE(p) ({SELF_FREE_PTR(p, HksFreeImpl)})
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/ |
H A D | dlp_crypt.h | 89 #define SELF_FREE_PTR(PTR, FREE_FUNC) \ macro 97 #define DLP_FREE_PTR(p) SELF_FREE_PTR(p, free)
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A D | openssl_ecc_helper.c | 502 SELF_FREE_PTR(x, BN_free) in EcKeyToPublicKey() 503 SELF_FREE_PTR(y, BN_free) in EcKeyToPublicKey()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
H A D | hks_chipset_platform_encrypt_test.cpp | 240 SELF_FREE_PTR(ecKey, EC_KEY_free) in ConvertRawEcPubKeyToX509Key() 244 SELF_FREE_PTR(bigNum, BN_free) in ConvertRawEcPubKeyToX509Key() 255 SELF_FREE_PTR(pkey, EVP_PKEY_free) in ConvertRawEcPubKeyToX509Key()
|
/base/security/huks/frameworks/crypto_lite/js/napi/ |
H A D | cipher_napi.cpp | 75 #define SELF_FREE_PTR(PTR, FREE_FUNC) \
macro 83 #define CIPHER_FREE_PTR(p) SELF_FREE_PTR(p, free)
|