Home
last modified time | relevance | path

Searched refs:isEncrypt (Results 1 – 25 of 26) sorted by relevance

12

/test/xts/acts/security/security_huks_reformed_test/utils/param/
DcheckAES.js57 async function publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
64 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt, 0);
80 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
108 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
110 await finish(HuksOptions, isEncrypt);
116 async function finish(HuksOptions, isEncrypt) { argument
174 async function publicCipherFunc(srcKeyAlies, HuksOptions, thirdInderfaceName, isEncrypt) { argument
177 if (isEncrypt) {
182 await publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt);
183 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
/test/xts/acts/security/security_huks_basic/utils/param/
DcheckAES.js56 async function publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
63 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt, 0);
79 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
107 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
109 await finish(HuksOptions, isEncrypt);
115 async function finish(HuksOptions, isEncrypt) { argument
173 async function publicCipherFunc(srcKeyAlies, HuksOptions, thirdInderfaceName, isEncrypt) { argument
176 if (isEncrypt) {
181 await publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt);
182 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
/test/xts/acts/security/security_huks_basic/huks_cipher_promise_BasicTest/src/main/js/test/Cipher/
DSecurityHuksCipherAESBasicPromiseJsunit.test.js62 async function publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
69 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt, 0);
85 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
109 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
111 await finish(HuksOptions, isEncrypt);
117 async function finish(HuksOptions, isEncrypt) { argument
129 if (isEncrypt) {
136 if (!isEncrypt) {
176 … publicCipherFunc(srcKeyAlies, genHuksOptionsNONECBC, HuksOptions, thirdInderfaceName, isEncrypt) { argument
179 if (isEncrypt) {
[all …]
DSecurityHuksCipherRSABasicPromiseJsunit.test.js138 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
141 await finish(HuksOptions, isEncrypt);
147 async function finish(HuksOptions, isEncrypt) { argument
152 if (isEncrypt) {
160 if (!isEncrypt) {
206 isEncrypt argument
212 if (isEncrypt) {
222 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
223 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
DSecurityHuksCipherSM2BasicPromiseJsunit.test.js144 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
147 await finish(HuksOptions, isEncrypt);
153 async function finish(HuksOptions, isEncrypt) { argument
159 if (isEncrypt) {
208 isEncrypt argument
214 if (isEncrypt) {
224 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
225 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
DSecurityHuksCipherSM4BasicPromiseJsunit.test.js72 async function publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
118 if (isEncrypt) {
161 isEncrypt argument
164 if (isEncrypt) {
169 await publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt);
170 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
/test/xts/acts/security/security_huks_basic/huks_cipher_callback_BasicTest/src/main/js/test/Cipher/
DSecurityHuksAESBasicCallbackJsunit.test.js87 async function publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
93 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt, 0);
107 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
141 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
143 await finish(HuksOptions, isEncrypt);
149 async function finish(HuksOptions, isEncrypt) { argument
160 if (isEncrypt) {
167 if (!isEncrypt) {
244 … publicCipherFunc(srcKeyAlies, genHuksOptionsNONECBC, HuksOptions, thirdInderfaceName, isEncrypt) { argument
247 if (isEncrypt) {
[all …]
DSecurityHuksRSABasicCallbackJsunit.test.js204 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
207 await finish(HuksOptions, isEncrypt);
213 async function finish(HuksOptions, isEncrypt) { argument
217 if (isEncrypt) {
225 if (!isEncrypt) {
307 isEncrypt argument
313 if (isEncrypt) {
323 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
324 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
DSecurityHuksSM2BasicCallbackJsunit.test.js206 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
209 await finish(HuksOptions, isEncrypt);
215 async function finish(HuksOptions, isEncrypt) { argument
220 if (isEncrypt) {
306 isEncrypt argument
312 if (isEncrypt) {
322 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
323 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
DSecurityHuksSM4BasicCallbackJsunit.test.js97 async function publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
143 if (isEncrypt) {
237 isEncrypt argument
240 if (isEncrypt) {
245 await publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt);
246 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
/test/xts/acts/security/security_huks_reformed_test/huks_cipher_callback_BasicTest/src/main/js/test/Cipher/
DSecurityHuksAESBasicCallbackJsunit.test.js102 async function publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
108 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt, 0);
122 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
164 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
166 await finish(HuksOptions, isEncrypt);
172 async function finish(HuksOptions, isEncrypt) { argument
183 if (isEncrypt) {
273 … publicCipherFunc(srcKeyAlies, genHuksOptionsNONECBC, HuksOptions, thirdInderfaceName, isEncrypt) { argument
276 if (isEncrypt) {
281 await publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt);
[all …]
DSecurityHuksSM2BasicCallbackJsunit.test.js258 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
261 await finish(HuksOptions, isEncrypt);
267 async function finish(HuksOptions, isEncrypt) { argument
272 if (isEncrypt) {
376 isEncrypt argument
382 if (isEncrypt) {
392 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
393 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
DSecurityHuksRSABasicCallbackJsunit.test.js237 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
240 await finish(HuksOptions, isEncrypt);
246 async function finish(HuksOptions, isEncrypt) { argument
350 isEncrypt argument
356 if (isEncrypt) {
366 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
367 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
DSecurityHuksSM4BasicCallbackJsunit.test.js112 async function publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
163 if (isEncrypt) {
280 isEncrypt argument
283 if (isEncrypt) {
288 await publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt);
289 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/cpp/napi/
Drdb_store_encrypt_test.cpp56 config_.isEncrypt = false; in InitRdbConfig()
67 config1_.isEncrypt = false; in InitRdbConfig1()
78 config2_.isEncrypt = true; in InitRdbConfig2()
89 config3_.isEncrypt = false; in InitRdbConfig3()
Drdb_store_level_test.cpp57 config1_.isEncrypt = false; in InitRdbConfig1()
68 config2_.isEncrypt = false; in InitRdbConfig2()
79 config3_.isEncrypt = false; in InitRdbConfig3()
90 config4_.isEncrypt = false; in InitRdbConfig4()
101 config_EL1.isEncrypt = false; in InitRdbConfig_EL1()
113 config_EL2.isEncrypt = false; in InitRdbConfig_EL2()
125 config_EL3.isEncrypt = false; in InitRdbConfig_EL3()
137 config_EL4.isEncrypt = false; in InitRdbConfig_EL4()
Drdb_store_backup_test.cpp51 config_.isEncrypt = false; in InitRdbConfig()
Drdb_store_test.cpp53 config_.isEncrypt = false; in InitRdbConfig()
1741 config2_.isEncrypt = false; in SUB_DDM_RDB_3200()
1775 config3_.isEncrypt = false; in SUB_DDM_RDB_3300()
Drdb_store_cursor_test.cpp51 config_.isEncrypt = false; in InitRdbConfig()
/test/xts/acts/security/security_huks_reformed_test/huks_cipher_promise_BasicTest/src/main/js/test/Cipher/
DSecurityHuksCipherSM2BasicPromiseJsunit.test.js181 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
184 await finish(HuksOptions, isEncrypt);
190 async function finish(HuksOptions, isEncrypt) { argument
196 if (isEncrypt) {
253 isEncrypt argument
259 if (isEncrypt) {
269 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
270 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
274 if (!isEncrypt) {
735 let isEncrypt = true;
[all …]
DSecurityHuksCipherAESBasicPromiseJsunit.test.js78 async function publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
85 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt, 0);
101 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
129 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
131 await finish(HuksOptions, isEncrypt);
137 async function finish(HuksOptions, isEncrypt) { argument
195 … publicCipherFunc(srcKeyAlies, genHuksOptionsNONECBC, HuksOptions, thirdInderfaceName, isEncrypt) { argument
198 if (isEncrypt) {
203 await publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt);
204 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
DSecurityHuksCipherRSABasicPromiseJsunit.test.js176 async function publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
179 await finish(HuksOptions, isEncrypt);
185 async function finish(HuksOptions, isEncrypt) { argument
191 if (isEncrypt) {
245 isEncrypt argument
251 if (isEncrypt) {
261 await publicFinishAbortFunc(HuksOptions, thirdInderfaceName, isEncrypt);
262 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
DSecurityHuksCipherSM4BasicPromiseJsunit.test.js80 async function publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt) { argument
132 if (isEncrypt) {
184 isEncrypt argument
187 if (isEncrypt) {
192 await publicUpdateFunc(HuksOptions, thirdInderfaceName, isEncrypt);
193 if (!isEncrypt || (isEncrypt && thirdInderfaceName == 'abort')) {
/test/xts/acts/security_lite/huks/common/
Dhks_test_aes.c36 …atic int32_t ConstructParamSetEncryptDecryptAesPre(uint32_t mode, uint32_t padding, bool isEncrypt, in ConstructParamSetEncryptDecryptAesPre() argument
75 if (isEncrypt) { in ConstructParamSetEncryptDecryptAesPre()
135 static int32_t ConstructParamSetEncryptDecryptAes(uint32_t mode, uint32_t padding, bool isEncrypt, in ConstructParamSetEncryptDecryptAes() argument
138 int32_t ret = ConstructParamSetEncryptDecryptAesPre(mode, padding, isEncrypt, paramSet); in ConstructParamSetEncryptDecryptAes()
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreNdktest/entry/src/main/cpp/
Drdb.cpp42 config.isEncrypt = false; in GetConfig()
141 config.isEncrypt = false; in GetOrOpenFour()

12