/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_import_key_test.cpp | 90 { .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 …]
|
D | hks_aes_cipher_part3_test.cpp | 60 .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 …]
|
D | hks_access_control_mac_test.cpp | 59 { .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 },
|
D | hks_access_control_agree_test.cpp | 98 .uint32Param = HKS_AES_KEY_SIZE_256 155 .uint32Param = HKS_AES_KEY_SIZE_256 212 .uint32Param = HKS_AES_KEY_SIZE_256
|
D | hks_access_control_derive_test.cpp | 111 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 }, 123 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_256 },
|
D | hks_ecdh_agree_part1_test.cpp | 111 .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
|
D | hks_hkdf_derive_part2_test.cpp | 249 .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
|
D | hks_import_wrapped_test_common.cpp | 31 {.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()
|
D | hks_import_wrapped_ecdh_suite_test.cpp | 93 {.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/ |
D | hks_dh_agree_test.h | 80 .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/ |
D | hks_test_cipher.c | 35 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 …]
|
D | hks_derive_test.cpp | 65 true, HKS_AES_KEY_SIZE_256, 92 true, HKS_AES_KEY_SIZE_256,
|
/base/security/huks/test/unittest/huks_lite_test/common/ |
D | hks_test_cipher.c | 35 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/ |
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()
|
D | hks_upgrade_key_info.c | 239 …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/ |
D | hks_derive_test.c | 68 true, HKS_AES_KEY_SIZE_256, 95 true, HKS_AES_KEY_SIZE_256,
|
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/ |
D | hks_derive_test.cpp | 66 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/ |
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()
|
D | hks_aes_key_mt.cpp | 293 { .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 },
|
D | hks_aes_decrypt_mt.cpp | 304 { .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 },
|
D | hks_aes_cipher_mt.cpp | 302 { .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 },
|
D | hks_aes_encrypt_mt.cpp | 302 { .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/ |
D | hks_crypto_hal_aes_key.cpp | 66 .keyLen = HKS_AES_KEY_SIZE_256,
|
D | hks_crypto_hal_aes_cipher.cpp | 345 .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/ |
D | hks_client_service_adapter_common.c | 95 (key->size != HKS_KEY_BYTES(HKS_AES_KEY_SIZE_256))) { in GetHksPubKeyInnerFormat()
|