Home
last modified time | relevance | path

Searched refs:HcfObjDestroy (Results 1 – 25 of 67) sorted by relevance

123

/base/security/crypto_framework/test/unittest/src/
Dcrypto_ecc_asy_key_generator_test.cpp160 HcfObjDestroy(generator);
171 HcfObjDestroy(generator);
182 HcfObjDestroy(generator);
193 HcfObjDestroy(generator);
242 HcfObjDestroy(generator);
266 HcfObjDestroy(generator);
279 HcfObjDestroy(generator);
294 HcfObjDestroy(generator);
309 HcfObjDestroy(generator);
324 HcfObjDestroy(generator);
[all …]
Dcrypto_sm2_asy_key_generator_test.cpp90 HcfObjDestroy(generator);
139 HcfObjDestroy(generator);
163 HcfObjDestroy(generator);
176 HcfObjDestroy(generator);
191 HcfObjDestroy(generator);
206 HcfObjDestroy(generator);
221 HcfObjDestroy(generator);
238 HcfObjDestroy(keyPair);
239 HcfObjDestroy(generator);
256 HcfObjDestroy(generator);
[all …]
Dcrypto_sm4_generator_test.cpp70 HcfObjDestroy((HcfObjectBase *)generator); in GenerateSymKey()
106 HcfObjDestroy(key);
107 HcfObjDestroy(generator);
132 HcfObjDestroy(generator);
163 HcfObjDestroy(key);
164 HcfObjDestroy(generator);
189 HcfObjDestroy(key);
220 HcfObjDestroy(key);
221 HcfObjDestroy(generator);
245 HcfObjDestroy(key);
[all …]
Dcrypto_rsa_sign_test.cpp179 HcfObjDestroy(sign);
194 HcfObjDestroy(sign);
209 HcfObjDestroy(sign);
224 HcfObjDestroy(sign);
239 HcfObjDestroy(sign);
254 HcfObjDestroy(sign);
269 HcfObjDestroy(sign);
346 HcfObjDestroy(sign);
368 HcfObjDestroy(sign);
369 HcfObjDestroy(generator);
[all …]
Dcrypto_sm4_cipher_test.cpp72 HcfObjDestroy(generator); in GenerateSm4SymKey()
90 HcfObjDestroy((HcfObjectBase *)generator); in GenerateSymKey()
370 HcfObjDestroy((HcfObjectBase *)key);
371 HcfObjDestroy((HcfObjectBase *)cipher);
372 HcfObjDestroy((HcfObjectBase *)generator);
418 HcfObjDestroy((HcfObjectBase *)key);
419 HcfObjDestroy((HcfObjectBase *)cipher);
420 HcfObjDestroy((HcfObjectBase *)generator);
465 HcfObjDestroy((HcfObjectBase *)key);
466 HcfObjDestroy((HcfObjectBase *)cipher);
[all …]
Dcrypto_sm2_cipher_test.cpp56 HcfObjDestroy(generator); in SetUpTestCase()
61 HcfObjDestroy(sm2256KeyPair_); in TearDownTestCase()
90 HcfObjDestroy(cipher);
154 HcfObjDestroy(keyPair);
155 HcfObjDestroy(generator);
156 HcfObjDestroy(cipher);
175 HcfObjDestroy(keyPair);
176 HcfObjDestroy(generator);
177 HcfObjDestroy(cipher);
196 HcfObjDestroy(keyPair);
[all …]
Dcrypto_rsa_verify_test.cpp160 HcfObjDestroy(verify);
170 HcfObjDestroy(verify);
183 HcfObjDestroy(verify);
201 HcfObjDestroy(keyPair);
202 HcfObjDestroy(generator);
203 HcfObjDestroy(verify);
221 HcfObjDestroy(keyPair);
222 HcfObjDestroy(generator);
223 HcfObjDestroy(verify);
242 HcfObjDestroy(verify);
[all …]
Dcrypto_dsa_asy_key_generator_by_spec_test.cpp275 HcfObjDestroy(generator);
286 HcfObjDestroy(generator);
298 HcfObjDestroy(generator);
310 HcfObjDestroy(generator);
336 HcfObjDestroy(generator);
348 HcfObjDestroy(generator);
353 HcfObjDestroy(keyPair);
366 HcfObjDestroy(generator);
371 HcfObjDestroy(keyPair);
383 HcfObjDestroy(generator);
[all …]
Dcrypto_sm3_mac_test.cpp89 HcfObjDestroy(macObj);
121 HcfObjDestroy(macObj);
135 HcfObjDestroy(macObj);
157 HcfObjDestroy(macObj);
158 HcfObjDestroy(key);
159 HcfObjDestroy(generator);
175 HcfObjDestroy(macObj);
201 HcfObjDestroy(macObj);
202 HcfObjDestroy(key);
203 HcfObjDestroy(generator);
[all …]
Dcrypto_3des_cipher_test.cpp69 HcfObjDestroy(generator); in GenerateDesSymKey()
268 HcfObjDestroy((HcfObjectBase *)key);
269 HcfObjDestroy((HcfObjectBase *)cipher);
270 HcfObjDestroy((HcfObjectBase *)generator);
316 HcfObjDestroy((HcfObjectBase *)key);
317 HcfObjDestroy((HcfObjectBase *)cipher);
318 HcfObjDestroy((HcfObjectBase *)generator);
363 HcfObjDestroy((HcfObjectBase *)key);
364 HcfObjDestroy((HcfObjectBase *)cipher);
365 HcfObjDestroy((HcfObjectBase *)generator);
[all …]
Dcrypto_ecc_asy_key_generator_by_spec_test.cpp707 HcfObjDestroy(generator);
723 HcfObjDestroy(generator);
739 HcfObjDestroy(generator);
755 HcfObjDestroy(generator);
777 HcfObjDestroy(generator);
793 HcfObjDestroy(generator);
809 HcfObjDestroy(generator);
825 HcfObjDestroy(generator);
847 HcfObjDestroy(generator);
863 HcfObjDestroy(generator);
[all …]
Dcrypto_mac_test.cpp93 HcfObjDestroy(macObj);
125 HcfObjDestroy(macObj);
139 HcfObjDestroy(macObj);
161 HcfObjDestroy(macObj);
162 HcfObjDestroy(key);
163 HcfObjDestroy(generator);
179 HcfObjDestroy(macObj);
205 HcfObjDestroy(macObj);
206 HcfObjDestroy(key);
207 HcfObjDestroy(generator);
[all …]
Dcrypto_ecc_key_agreement_test.cpp65 HcfObjDestroy(generator); in SetUpTestCase()
79 HcfObjDestroy(generator2); in SetUpTestCase()
93 HcfObjDestroy(generator3); in SetUpTestCase()
107 HcfObjDestroy(generator4); in SetUpTestCase()
112 HcfObjDestroy(ecc224KeyPair_); in TearDownTestCase()
113 HcfObjDestroy(ecc256KeyPair_); in TearDownTestCase()
114 HcfObjDestroy(ecc384KeyPair_); in TearDownTestCase()
115 HcfObjDestroy(ecc521KeyPair_); in TearDownTestCase()
136 HcfObjDestroy(keyAgreement);
147 HcfObjDestroy(keyAgreement);
[all …]
Dcrypto_aes_cipher_test.cpp97 HcfObjDestroy((HcfObjectBase *)generator); in GenerateSymKey()
121 HcfObjDestroy((HcfObjectBase *)generator); in ConvertSymKey()
598 HcfObjDestroy((HcfObjectBase *)key);
599 HcfObjDestroy((HcfObjectBase *)cipher);
600 HcfObjDestroy((HcfObjectBase *)generator);
649 HcfObjDestroy((HcfObjectBase *)key);
650 HcfObjDestroy((HcfObjectBase *)cipher);
651 HcfObjDestroy((HcfObjectBase *)generator);
695 HcfObjDestroy((HcfObjectBase *)key);
696 HcfObjDestroy((HcfObjectBase *)cipher);
[all …]
Dcrypto_rsa_cipher_test.cpp171 HcfObjDestroy(cipher);
188 HcfObjDestroy(cipher);
203 HcfObjDestroy(cipher);
218 HcfObjDestroy(cipher);
233 HcfObjDestroy(cipher);
248 HcfObjDestroy(cipher);
263 HcfObjDestroy(cipher);
278 HcfObjDestroy(cipher);
293 HcfObjDestroy(cipher);
308 HcfObjDestroy(cipher);
[all …]
Dcrypto_sm2_sign_test.cpp67 HcfObjDestroy(generator); in SetUpTestCase()
72 HcfObjDestroy(sm2256KeyPair_); in TearDownTestCase()
93 HcfObjDestroy(sign);
170 HcfObjDestroy(sign);
194 HcfObjDestroy(sign);
207 HcfObjDestroy(sign);
222 HcfObjDestroy(sign);
237 HcfObjDestroy(sign);
252 HcfObjDestroy(sign);
267 HcfObjDestroy(sign);
[all …]
Dcrypto_rsa_asy_key_generator_by_spec_test.cpp837 HcfObjDestroy(generator);
852 HcfObjDestroy(generator);
868 HcfObjDestroy(generator);
886 HcfObjDestroy(generator);
904 HcfObjDestroy(generator);
922 HcfObjDestroy(generator);
961 HcfObjDestroy(keyPair);
962 HcfObjDestroy(generator);
983 HcfObjDestroy(pubKey);
984 HcfObjDestroy(generator);
[all …]
Dcrypto_ecc_sign_test.cpp73 HcfObjDestroy(generator); in SetUpTestCase()
87 HcfObjDestroy(generator2); in SetUpTestCase()
101 HcfObjDestroy(generator3); in SetUpTestCase()
115 HcfObjDestroy(generator4); in SetUpTestCase()
120 HcfObjDestroy(ecc224KeyPair_); in TearDownTestCase()
121 HcfObjDestroy(ecc256KeyPair_); in TearDownTestCase()
122 HcfObjDestroy(ecc384KeyPair_); in TearDownTestCase()
123 HcfObjDestroy(ecc521KeyPair_); in TearDownTestCase()
144 HcfObjDestroy(sign);
155 HcfObjDestroy(sign);
[all …]
Dcrypto_rsa_asy_key_generator_test.cpp89 HcfObjDestroy(generator);
102 HcfObjDestroy(generator);
115 HcfObjDestroy(generator);
129 HcfObjDestroy(generator);
142 HcfObjDestroy(generator);
155 HcfObjDestroy(generator);
169 HcfObjDestroy(generator);
182 HcfObjDestroy(generator);
195 HcfObjDestroy(generator);
208 HcfObjDestroy(generator);
[all …]
Dcrypto_ecc_verify_test.cpp73 HcfObjDestroy(generator); in SetUpTestCase()
87 HcfObjDestroy(generator2); in SetUpTestCase()
101 HcfObjDestroy(generator3); in SetUpTestCase()
115 HcfObjDestroy(generator4); in SetUpTestCase()
120 HcfObjDestroy(ecc224KeyPair_); in TearDownTestCase()
121 HcfObjDestroy(ecc256KeyPair_); in TearDownTestCase()
122 HcfObjDestroy(ecc384KeyPair_); in TearDownTestCase()
123 HcfObjDestroy(ecc521KeyPair_); in TearDownTestCase()
144 HcfObjDestroy(verify);
155 HcfObjDestroy(verify);
[all …]
Dcrypto_sm2_verify_test.cpp67 HcfObjDestroy(generator); in SetUpTestCase()
72 HcfObjDestroy(sm2256KeyPair_); in TearDownTestCase()
93 HcfObjDestroy(verify);
170 HcfObjDestroy(verify);
194 HcfObjDestroy(verify);
207 HcfObjDestroy(verify);
222 HcfObjDestroy(verify);
237 HcfObjDestroy(verify);
252 HcfObjDestroy(verify);
267 HcfObjDestroy(verify);
[all …]
Dcrypto_ecc_no_length_sign_test.cpp231 HcfObjDestroy(generator); in SetUpTestCase()
249 HcfObjDestroy(generator2); in SetUpTestCase()
266 HcfObjDestroy(generator3); in SetUpTestCase()
283 HcfObjDestroy(generator4); in SetUpTestCase()
288 HcfObjDestroy(ecc224KeyPair_); in TearDownTestCase()
289 HcfObjDestroy(ecc256KeyPair_); in TearDownTestCase()
290 HcfObjDestroy(ecc384KeyPair_); in TearDownTestCase()
291 HcfObjDestroy(ecc521KeyPair_); in TearDownTestCase()
312 HcfObjDestroy(sign);
323 HcfObjDestroy(sign);
[all …]
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfverifycreate_fuzzer/
Dhcfverifycreate_fuzzer.cpp41 HcfObjDestroy(generator); in TestVerify()
49 HcfObjDestroy(ecc224KeyPair); in TestVerify()
62 HcfObjDestroy(ecc224KeyPair); in TestVerify()
63 HcfObjDestroy(sign); in TestVerify()
74 HcfObjDestroy(ecc224KeyPair); in TestVerify()
75 HcfObjDestroy(sign); in TestVerify()
77 HcfObjDestroy(verify); in TestVerify()
89 HcfObjDestroy(verify); in HcfVerifyCreateFuzzTest()
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/
Dhcfciphercreate_fuzzer.cpp129 HcfObjDestroy(generator); in TestAesCipher()
134 HcfObjDestroy(generator); in TestAesCipher()
135 HcfObjDestroy(key); in TestAesCipher()
141 HcfObjDestroy(generator); in TestAesCipher()
142 HcfObjDestroy(key); in TestAesCipher()
143 HcfObjDestroy(cipher); in TestAesCipher()
158 HcfObjDestroy(generator); in TestRsaCipher()
167 HcfObjDestroy(generator); in TestRsaCipher()
168 HcfObjDestroy(keyPair); in TestRsaCipher()
174 HcfObjDestroy(cipher); in TestRsaCipher()
[all …]
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfsigncreate_fuzzer/
Dhcfsigncreate_fuzzer.cpp41 HcfObjDestroy(generator); in TestSign()
49 HcfObjDestroy(ecc384KeyPair); in TestSign()
58 HcfObjDestroy(ecc384KeyPair); in TestSign()
59 HcfObjDestroy(sign); in TestSign()
71 HcfObjDestroy(sign); in HcfSignCreateFuzzTest()

123