Home
last modified time | relevance | path

Searched refs:HKS_IF_NOT_SUCC_BREAK (Results 1 – 23 of 23) sorted by relevance

/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_ecdsa.c71 HKS_IF_NOT_SUCC_BREAK(ret) in HksMbedtlsEcdsaSign()
76 HKS_IF_NOT_SUCC_BREAK(ret) in HksMbedtlsEcdsaSign()
118 HKS_IF_NOT_SUCC_BREAK(ret) in HksMbedtlsEcdsaVerify()
Dhks_mbedtls_dh.c132 HKS_IF_NOT_SUCC_BREAK(ret) in HksMbedtlsDhGenerateKey()
194 HKS_IF_NOT_SUCC_BREAK(ret) in DhKeyMaterialToCtx()
252 HKS_IF_NOT_SUCC_BREAK(ret) in HksMbedtlsDhAgreeKey()
Dhks_mbedtls_ecdh.c83 HKS_IF_NOT_SUCC_BREAK(ret) in HksMbedtlsEcdh()
Dhks_mbedtls_x25519.c277 HKS_IF_NOT_SUCC_BREAK(ret) in X25519KeyMaterialToPub()
339 HKS_IF_NOT_SUCC_BREAK(ret) in HksMbedtlsX25519KeyAgreement()
342 HKS_IF_NOT_SUCC_BREAK(ret) in HksMbedtlsX25519KeyAgreement()
680 HKS_IF_NOT_SUCC_BREAK(ret) in ConvertPublicKey()
688 HKS_IF_NOT_SUCC_BREAK(ret) in ConvertPublicKey()
699 HKS_IF_NOT_SUCC_BREAK(ret) in ConvertPublicKey()
Dhks_mbedtls_rsa.c292 HKS_IF_NOT_SUCC_BREAK(ret) in HksMbedtlsRsaCrypt()
371 HKS_IF_NOT_SUCC_BREAK(ret) in HksMbedtlsRsaSignVerify()
Dhks_rkc.c435 HKS_IF_NOT_SUCC_BREAK(ret); in RkcLoadKsf()
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_template.h39 #define HKS_IF_NOT_SUCC_BREAK(RESULT, ...) \ macro
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_upgrade_helper.c129 HKS_IF_NOT_SUCC_BREAK(ret) in HksDeleteOldKeyForSmallToService()
251 HKS_IF_NOT_SUCC_BREAK(ret, "construct root process info failed!") in HksGetOldKeyInfoListForSmallToService()
Dhks_storage_lite.c58 HKS_IF_NOT_SUCC_BREAK(ret) in ConstructCalcMacParamSet()
92 HKS_IF_NOT_SUCC_BREAK(ret) in CalcHeaderMac()
248 HKS_IF_NOT_SUCC_BREAK(ret) /* init fail, need free global buf */ in LoadFileToBuffer()
255 HKS_IF_NOT_SUCC_BREAK(ret) in LoadFileToBuffer()
Dhks_storage.c964 HKS_IF_NOT_SUCC_BREAK(ret) in HksStoreKeyBlob()
991 HKS_IF_NOT_SUCC_BREAK(ret) in HksStoreDeleteKeyBlob()
1031 HKS_IF_NOT_SUCC_BREAK(ret) in HksStoreGetKeyBlob()
Dhks_client_service.c624 HKS_IF_NOT_SUCC_BREAK(ret) in GetAgreeKeyPair()
627 HKS_IF_NOT_SUCC_BREAK(ret) in GetAgreeKeyPair()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_ed25519tox25519.c259 HKS_IF_NOT_SUCC_BREAK(CheckEd25519PubkeyPart(curve25519, var, ctx, tmpOne)) in CheckEd25519Pubkey()
301HKS_IF_NOT_SUCC_BREAK(CheckEd25519Pubkey(&curve25519, var, keyIn->data[keyIn->size - 1], ctx)) in BnOperationOfPubKeyConversion()
324 HKS_IF_NOT_SUCC_BREAK(FillPubKeyByZero(tmpKey, &tmpSize)) in BnOperationOfPubKeyConversion()
Dhks_openssl_rsa.c507 HKS_IF_NOT_SUCC_BREAK(SetRsaPadding(ctx, usageSpec)) in InitRsaCtx()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_template_test.cpp205 HKS_IF_NOT_SUCC_BREAK(ret) in TestBreak()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service.c256 HKS_IF_NOT_SUCC_BREAK(ret) in GenKeyByAgree()
259 HKS_IF_NOT_SUCC_BREAK(ret) in GenKeyByAgree()
418 HKS_IF_NOT_SUCC_BREAK(ret) in SignVerify()
1056 HKS_IF_NOT_SUCC_BREAK(ret) in HksCoreImportKey()
1081 HKS_IF_NOT_SUCC_BREAK(ret) in HksCoreExportPublicKey()
1107 HKS_IF_NOT_SUCC_BREAK(ret) in HksCoreAgreeKey()
1145 HKS_IF_NOT_SUCC_BREAK(ret) in HksCoreDeriveKey()
1179 HKS_IF_NOT_SUCC_BREAK(ret) in HksCoreMac()
1443 HKS_IF_NOT_SUCC_BREAK(ret) in HksCoreInit()
1449 HKS_IF_NOT_SUCC_BREAK(ret) in HksCoreInit()
[all …]
Dhks_chipset_platform_decrypt.c246 HKS_IF_NOT_SUCC_BREAK(ret) in HuksCoreChipsetPlatformDecrypt()
Dhks_keyblob.c570 HKS_IF_NOT_SUCC_BREAK(ret) in HksBuildKeyBlob()
585 HKS_IF_NOT_SUCC_BREAK(ret) in HksBuildKeyBlobWithOutAddKeyParam()
Dhks_core_service_three_stage.c1062 HKS_IF_NOT_SUCC_BREAK(ret) in HksCoreDeriveThreeStageUpdate()
1066 HKS_IF_NOT_SUCC_BREAK(ret) in HksCoreDeriveThreeStageUpdate()
Dhks_secure_access.c267 HKS_IF_NOT_SUCC_BREAK(ret) in BuildAuthRuntimeParamSet()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_ipc_service.c553 HKS_IF_NOT_SUCC_BREAK(ret) in HksIpcServiceGetKeyInfoList()
672 HKS_IF_NOT_SUCC_BREAK(ret) in HksIpcServiceInit()
720 HKS_IF_NOT_SUCC_BREAK(ret) in HksIpcServiceUpdOrFin()
779 HKS_IF_NOT_SUCC_BREAK(ret) in HksIpcServiceAbort()
822 HKS_IF_NOT_SUCC_BREAK(ret) in HksIpcServiceExportChipsetPlatformPublicKey()
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_samgr_client_proxy.c158 HKS_IF_NOT_SUCC_BREAK(ret, HKS_ERROR_IPC_MSG_FAIL) in HksIpcCall()
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_lite.c136 HKS_IF_NOT_SUCC_BREAK(ret) in RsaToX509PublicKey()
199 HKS_IF_NOT_SUCC_BREAK(ret) in EccToX509PublicKey()
/base/security/huks/interfaces/kits/liteapi/src/
Dhks_lite_api_common.cpp243 HKS_IF_NOT_SUCC_BREAK(ret) in HksParseParamsToParamSet()