Home
last modified time | relevance | path

Searched refs:HKS_ALG_SM3 (Results 1 – 15 of 15) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_access_control_mac_test.cpp98 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
109 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
Dhks_hmac_test.cpp254 .uint32Param = HKS_ALG_SM3
269 .uint32Param = HKS_ALG_SM3
313 .uint32Param = HKS_ALG_SM3
333 .uint32Param = HKS_ALG_SM3
Dhks_import_key_test.cpp235 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
248 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
374 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
401 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
470 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
Dhks_check_auth_part_test.cpp154 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
165 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
311 } else if (algParam->uint32Param == HKS_ALG_HMAC || algParam->uint32Param == HKS_ALG_SM3 || in getParamSetAuthTest()
Dhks_access_control_test_common.cpp874 } else if (algParam->uint32Param == HKS_ALG_HMAC || algParam->uint32Param == HKS_ALG_SM3 || in GenParamSetAuthTest()
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_common.c100 case HKS_ALG_SM3: in GetHksPubKeyInnerFormat()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_ability.c72 (void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_SM3), HksOpensslSm3GenerateKey); in RegisterAbilityGenerateKey()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_check_paramset.c76 HKS_ALG_SM3,
115 HKS_ALG_SM3,
308 if (alg != HKS_ALG_AES && alg != HKS_ALG_HMAC && alg != HKS_ALG_SM3 && alg != HKS_ALG_SM4) { in CheckGenKeyMacDeriveParams()
743 …if ((alg == HKS_ALG_AES) || (alg == HKS_ALG_SM3) || (alg == HKS_ALG_SM4) || (alg == HKS_ALG_HMAC))… in HksCoreCheckImportKeyParams()
Dhks_base_check.c603 HKS_ALG_SM3,
968 case HKS_ALG_SM3: in InitInputParamsByAlg()
1032 case HKS_ALG_SM3: in GetExpectParams()
1614 if (alg != HKS_ALG_AES && alg != HKS_ALG_HMAC && alg != HKS_ALG_SM3) { in HksCheckOptionalParam()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h218 HKS_ALG_SM3 = 151, enumerator
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
Dhks_core_service_test.cpp398 {.tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3},
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp253 AddInt32Property(env, keyAlg, "HUKS_ALG_SM3", HKS_ALG_SM3); in CreateHuksKeyAlg()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service.c1027 case HKS_ALG_SM3: in GetPrivateOrPairInnerFormat()
1393 …if (*alg == HKS_ALG_HMAC || *alg == HKS_ALG_SM3 || *pur == HKS_KEY_PURPOSE_SIGN || *pur == HKS_KEY… in GetPurposeAndAlgorithm()
Dhks_core_service_three_stage.c237 } else if (algParam->uint32Param == HKS_ALG_SM3) { in HmacAuth()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp274 ASSERT_EQ((uint32_t)OH_HUKS_ALG_SM3 == (uint32_t)HKS_ALG_SM3, true);