/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/ |
H A D | hks_ecc_sign_verify_part3_test.cpp | 159 .uint32Param = HKS_ECC_KEY_SIZE_521 174 .uint32Param = HKS_ECC_KEY_SIZE_521 189 .uint32Param = HKS_ECC_KEY_SIZE_521 205 .uint32Param = HKS_ECC_KEY_SIZE_521 220 .uint32Param = HKS_ECC_KEY_SIZE_521 235 .uint32Param = HKS_ECC_KEY_SIZE_521 251 .uint32Param = HKS_ECC_KEY_SIZE_521 266 .uint32Param = HKS_ECC_KEY_SIZE_521 281 .uint32Param = HKS_ECC_KEY_SIZE_521 298 .uint32Param = HKS_ECC_KEY_SIZE_521 [all …]
|
H A D | hks_ecdh_agree_part2_test.cpp | 35 .uint32Param = HKS_ECC_KEY_SIZE_521 \ 210 .uint32Param = HKS_ECC_KEY_SIZE_521 228 .uint32Param = HKS_ECC_KEY_SIZE_521 258 .uint32Param = HKS_ECC_KEY_SIZE_521 270 .uint32Param = HKS_ECC_KEY_SIZE_521 294 .uint32Param = HKS_ECC_KEY_SIZE_521 306 .uint32Param = HKS_ECC_KEY_SIZE_521 446 struct HksBlob publicKey01 = { .size = HKS_ECC_KEY_SIZE_521, .data = nullptr }; 447 struct HksBlob publicKey02 = { .size = HKS_ECC_KEY_SIZE_521, .data = nullptr }; 491 struct HksBlob publicKey01 = { .size = HKS_ECC_KEY_SIZE_521, .data = nullptr }; [all …]
|
H A D | hks_ecc_sign_verify_test_common.cpp | 89 uint8_t pubKey[HKS_ECC_KEY_SIZE_521] = {0}; in HksEccSignVerifyTestNormalCase() 90 struct HksBlob publicKey = { HKS_ECC_KEY_SIZE_521, pubKey }; in HksEccSignVerifyTestNormalCase()
|
H A D | hks_export_test.cpp | 185 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 },
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/ |
H A D | hks_check_paramset_test.cpp | 321 .xSize = HKS_ECC_KEY_SIZE_521, 322 .ySize = HKS_ECC_KEY_SIZE_521, 323 .zSize = HKS_ECC_KEY_SIZE_521, 340 materialEcc.xSize = HKS_ECC_KEY_SIZE_521 + 1; 344 materialEcc.xSize = HKS_ECC_KEY_SIZE_521; 345 materialEcc.ySize = HKS_ECC_KEY_SIZE_521 + 1; 349 materialEcc.ySize = HKS_ECC_KEY_SIZE_521; 350 materialEcc.zSize = HKS_ECC_KEY_SIZE_521 + 1; 354 materialEcc.zSize = HKS_ECC_KEY_SIZE_521; 359 materialEcc.xSize = HKS_ECC_KEY_SIZE_521; [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/ |
H A D | hks_attest_utils_test.cpp | 184 …PubKeyInfo info = { HKS_ALG_ECC, HKS_ECC_KEY_SIZE_384, HKS_ECC_KEY_SIZE_521, HKS_ECC_KEY_SIZE_521,… 201 …struct HksPubKeyInfo info = { HKS_ALG_ECC, HKS_ECC_KEY_SIZE_521, HKS_ECC_KEY_SIZE_521, HKS_ECC_KE…
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A D | hks_ecc_key_mt.cpp | 342 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 358 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 374 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 390 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 406 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 422 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 464 .size = HKS_ECC_KEY_SIZE_521, in RunTestCase() 465 .data = (uint8_t *)HksMalloc(HKS_ECC_KEY_SIZE_521) in RunTestCase()
|
H A D | hks_ecc_sign_mt.cpp | 344 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 361 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 377 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 394 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 410 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 426 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 736 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 752 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 768 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 784 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, [all …]
|
H A D | hks_ecc_verify_mt.cpp | 344 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 361 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 377 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 394 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 410 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 426 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 734 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 751 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 767 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 784 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, [all …]
|
H A D | hks_agree_mt.cpp | 170 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 180 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 268 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 277 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 362 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 }, 371 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_ECC_KEY_SIZE_521 },
|
H A D | openssl_ecc_helper.c | 43 case HKS_ECC_KEY_SIZE_521: in GetCurveId() 472 if ((keyLen == 0) || (keyLen > HKS_ECC_KEY_SIZE_521)) { in EcKeyToPublicKey()
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/ |
H A D | hks_crypto_hal_ecdsa_sign.cpp | 108 .keyLen = HKS_ECC_KEY_SIZE_521, 185 .keyLen = HKS_ECC_KEY_SIZE_521, 261 .keyLen = HKS_ECC_KEY_SIZE_521, 338 .keyLen = HKS_ECC_KEY_SIZE_521, 414 .keyLen = HKS_ECC_KEY_SIZE_521, 490 .keyLen = HKS_ECC_KEY_SIZE_521,
|
H A D | hks_crypto_hal_ecdh_agree.cpp | 92 .keyLen = HKS_ECC_KEY_SIZE_521, 97 .keyLen = HKS_ECC_KEY_SIZE_521,
|
H A D | hks_crypto_hal_ecc_key.cpp | 82 .keyLen = HKS_ECC_KEY_SIZE_521,
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
H A D | hks_mbedtls_ecc.c | 45 (keySize != HKS_ECC_KEY_SIZE_521)) { in HksMbedtlsEccCheckKeySize() 65 case HKS_ECC_KEY_SIZE_521: in GetEccGroupId() 77 const uint32_t maxKeyByteLen = HKS_KEY_BYTES(HKS_ECC_KEY_SIZE_521); in EccKeyMaterialXyzSizeCheck()
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_ecc.c | 42 (keyLen != HKS_ECC_KEY_SIZE_521)) { in HksOpensslEccCheckKeyLen() 61 case HKS_ECC_KEY_SIZE_521: in HksOpensslGetCurveId()
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
H A D | hks_import_sign_verify_test.cpp | 524 case HKS_ECC_KEY_SIZE_521: in ConstructEccPubKey() 713 case HKS_ECC_KEY_SIZE_521: in ConstructImportedEccKey() 1030 ImportPlainKeyTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_521, HKS_DIGEST_SHA224, false);
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/ |
H A D | hks_check_paramset.c | 539 … if ((keyMaterial->xSize > HKS_ECC_KEY_SIZE_521) || (keyMaterial->ySize > HKS_ECC_KEY_SIZE_521) || in CheckEccKeyLen() 540 (keyMaterial->zSize > HKS_ECC_KEY_SIZE_521)) { in CheckEccKeyLen()
|
H A D | hks_base_check.c | 163 HKS_ECC_KEY_SIZE_521 212 HKS_ECC_KEY_SIZE_521
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/ |
H A D | dcm_attest_utils.c | 106 case HKS_ECC_KEY_SIZE_521: in GetEcPublicKey()
|
/ohos5.0/base/security/huks/interfaces/inner_api/huks_standard/main/include/ |
H A D | hks_type_enum.h | 133 HKS_ECC_KEY_SIZE_521 = 521, enumerator
|
/ohos5.0/base/security/huks/utils/crypto_adapter/ |
H A D | hks_client_service_adapter_lite.c | 348 uint32_t maxKeyByteLen = HKS_ECC_KEY_SIZE_521 / HKS_BITS_PER_BYTE; in CheckEccXySize()
|
H A D | hks_client_service_adapter.c | 512 if ((keyLen == 0) || (keyLen > HKS_ECC_KEY_SIZE_521)) { in EcKeyToPublicKey()
|
/ohos5.0/base/security/huks/interfaces/kits/napi/src/ |
H A D | huks_napi.cpp | 228 AddInt32Property(env, keySize, "HUKS_ECC_KEY_SIZE_521", HKS_ECC_KEY_SIZE_521); in CreateHuksKeySize()
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/ |
H A D | hks_native_api_compatibility_test.cpp | 210 ASSERT_EQ((uint32_t)OH_HUKS_ECC_KEY_SIZE_521 == (uint32_t)HKS_ECC_KEY_SIZE_521, true);
|