Home
last modified time | relevance | path

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

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_access_control_mac_test.cpp88 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
99 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
Dhks_hmac_test.cpp242 .uint32Param = HKS_ALG_SM3
257 .uint32Param = HKS_ALG_SM3
301 .uint32Param = HKS_ALG_SM3
321 .uint32Param = HKS_ALG_SM3
Dhks_import_key_test.cpp222 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
235 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
359 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
386 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
455 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
Dhks_check_auth_part_test.cpp144 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
155 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
301 } else if (algParam->uint32Param == HKS_ALG_HMAC || algParam->uint32Param == HKS_ALG_SM3 || in getParamSetAuthTest()
Dhks_access_control_test_common.cpp722 } 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.c71 (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.c78 HKS_ALG_SM3,
114 HKS_ALG_SM3,
289 if (alg != HKS_ALG_AES && alg != HKS_ALG_HMAC && alg != HKS_ALG_SM3) { in CheckGenKeyMacDeriveParams()
724 …if ((alg == HKS_ALG_AES) || (alg == HKS_ALG_SM3) || (alg == HKS_ALG_SM4) || (alg == HKS_ALG_HMAC))… in HksCoreCheckImportKeyParams()
Dhks_base_check.c590 HKS_ALG_SM3,
880 case HKS_ALG_SM3: in InitInputParamsByAlg()
946 case HKS_ALG_SM3: in GetExpectParams()
1523 if (alg != HKS_ALG_AES && alg != HKS_ALG_HMAC && alg != HKS_ALG_SM3) { in HksCheckOptionalParam()
/base/security/huks/interfaces/innerkits/huks_standard/main/include/
Dhks_type.h183 HKS_ALG_SM3 = 151, enumerator
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp246 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.c1004 case HKS_ALG_SM3: in GetPrivateOrPairInnerFormat()
1345 …if (*alg == HKS_ALG_HMAC || *alg == HKS_ALG_SM3 || *pur == HKS_KEY_PURPOSE_SIGN || *pur == HKS_KEY… in GetPurposeAndAlgorithm()
Dhks_core_service_three_stage.c232 } 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.cpp271 ASSERT_EQ((uint32_t)OH_HUKS_ALG_SM3 == (uint32_t)HKS_ALG_SM3, true);