Home
last modified time | relevance | path

Searched refs:HksFree (Results 1 – 25 of 139) sorted by relevance

123456

/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_get_sdk_version.cpp38 HksFree(sdkVersion); in HuksNapiGetSdkVersion()
46 HksFree(sdkVersion->data); in HuksNapiGetSdkVersion()
47 HksFree(sdkVersion); in HuksNapiGetSdkVersion()
53 HksFree(sdkVersion->data); in HuksNapiGetSdkVersion()
54 HksFree(sdkVersion); in HuksNapiGetSdkVersion()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_three_stage_test_common.c54 HksFree(tmpOutData.data); in TestLessThanMaxSeg()
71 HksFree(tmpInData.data); in TestLessThanMaxSeg()
104 HksFree(outDataSeg.data); in HksTestUpdate()
107 HksFree(outDataSeg.data); in HksTestUpdate()
143 HksFree(outDataSeg.data); in TestUpdateLoopFinish()
149 HksFree(outDataSeg.data); in TestUpdateLoopFinish()
162 HksFree(outDataFinish.data); in TestUpdateLoopFinish()
167 HksFree(outDataFinish.data); in TestUpdateLoopFinish()
171 HksFree(outDataFinish.data); in TestUpdateLoopFinish()
204 HksFree(outDataSeg.data); in TestUpdateFinish()
[all …]
Dhks_import_sign_verify_test.cpp448 HksFree(data); in ConstructImportedCurve25519Key()
455 HksFree(data); in ConstructImportedCurve25519Key()
462 HksFree(data); in ConstructImportedCurve25519Key()
492 HksFree(data); in ConstructImportedDsaPriOrPairKey()
499 HksFree(data); in ConstructImportedDsaPriOrPairKey()
507 HksFree(data); in ConstructImportedDsaPriOrPairKey()
515 HksFree(data); in ConstructImportedDsaPriOrPairKey()
522 HksFree(data); in ConstructImportedDsaPriOrPairKey()
529 HksFree(data); in ConstructImportedDsaPriOrPairKey()
564 HksFree(data); in ConstructEcPrivateKey()
[all …]
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_rsa_common_mt.cpp88 HksFree(decryptedText.data); in GenerateKeyTestCase()
91 HksFree(publicKey.data); in GenerateKeyTestCase()
92 HksFree(privateKey.data); in GenerateKeyTestCase()
93 HksFree(paramSetOut); in GenerateKeyTestCase()
94 HksFree(cipherText.data); in GenerateKeyTestCase()
155 HksFree(decryptedText.data); in EncryptLocalTestCase()
157 HksFree(paramSetOut); in EncryptLocalTestCase()
158 HksFree(publicKey.data); in EncryptLocalTestCase()
159 HksFree(privateKey.data); in EncryptLocalTestCase()
160 HksFree(cipherText.data); in EncryptLocalTestCase()
[all …]
Dhks_agree_mt.cpp71 HksFree(localData); in LocalHksGenerate()
86 HksFree(localData); in LocalHksGenerate()
566 HksFree(alise.data); in ServiceAgreeScenario()
567 HksFree(x509KeyAlise.data); in ServiceAgreeScenario()
568 HksFree(x509KeyBob.data); in ServiceAgreeScenario()
569 HksFree(pubKeyAlise.data); in ServiceAgreeScenario()
570 HksFree(pubKeyBob.data); in ServiceAgreeScenario()
600 HksFree(priKeyAlise.data); in LocalAgreeScenario()
601 HksFree(priKeyBob.data); in LocalAgreeScenario()
613 HksFree(alise.data); in LocalAgreeScenario()
[all …]
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_dh_agree.cpp108 HksFree(alise.data); in RunTestCase()
109 HksFree(bob.data); in RunTestCase()
110 HksFree(pubKeyAlise.data); in RunTestCase()
111 HksFree(pubKeyBob.data); in RunTestCase()
112 HksFree(agreeKeyAlise.data); in RunTestCase()
113 HksFree(agreeKeyBob.data); in RunTestCase()
Dhks_crypto_hal_ecdh_agree.cpp141 HksFree(alise.data); in RunTestCase()
142 HksFree(bob.data); in RunTestCase()
143 HksFree(pubKeyAlise.data); in RunTestCase()
144 HksFree(pubKeyBob.data); in RunTestCase()
145 HksFree(agreeKeyAlise.data); in RunTestCase()
146 HksFree(agreeKeyBob.data); in RunTestCase()
Dhks_crypto_hal_aes_decrypt.cpp360 HksFree(key.data); in RunTestCase()
361 HksFree(message.data); in RunTestCase()
362 HksFree(cipherText.data); in RunTestCase()
389 HksFree(out.data); in RunTestAesDecrypt()
390 HksFree(messageUpdate.data); in RunTestAesDecrypt()
400 HksFree(messageLast.data); in RunTestAesDecrypt()
401 HksFree(outLast.data); in RunTestAesDecrypt()
412 HksFree(out.data); in RunTestAesDecrypt()
437 HksFree(out.data); in RunTestAesGcmDecrypt()
438 HksFree(messageUpdate.data); in RunTestAesGcmDecrypt()
[all …]
Dhks_crypto_hal_aes_cipher.cpp522 HksFree(out.data); in RunTestEncrypt()
523 HksFree(messageUpdate.data); in RunTestEncrypt()
536 HksFree(enMessageLast.data); in RunTestEncrypt()
549 HksFree(out.data); in RunTestEncrypt()
576 HksFree(out.data); in RunTestDecrypt()
577 HksFree(messageUpdate.data); in RunTestDecrypt()
594 HksFree(messageLast.data); in RunTestDecrypt()
608 HksFree(deMessageLast.data); in RunTestDecrypt()
609 HksFree(out.data); in RunTestDecrypt()
642 HksFree(encryptAll.data); in RunTestCaseThreeStage()
[all …]
Dhks_crypto_hal_dsa_sign.cpp126 HksFree(key.data); in RunTestCase()
127 HksFree(message.data); in RunTestCase()
128 HksFree(signature.data); in RunTestCase()
129 HksFree(pubKey.data); in RunTestCase()
Dhks_crypto_hal_sm3_cipher.cpp101 HksFree(message.data);
123 HksFree(message.data);
145 HksFree(message.data);
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_ecdh_agree_test_common.cpp117 HksFree(blob1->data); in HksEcdhAgreeFreeBlob()
118 HksFree(blob2->data); in HksEcdhAgreeFreeBlob()
124 HksFree(blob1->data); in HksEcdhAgreeFreeBlob()
125 HksFree(blob2->data); in HksEcdhAgreeFreeBlob()
126 HksFree(blob3->data); in HksEcdhAgreeFreeBlob()
127 HksFree(blob4->data); in HksEcdhAgreeFreeBlob()
Dhks_export_test_mt.cpp99 HksFree(publicKey.data);
114 HksFree(publicKey.data);
142 HksFree(publicKey.data);
160 HksFree(publicKey.data);
176 HksFree(publicKey.data);
191 HksFree(publicKey.data);
206 HksFree(publicKey.data);
221 HksFree(publicKey.data);
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_hash.c60 HksFree(context); in HksMbedtlsHashMd5Init()
70 HksFree(context); in HksMbedtlsHashMd5Init()
125 HksFree(context); in HksMbedtlsHashMd5Final()
143 HksFree(context); in HksMbedtlsHashSha1Init()
153 HksFree(context); in HksMbedtlsHashSha1Init()
216 HksFree(context); in HksMbedtlsHashSha1Final()
229 HksFree(context); in HksMbedtlsHashSha256Init()
241 HksFree(context); in HksMbedtlsHashSha256Init()
251 HksFree(context); in HksMbedtlsHashSha256Init()
313 HksFree(context); in HksMbedtlsHashSha256Final()
[all …]
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
Dhks_client_service_adapter_test.cpp86 HksFree(x509Key->data);
87 HksFree(x509Key);
120 HksFree(pubKey->data);
121 HksFree(pubKey);
/base/security/huks/utils/mutex/
Dhks_mutex.c34 HksFree(mutex); in HksMutexCreate()
62 HksFree(mutex); in HksMutexClose()
/base/security/huks/utils/condition/
Dhks_condition.c81 HksFree(condition); in HksConditionCreate()
91 HksFree(condition); in HksConditionCreate()
104 HksFree(condition); in HksConditionDestroy()
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_lock.c34 HksFree(lock); in HksLockCreate()
75 HksFree(lock); in HksLockClose()
Dhks_lock_lite.c32 HksFree(lock); in HksLockCreate()
73 HksFree(lock); in HksLockClose()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/posix/
Dhks_rwlock.c33 HksFree(rwLock); in HksRwlockCreate()
75 HksFree(lock); in HksRwlockClose()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksgetcertificatechain_fuzzer/
Dhksgetcertificatechain_fuzzer.cpp57 HksFree(certChain); in DoSomethingInterestingWithMyAPI()
60 HksFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksattestkey_fuzzer/
Dhksattestkey_fuzzer.cpp56 HksFree(certChain); in DoSomethingInterestingWithMyAPI()
59 HksFree(myData); in DoSomethingInterestingWithMyAPI()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_dsa.c59 HksFree(buff); in InitDsaStructKey()
63 HksFree(buff); in InitDsaStructKey()
71 HksFree(buff); in InitDsaStructKey()
86 HksFree(buff); in InitDsaStructKey()
98 HksFree(buff); in InitDsaStructParameter()
104 HksFree(buff); in InitDsaStructParameter()
112 HksFree(buff); in InitDsaStructParameter()
129 HksFree(buff); in InitDsaStructParameter()
253 HksFree(rawMaterial); in DsaSaveKeyMaterial()
257 HksFree(rawMaterial); in DsaSaveKeyMaterial()
/base/security/huks/test/reliability/src/
Dpressure_test.cpp87 HksFree(localKey.blob.data); in LocalHksGenerate()
102 HksFree(localKey.blob.data); in LocalHksGenerate()
125 HksFree(sdkVersion.data);
249 HksFree(pubKey.data);
291 HksFree(pubKey.data);
381 HksFree(localKey.blob.data);
460 HksFree(authId.data);
507 HksFree(signature.data);
558 HksFree(signature.data);
612 HksFree(cipherText.data);
[all …]
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_keynode.c149 HksFree(keyNode); in HksCreateKeyNode()
157 HksFree(keyNode); in HksCreateKeyNode()
167 HksFree(keyNode); in HksCreateKeyNode()
178 HksFree(keyNode); in HksCreateKeyNode()
186 HksFree(keyNode); in HksCreateKeyNode()
211 HksFree(keyNode); in FreeParamsForBuildKeyNode()

123456