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/ |
D | hks_access_control_mac_test.cpp | 88 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 }, 99 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_SM3 },
|
D | hks_hmac_test.cpp | 242 .uint32Param = HKS_ALG_SM3 257 .uint32Param = HKS_ALG_SM3 301 .uint32Param = HKS_ALG_SM3 321 .uint32Param = HKS_ALG_SM3
|
D | hks_import_key_test.cpp | 222 { .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 },
|
D | hks_check_auth_part_test.cpp | 144 { .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()
|
D | hks_access_control_test_common.cpp | 722 } 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 | 71 (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 | 78 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()
|
D | hks_base_check.c | 590 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/ |
D | hks_type.h | 183 HKS_ALG_SM3 = 151, enumerator
|
/base/security/huks/interfaces/kits/napi/src/ |
D | huks_napi.cpp | 246 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 | 1004 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()
|
D | hks_core_service_three_stage.c | 232 } 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 | 271 ASSERT_EQ((uint32_t)OH_HUKS_ALG_SM3 == (uint32_t)HKS_ALG_SM3, true);
|