Home
last modified time | relevance | path

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

123

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_import_key_test.cpp90 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
94 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
104 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
108 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
118 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
122 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
132 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
136 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
146 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
149 .keySize = HKS_AES_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
[all …]
Dhks_aes_cipher_part3_test.cpp60 .uint32Param = HKS_AES_KEY_SIZE_256
78 .uint32Param = HKS_AES_KEY_SIZE_256
105 .uint32Param = HKS_AES_KEY_SIZE_256
133 .uint32Param = HKS_AES_KEY_SIZE_256
151 .uint32Param = HKS_AES_KEY_SIZE_256
178 .uint32Param = HKS_AES_KEY_SIZE_256
206 .uint32Param = HKS_AES_KEY_SIZE_256
224 .uint32Param = HKS_AES_KEY_SIZE_256
263 .uint32Param = HKS_AES_KEY_SIZE_256
304 .uint32Param = HKS_AES_KEY_SIZE_256
[all …]
Dhks_access_control_mac_test.cpp59 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
71 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
90 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
101 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
Dhks_access_control_agree_test.cpp98 .uint32Param = HKS_AES_KEY_SIZE_256
155 .uint32Param = HKS_AES_KEY_SIZE_256
212 .uint32Param = HKS_AES_KEY_SIZE_256
Dhks_access_control_derive_test.cpp111 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
123 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
Dhks_ecdh_agree_part1_test.cpp111 .uint32Param = HKS_AES_KEY_SIZE_256
153 .uint32Param = HKS_AES_KEY_SIZE_256
233 .uint32Param = HKS_AES_KEY_SIZE_256
275 .uint32Param = HKS_AES_KEY_SIZE_256
355 .uint32Param = HKS_AES_KEY_SIZE_256
397 .uint32Param = HKS_AES_KEY_SIZE_256
477 .uint32Param = HKS_AES_KEY_SIZE_256
519 .uint32Param = HKS_AES_KEY_SIZE_256
Dhks_hkdf_derive_part2_test.cpp249 .uint32Param = HKS_AES_KEY_SIZE_256
279 .uint32Param = HKS_AES_KEY_SIZE_256
309 .uint32Param = HKS_AES_KEY_SIZE_256
339 .uint32Param = HKS_AES_KEY_SIZE_256
369 .uint32Param = HKS_AES_KEY_SIZE_256
401 .uint32Param = HKS_AES_KEY_SIZE_256
Dhks_import_wrapped_test_common.cpp31 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256},
46 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256},
238 … struct HksBlob outSharedKey = { .size = HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), .data = nullptr }; in HksImportWrappedKeyTestCommonCase()
Dhks_import_wrapped_ecdh_suite_test.cpp93 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256},
287 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256},
295 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256},
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_dh_agree_test.h80 .uint32Param = HKS_AES_KEY_SIZE_256
122 .uint32Param = HKS_AES_KEY_SIZE_256
192 .uint32Param = HKS_AES_KEY_SIZE_256
234 .uint32Param = HKS_AES_KEY_SIZE_256
304 .uint32Param = HKS_AES_KEY_SIZE_256
346 .uint32Param = HKS_AES_KEY_SIZE_256
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_cipher.c35 true, HKS_AES_KEY_SIZE_256,
82 true, HKS_AES_KEY_SIZE_256,
125 true, HKS_AES_KEY_SIZE_256,
154 true, HKS_AES_KEY_SIZE_256,
183 true, HKS_AES_KEY_SIZE_256,
211 true, HKS_AES_KEY_SIZE_256,
240 true, HKS_AES_KEY_SIZE_256,
270 true, HKS_AES_KEY_SIZE_256,
299 true, HKS_AES_KEY_SIZE_256,
328 true, HKS_AES_KEY_SIZE_256,
[all …]
Dhks_derive_test.cpp65 true, HKS_AES_KEY_SIZE_256,
92 true, HKS_AES_KEY_SIZE_256,
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_cipher.c35 true, HKS_AES_KEY_SIZE_256,
82 true, HKS_AES_KEY_SIZE_256,
125 true, HKS_AES_KEY_SIZE_256,
154 true, HKS_AES_KEY_SIZE_256,
183 true, HKS_AES_KEY_SIZE_256,
211 true, HKS_AES_KEY_SIZE_256,
240 true, HKS_AES_KEY_SIZE_256,
270 true, HKS_AES_KEY_SIZE_256,
299 true, HKS_AES_KEY_SIZE_256,
328 true, HKS_AES_KEY_SIZE_256,
[all …]
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
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()
Dhks_upgrade_key_info.c239 …struct HksKeySpec derivationSpec = { HKS_ALG_PBKDF2, HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256), &derPara… in GetKek()
241 kek->size = HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256); in GetKek()
353 if (rawKey->size != HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256)) { in ConvertToNewFormat()
439 spec->keySize = HKS_AES_KEY_SIZE_256; in TranslateToNewValue()
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_derive_test.c68 true, HKS_AES_KEY_SIZE_256,
95 true, HKS_AES_KEY_SIZE_256,
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
Dhks_derive_test.cpp66 true, HKS_AES_KEY_SIZE_256,
93 true, HKS_AES_KEY_SIZE_256,
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
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()
Dhks_aes_key_mt.cpp293 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
313 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
333 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
353 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
373 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
393 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
Dhks_aes_decrypt_mt.cpp304 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
324 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
344 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
364 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
384 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
410 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
Dhks_aes_cipher_mt.cpp302 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
322 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
342 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
362 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
382 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
407 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
Dhks_aes_encrypt_mt.cpp302 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
322 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
342 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
362 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
382 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
407 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_aes_key.cpp66 .keyLen = HKS_AES_KEY_SIZE_256,
Dhks_crypto_hal_aes_cipher.cpp345 .keyLen = HKS_AES_KEY_SIZE_256,
366 .keyLen = HKS_AES_KEY_SIZE_256,
389 .keyLen = HKS_AES_KEY_SIZE_256,
410 .keyLen = HKS_AES_KEY_SIZE_256,
431 .keyLen = HKS_AES_KEY_SIZE_256,
459 .keyLen = HKS_AES_KEY_SIZE_256,
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_common.c95 (key->size != HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256))) { in GetHksPubKeyInnerFormat()

123