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/ |
D | hks_access_control_mac_test.cpp | 98 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 }, 109 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
|
D | hks_hmac_test.cpp | 254 .uint32Param = HKS_ALG_SM3 269 .uint32Param = HKS_ALG_SM3 313 .uint32Param = HKS_ALG_SM3 333 .uint32Param = HKS_ALG_SM3
|
D | hks_import_key_test.cpp | 235 { .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 },
|
D | hks_check_auth_part_test.cpp | 154 { .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()
|
D | hks_access_control_test_common.cpp | 874 } else if (algParam->uint32Param == HKS_ALG_HMAC || algParam->uint32Param == HKS_ALG_SM3 || in GenParamSetAuthTest()
|
/base/security/huks/utils/crypto_adapter/ |
D | hks_client_service_adapter_common.c | 100 case HKS_ALG_SM3: in GetHksPubKeyInnerFormat()
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_ability.c | 72 (void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_SM3), HksOpensslSm3GenerateKey); in RegisterAbilityGenerateKey()
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_check_paramset.c | 76 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()
|
D | hks_base_check.c | 603 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/ |
D | hks_type.h | 218 HKS_ALG_SM3 = 151, enumerator
|
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/ |
D | hks_core_service_test.cpp | 398 {.tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3},
|
/base/security/huks/interfaces/kits/napi/src/ |
D | huks_napi.cpp | 253 AddInt32Property(env, keyAlg, "HUKS_ALG_SM3", HKS_ALG_SM3); in CreateHuksKeyAlg()
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_core_service.c | 1027 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()
|
D | hks_core_service_three_stage.c | 237 } else if (algParam->uint32Param == HKS_ALG_SM3) { in HmacAuth()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/ |
D | hks_native_api_compatibility_test.cpp | 274 ASSERT_EQ((uint32_t)OH_HUKS_ALG_SM3 == (uint32_t)HKS_ALG_SM3, true);
|