Home
last modified time | relevance | path

Searched refs:HKS_SM2_KEY_SIZE_256 (Results 1 – 16 of 16) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_sm2_sign_verify_test.cpp71 .uint32Param = HKS_SM2_KEY_SIZE_256
112 .uint32Param = HKS_SM2_KEY_SIZE_256
132 .uint32Param = HKS_SM2_KEY_SIZE_256
153 .uint32Param = HKS_SM2_KEY_SIZE_256
170 .uint32Param = HKS_SM2_KEY_SIZE_256
211 .uint32Param = HKS_SM2_KEY_SIZE_256
231 .uint32Param = HKS_SM2_KEY_SIZE_256
252 .uint32Param = HKS_SM2_KEY_SIZE_256
272 .uint32Param = HKS_SM2_KEY_SIZE_256
313 .uint32Param = HKS_SM2_KEY_SIZE_256
[all …]
Dhks_import_wrapped_sm2_suite_test.cpp70 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256},
77 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256},
83 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256},
90 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256},
200 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256 },
415 huksPublicKey->size = HKS_SM2_KEY_SIZE_256; in GenerateAndExportHuksPublicKey()
919 int32_t ret = ConstructImportedSm2Key(HKS_SM2_KEY_SIZE_256, HKS_KEY_TYPE_PRIVATE_KEY, &key);
957 int32_t ret = ConstructImportedSm2Key(HKS_SM2_KEY_SIZE_256, HKS_KEY_TYPE_PUBLIC_KEY, &key);
993 int32_t ret = ConstructImportedSm2Key(HKS_SM2_KEY_SIZE_256, HKS_KEY_TYPE_KEY_PAIR, &key);
Dhks_import_key_test.cpp641 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256 },
645 .keySize = HKS_SM2_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
669 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256 },
673 .keySize = HKS_SM2_KEY_SIZE_256 / HKS_BITS_PER_BYTE,
Dhks_sm4_cipher_part_test.cpp487 .uint32Param = HKS_SM2_KEY_SIZE_256
572 .uint32Param = HKS_SM2_KEY_SIZE_256
657 .uint32Param = HKS_SM2_KEY_SIZE_256
Dhks_check_auth_part_test.cpp156 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256 },
167 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256 },
Dhks_import_sign_verify_test.cpp1113 ImportPlainKeyTest(HKS_ALG_SM2, HKS_SM2_KEY_SIZE_256, HKS_DIGEST_SM3, false);
1148 ImportPlainKeyTest(HKS_ALG_SM2, HKS_SM2_KEY_SIZE_256, HKS_DIGEST_SM3, true);
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_sm2.c116 if (spec->keyLen != HKS_SM2_KEY_SIZE_256) { in HksOpensslSm2GenerateKey()
158 if ((keyMaterial->keySize != HKS_SM2_KEY_SIZE_256) || in GetSm2Modules()
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
Ddcm_attest_utils.c225 if (info->keySize != HKS_SM2_KEY_SIZE_256) { in GetSm2PublicKey()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_export_test.cpp255 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256 },
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_sm_import_wrap_key.c133 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256 }, in AddDecryptKeyParamSetFromUnwrapSuite()
275 {.tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_SM2_KEY_SIZE_256}, in VerifyKekBySm2()
Dhks_core_service.c546 keySize = HKS_SM2_KEY_SIZE_256; in AddAgreeKeyParamSetFromUnwrapSuite()
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter.c233 …if (keySize != HKS_SM2_KEY_SIZE_256 || x->size > HKS_KEY_BYTES(keySize) || y->size > HKS_KEY_BYTES… in ConstructSm2ParamsFromRawPubKey()
720 if (keyLen != HKS_SM2_KEY_SIZE_256) { in X509PublicKeyToSm2()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h194 HKS_SM2_KEY_SIZE_256 = 256, enumerator
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp227 AddInt32Property(env, keySize, "HUKS_SM2_KEY_SIZE_256", HKS_SM2_KEY_SIZE_256); in CreateHuksKeySize()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp220 ASSERT_EQ((uint32_t)OH_HUKS_SM2_KEY_SIZE_256 == (uint32_t)HKS_SM2_KEY_SIZE_256, true);
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c170 HKS_SM2_KEY_SIZE_256