Home
last modified time | relevance | path

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

123

/ohos5.0/base/security/huks/test/unittest/huks_common_test/include/
H A Dhks_test_cipher_c.h39 true, HKS_AES_KEY_SIZE_256,
80 true, HKS_AES_KEY_SIZE_256,
122 true, HKS_AES_KEY_SIZE_256,
149 true, HKS_AES_KEY_SIZE_256,
176 true, HKS_AES_KEY_SIZE_256,
203 true, HKS_AES_KEY_SIZE_256,
230 true, HKS_AES_KEY_SIZE_256,
259 true, HKS_AES_KEY_SIZE_256,
286 true, HKS_AES_KEY_SIZE_256,
313 true, HKS_AES_KEY_SIZE_256,
[all …]
H A Dhks_derive_test_c.h34 true, HKS_AES_KEY_SIZE_256,
61 true, HKS_AES_KEY_SIZE_256,
H A Dhks_aes_cipher_part_test_c.h75 .uint32Param = HKS_AES_KEY_SIZE_256 \
117 .uint32Param = HKS_AES_KEY_SIZE_256 \
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
H A Dhks_aes_cipher_part3_test.cpp66 .uint32Param = HKS_AES_KEY_SIZE_256
84 .uint32Param = HKS_AES_KEY_SIZE_256
111 .uint32Param = HKS_AES_KEY_SIZE_256
139 .uint32Param = HKS_AES_KEY_SIZE_256
157 .uint32Param = HKS_AES_KEY_SIZE_256
184 .uint32Param = HKS_AES_KEY_SIZE_256
212 .uint32Param = HKS_AES_KEY_SIZE_256
252 .uint32Param = HKS_AES_KEY_SIZE_256
266 .uint32Param = HKS_AES_KEY_SIZE_256
284 .uint32Param = HKS_AES_KEY_SIZE_256
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_import_key_test.cpp98 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
113 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
127 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
142 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
155 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
169 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
182 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
196 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
209 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
248 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
[all …]
H A Dhks_access_control_mac_test.cpp64 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
76 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
95 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
106 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
238 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
H A Dhks_hmac_derive_part1_test.cpp105 .uint32Param = HKS_AES_KEY_SIZE_256
121 .uint32Param = HKS_AES_KEY_SIZE_256
160 .uint32Param = HKS_AES_KEY_SIZE_256
173 .uint32Param = HKS_AES_KEY_SIZE_256
225 .uint32Param = HKS_AES_KEY_SIZE_256
277 .uint32Param = HKS_AES_KEY_SIZE_256
316 .uint32Param = HKS_AES_KEY_SIZE_256
329 .uint32Param = HKS_AES_KEY_SIZE_256
381 .uint32Param = HKS_AES_KEY_SIZE_256
420 .uint32Param = HKS_AES_KEY_SIZE_256
H A Dhks_access_control_derive_test.cpp100 .uint32Param = HKS_AES_KEY_SIZE_256
113 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
125 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
153 .uint32Param = HKS_AES_KEY_SIZE_256
H A Dhks_hmac_derive_part2_test.cpp99 .uint32Param = HKS_AES_KEY_SIZE_256
112 .uint32Param = HKS_AES_KEY_SIZE_256
161 .uint32Param = HKS_AES_KEY_SIZE_256
H A Dhks_hkdf_derive_part2_test.cpp266 .uint32Param = HKS_AES_KEY_SIZE_256
296 .uint32Param = HKS_AES_KEY_SIZE_256
326 .uint32Param = HKS_AES_KEY_SIZE_256
356 .uint32Param = HKS_AES_KEY_SIZE_256
386 .uint32Param = HKS_AES_KEY_SIZE_256
418 .uint32Param = HKS_AES_KEY_SIZE_256
446 .uint32Param = HKS_AES_KEY_SIZE_256
477 .uint32Param = HKS_AES_KEY_SIZE_256
547 .uint32Param = HKS_AES_KEY_SIZE_256
H A Dhks_hkdf_derive_part1_test.cpp104 .uint32Param = HKS_AES_KEY_SIZE_256
209 .uint32Param = HKS_AES_KEY_SIZE_256
282 .uint32Param = HKS_AES_KEY_SIZE_256
315 .uint32Param = HKS_AES_KEY_SIZE_256
334 .uint32Param = HKS_AES_KEY_SIZE_256
H A Dhks_agree_test_common.cpp54 .uint32Param = HKS_AES_KEY_SIZE_256
68 .uint32Param = HKS_AES_KEY_SIZE_256
H A Dhks_pbkdf2_derive_part1_test.cpp117 .uint32Param = HKS_AES_KEY_SIZE_256
177 .uint32Param = HKS_AES_KEY_SIZE_256
195 .uint32Param = HKS_AES_KEY_SIZE_256
237 .uint32Param = HKS_AES_KEY_SIZE_256
378 .uint32Param = HKS_AES_KEY_SIZE_256
H A Dhks_import_wrapped_test_common.cpp32 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256},
47 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256},
239 … struct HksBlob outSharedKey = { .size = HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), .data = nullptr }; in HksImportWrappedKeyTestCommonCase()
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_key_other.c103 uint8_t keyBuf[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256)] = {0}; in GetMacKey()
104 struct HksBlob mk = { HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), keyBuf }; in GetMacKey()
114 …struct HksKeySpec derivationSpec = { HKS_ALG_PBKDF2, HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), &derPara… in GetMacKey()
126 uint8_t keyBuf[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256)] = {0}; in HksCoreCalcMacHeader()
127 struct HksBlob macKey = { HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), keyBuf }; in HksCoreCalcMacHeader()
H A Dhks_keyblob_lite.c69 uint8_t keyBuf[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256)] = {0}; in GetDeriveMaterial()
70 struct HksBlob mk = { HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), keyBuf }; in GetDeriveMaterial()
88 …struct HksKeySpec derivationSpec = { HKS_ALG_PBKDF2, HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), &derPara… in GetDeriveMaterial()
152 uint8_t kekBuf[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256)] = {0}; in EncryptAndDecryptKeyBlob()
153 struct HksBlob kek = { HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), kekBuf }; in EncryptAndDecryptKeyBlob()
162 …(void)memset_s(kekBuf, HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), 0, HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256)… in EncryptAndDecryptKeyBlob()
178 …(void)memset_s(kekBuf, HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), 0, HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256)… in EncryptAndDecryptKeyBlob()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/asymmetric_alg_test/
H A Dhks_dh_agree_test.h66 .uint32Param = HKS_AES_KEY_SIZE_256
91 .uint32Param = HKS_AES_KEY_SIZE_256
144 .uint32Param = HKS_AES_KEY_SIZE_256
169 .uint32Param = HKS_AES_KEY_SIZE_256
222 .uint32Param = HKS_AES_KEY_SIZE_256
247 .uint32Param = HKS_AES_KEY_SIZE_256
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
H A Dhks_struct_macro_def.h25 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256}, \
31 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256}, \
38 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256}, \
/ohos5.0/base/security/asset/services/crypto_manager/src/
H A Dhuks_wrapper.c105 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 }, in AddCommonGenParams()
223 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 }, in EncryptData()
263 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 }, in DecryptData()
299 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 }, in InitKey()
327 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 }, in ExecCrypt()
/ohos5.0/base/web/webview/ohos_adapter/keystore_adapter/src/
H A Dkeystore_adapter_impl.cpp77 .uint32Param = HKS_AES_KEY_SIZE_256
96 .uint32Param = HKS_AES_KEY_SIZE_256
121 .uint32Param = HKS_AES_KEY_SIZE_256
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dopenssl_aes_helper.c60 } else if (keyLen == HKS_AES_KEY_SIZE_256) { in AesCbcCrypt()
72 } else if (keyLen == HKS_AES_KEY_SIZE_256) { in AesEcbCrypt()
84 } else if (keyLen == HKS_AES_KEY_SIZE_256) { in AesCtrCrypt()
96 } else if (keyLen == HKS_AES_KEY_SIZE_256) { in AesGcmCrypt()
H A Dhks_aes_cipher_mt.cpp310 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
330 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
350 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
371 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
391 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
417 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
H A Dhks_aes_decrypt_mt.cpp332 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
354 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
376 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
399 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
421 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
450 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
H A Dhks_aes_encrypt_mt.cpp306 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
326 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
346 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
367 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
387 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
413 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
H A Dhks_aes_key_mt.cpp297 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
317 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
337 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
358 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
378 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
399 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },

123