Home
last modified time | relevance | path

Searched refs:HKS_ECC_KEY_SIZE_521 (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
H A Dhks_ecc_sign_verify_part3_test.cpp159 .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 Dhks_ecdh_agree_part2_test.cpp35 .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 Dhks_ecc_sign_verify_test_common.cpp89 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 Dhks_export_test.cpp185 { .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 Dhks_check_paramset_test.cpp321 .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 Dhks_attest_utils_test.cpp184 …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 Dhks_ecc_key_mt.cpp342 { .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 Dhks_ecc_sign_mt.cpp344 { .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 Dhks_ecc_verify_mt.cpp344 { .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 Dhks_agree_mt.cpp170 { .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 Dopenssl_ecc_helper.c43 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 Dhks_crypto_hal_ecdsa_sign.cpp108 .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 Dhks_crypto_hal_ecdh_agree.cpp92 .keyLen = HKS_ECC_KEY_SIZE_521,
97 .keyLen = HKS_ECC_KEY_SIZE_521,
H A Dhks_crypto_hal_ecc_key.cpp82 .keyLen = HKS_ECC_KEY_SIZE_521,
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_ecc.c45 (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 Dhks_openssl_ecc.c42 (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 Dhks_import_sign_verify_test.cpp524 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 Dhks_check_paramset.c539 … 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 Dhks_base_check.c163 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 Ddcm_attest_utils.c106 case HKS_ECC_KEY_SIZE_521: in GetEcPublicKey()
/ohos5.0/base/security/huks/interfaces/inner_api/huks_standard/main/include/
H A Dhks_type_enum.h133 HKS_ECC_KEY_SIZE_521 = 521, enumerator
/ohos5.0/base/security/huks/utils/crypto_adapter/
H A Dhks_client_service_adapter_lite.c348 uint32_t maxKeyByteLen = HKS_ECC_KEY_SIZE_521 / HKS_BITS_PER_BYTE; in CheckEccXySize()
H A Dhks_client_service_adapter.c512 if ((keyLen == 0) || (keyLen > HKS_ECC_KEY_SIZE_521)) { in EcKeyToPublicKey()
/ohos5.0/base/security/huks/interfaces/kits/napi/src/
H A Dhuks_napi.cpp228 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 Dhks_native_api_compatibility_test.cpp210 ASSERT_EQ((uint32_t)OH_HUKS_ECC_KEY_SIZE_521 == (uint32_t)HKS_ECC_KEY_SIZE_521, true);

12