/ohos5.0/base/security/huks/test/unittest/huks_common_test/include/ |
H A D | hks_test_cipher_c.h | 39 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 D | hks_derive_test_c.h | 34 true, HKS_AES_KEY_SIZE_256, 61 true, HKS_AES_KEY_SIZE_256,
|
H A D | hks_aes_cipher_part_test_c.h | 75 .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 D | hks_aes_cipher_part3_test.cpp | 66 .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 D | hks_import_key_test.cpp | 98 .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 D | hks_access_control_mac_test.cpp | 64 { .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 D | hks_hmac_derive_part1_test.cpp | 105 .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 D | hks_access_control_derive_test.cpp | 100 .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 D | hks_hmac_derive_part2_test.cpp | 99 .uint32Param = HKS_AES_KEY_SIZE_256 112 .uint32Param = HKS_AES_KEY_SIZE_256 161 .uint32Param = HKS_AES_KEY_SIZE_256
|
H A D | hks_hkdf_derive_part2_test.cpp | 266 .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 D | hks_hkdf_derive_part1_test.cpp | 104 .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 D | hks_agree_test_common.cpp | 54 .uint32Param = HKS_AES_KEY_SIZE_256 68 .uint32Param = HKS_AES_KEY_SIZE_256
|
H A D | hks_pbkdf2_derive_part1_test.cpp | 117 .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 D | hks_import_wrapped_test_common.cpp | 32 {.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 D | hks_core_service_key_other.c | 103 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 D | hks_keyblob_lite.c | 69 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 D | hks_dh_agree_test.h | 66 .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 D | hks_struct_macro_def.h | 25 {.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 D | huks_wrapper.c | 105 { .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 D | keystore_adapter_impl.cpp | 77 .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 D | openssl_aes_helper.c | 60 } 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 D | hks_aes_cipher_mt.cpp | 310 { .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 D | hks_aes_decrypt_mt.cpp | 332 { .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 D | hks_aes_encrypt_mt.cpp | 306 { .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 D | hks_aes_key_mt.cpp | 297 { .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 },
|