Home
last modified time | relevance | path

Searched refs:HKS_DIGEST_SM3 (Results 1 – 22 of 22) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_sm2_sign_verify_test.cpp77 .uint32Param = HKS_DIGEST_SM3
98 .uint32Param = HKS_DIGEST_SM3
138 .uint32Param = HKS_DIGEST_SM3
176 .uint32Param = HKS_DIGEST_SM3
197 .uint32Param = HKS_DIGEST_SM3
237 .uint32Param = HKS_DIGEST_SM3
278 .uint32Param = HKS_DIGEST_SM3
299 .uint32Param = HKS_DIGEST_SM3
339 .uint32Param = HKS_DIGEST_SM3
Dhks_access_control_mac_test.cpp101 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
112 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
Dhks_hmac_test.cpp232 .uint32Param = HKS_DIGEST_SM3
247 .uint32Param = HKS_DIGEST_SM3
260 .uint32Param = HKS_DIGEST_SM3
275 .uint32Param = HKS_DIGEST_SM3
300 .uint32Param = HKS_DIGEST_SM3
Dhks_import_wrapped_sm2_suite_test.cpp78 {.tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3}};
84 {.tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3},
112 {.tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3},
124 .uint32Param = HKS_DIGEST_SM3},
138 .uint32Param = HKS_DIGEST_SM3},
152 .uint32Param = HKS_DIGEST_SM3}};
194 {.tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3},
202 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
Dhks_import_key_test.cpp238 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
251 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
377 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
473 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
642 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
670 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
Dhks_check_auth_part_test.cpp157 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
168 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
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_hmac.c76 (alg != HKS_DIGEST_SHA384) && (alg != HKS_DIGEST_SHA512) && (alg != HKS_DIGEST_SM3)) { in HmacCheckParam()
99 if (digestAlg == HKS_DIGEST_SM3) { in HksOpensslHmac()
117 …stAlg != HKS_DIGEST_SHA384) && (digestAlg != HKS_DIGEST_SHA512) && (digestAlg != HKS_DIGEST_SM3)) { in HksOpensslHmacInit()
123 if (digestAlg == HKS_DIGEST_SM3) { in HksOpensslHmacInit()
Dhks_openssl_hash.c56 case HKS_DIGEST_SM3: in CheckDigestAlg()
97 if (alg == HKS_DIGEST_SM3) { in HksOpensslHashInit()
Dhks_openssl_kdf.c155 if (HksOpensslHash(HKS_DIGEST_SM3, &inputHashBlob, &cdgstBlob) != HKS_SUCCESS) { in HksOpensslSmKdf()
Dhks_openssl_engine.c145 case HKS_DIGEST_SM3: in GetOpensslAlg()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/crypto_engine_test/src/
Dhks_openssl_hash_test.cpp196 int32_t ret = HksOpensslHashInit(&ctx, HKS_DIGEST_SM3);
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_sm3_cipher.cpp53 .digestAlg = HKS_DIGEST_SM3 in RunTestCase()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_sm_import_wrap_key.c276 {.tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3}, in VerifyKekBySm2()
308 ret = HksCryptoHalHash(HKS_DIGEST_SM3, &dataParams->kekData, &message); in VerifyKekBySm2()
326 .digestAlg = HKS_DIGEST_SM3, in DeriveKeyBySm3()
387 ret = HksCryptoHalHmac(&dataParams->deriveKekData2, HKS_DIGEST_SM3, kEncData, &mac); in CompareWrapKeyHmac()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_common_check.c123 case HKS_DIGEST_SM3: in HksGetDigestLen()
Dhks_check_paramset.c218 HKS_DIGEST_SM3
226 HKS_DIGEST_SM3
Dhks_base_check.c174 HKS_DIGEST_SM3,
185 HKS_DIGEST_SM3
220 HKS_DIGEST_SM3
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_export_test.cpp257 { .tag = HKS_TAG_DIGEST, .uint32Param = HKS_DIGEST_SM3 },
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h135 HKS_DIGEST_SM3 = 2, enumerator
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
Ddcm_attest.c889 usageSpec.digest = HKS_DIGEST_SM3; in SignTbs()
956 … if ((attetUsageSpec->digest != HKS_DIGEST_SHA256) && (attetUsageSpec->digest != HKS_DIGEST_SM3)) { in InsertSignatureGroupClaim()
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp497 AddInt32Property(env, keyDisgest, "HUKS_DIGEST_SM3", HKS_DIGEST_SM3); in CreateHuksKeyDigest()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp70 ASSERT_EQ((uint32_t)OH_HUKS_DIGEST_SM3 == (uint32_t)HKS_DIGEST_SM3, true);