/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
D | hks_ipc_service.c | 66 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksGenerateKeyUnpack Ipc fail") in HksIpcServiceGenerateKey() 80 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksGetProcessInfoForIPC fail, ret = %" LOG_PUBLIC "d", ret) in HksIpcServiceGenerateKey() 107 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksImportKeyUnpack Ipc fail") in HksIpcServiceImportKey() 110 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksGetProcessInfoForIPC fail, ret = %" LOG_PUBLIC "d", ret) in HksIpcServiceImportKey() 133 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "unpack data for Ipc fail") in HksIpcServiceImportWrappedKey() 136 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get process info fail, ret = %" LOG_PUBLIC "d", ret) in HksIpcServiceImportWrappedKey() 157 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksExportKeyUnpack Ipc fail") in HksIpcServiceExportPublicKey() 160 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksGetProcessInfoForIPC fail, ret = %" LOG_PUBLIC "d", ret) in HksIpcServiceExportPublicKey() 163 … HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksServiceExportPublicKey fail, ret = %" LOG_PUBLIC "d", ret) in HksIpcServiceExportPublicKey() 183 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksGetProcessInfoForIPC fail, ret = %" LOG_PUBLIC "d", ret) in HksIpcServiceDeleteKey() [all …]
|
/base/security/huks/services/huks_standard/huks_service/main/core/src/ |
D | hks_client_service.c | 126 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "do upgrade access failed!") in CheckAndUpgradeKeyIfNeed() 128 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "store upgraded key blob failed!") in CheckAndUpgradeKeyIfNeed() 194 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "check params failed, ret = %" LOG_PUBLIC "d", ret) in HksServiceGetKeyInfoList() 197 …HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get key alias list from storage failed, ret = %" LOG_PUBLIC "d", … in HksServiceGetKeyInfoList() 201 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get key data failed, ret = %" LOG_PUBLIC "d", ret) in HksServiceGetKeyInfoList() 204 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get key paramSet failed, ret = %" LOG_PUBLIC "d", ret) in HksServiceGetKeyInfoList() 230 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "check paramSet failed") in AppendToNewParamSet() 233 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "append fresh paramset failed") in AppendToNewParamSet() 236 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "append init operation param set failed") in AppendToNewParamSet() 239 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "append params failed") in AppendToNewParamSet() [all …]
|
D | hks_upgrade_key_accesser.c | 51 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "init paramSet failed!") in HksDoUpgradeKeyAccess() 54 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "AddUpgradeParams failed!") in HksDoUpgradeKeyAccess() 57 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "build paramSet failed!") in HksDoUpgradeKeyAccess()
|
D | hks_upgrade_helper.c | 166 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "not have old key") in HksChangeKeyOwner() 169 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "construct param set failed!") in HksChangeKeyOwner() 183 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "access change key owner failed!") in HksChangeKeyOwner() 186 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "store new key failed!") in HksChangeKeyOwner() 218 …HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get old key alias list from storage failed, ret = %" LOG_PUBLIC "… in HksGetkeyInfoListByProcessName() 222 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get old key data failed, ret = %" LOG_PUBLIC "d", ret) in HksGetkeyInfoListByProcessName() 229 … HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get old key paramSet failed, ret = %" LOG_PUBLIC "d", ret) in HksGetkeyInfoListByProcessName() 253 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get key info list in old path failed!") in HksGetOldKeyInfoListForSmallToService()
|
D | hks_client_service_util.c | 116 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "init param set failed!") in ConstructUpgradeKeyParamSet() 123 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add param processNameParam failed!") in ConstructUpgradeKeyParamSet() 126 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "build param set failed!") in ConstructUpgradeKeyParamSet()
|
D | hks_storage.c | 376 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "write file 0 failed!") in CleanFile() 380 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "write file 1 failed!") in CleanFile() 384 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "fill buf random failed!") in CleanFile() 387 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "write file random failed!") in CleanFile() 467 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "makdir destPath failed, ret = %" LOG_PUBLIC "d.", ret) in CopyKeyBlobFromSrc() 470 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "file write destPath failed, ret = %" LOG_PUBLIC "d.", ret) in CopyKeyBlobFromSrc() 961 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "hks get file info failed, ret = %" LOG_PUBLIC "d.", ret) in HksStoreKeyBlob() 967 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "hks save key blob failed, ret = %" LOG_PUBLIC "d.", ret) in HksStoreKeyBlob() 988 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "hks get file info failed, ret = %" LOG_PUBLIC "d.", ret) in HksStoreDeleteKeyBlob() 1009 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "hks get file info failed, ret = %" LOG_PUBLIC "d.", ret) in HksStoreIsKeyBlobExist() [all …]
|
D | hks_storage_adapter.c | 119 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "AddParams failed!") in TranslateKeyInfoBlobToParamSet()
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_upgrade_key.c | 77 … HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get param %" LOG_PUBLIC "u from paramSet failed!", tagList[i]) in AddMandatoryParams() 79 …HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add param %" LOG_PUBLIC "u into targetParamSet failed!", tagList[… in AddMandatoryParams() 144 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "init paramset failed!") in AddMandatoryParamsInCore() 147 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add params from srcParamSet to targetParamSet failed!") in AddMandatoryParamsInCore() 263 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "AddMandatoryParamsInCore failed!") in ConstructNewKeyParamSet() 266 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksInitParamSet failed!") in ConstructNewKeyParamSet() 269 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "AddAlgParamsTags failed!") in ConstructNewKeyParamSet() 273 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "AddMandatoryParams failed!") in ConstructNewKeyParamSet() 276 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "build newKeyBlobParamSet failed!") in ConstructNewKeyParamSet() 279 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksCheckParamSetTag failed!") in ConstructNewKeyParamSet() [all …]
|
D | hks_sm_import_wrap_key.c | 201 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get decrypt param failed!") in DecryptKekWithSm2() 203 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "cipher get raw key failed!") in DecryptKekWithSm2() 205 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "build usage spec failed!") in DecryptKekWithSm2() 207 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "decrypt data failed!") in DecryptKekWithSm2() 309 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksCryptoHalHash failed!") in VerifyKekBySm2() 311 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksCryptoHalVerify failed!") in VerifyKekBySm2() 357 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "derive kek1 data failed!") ; in DeriveKeyByFactor() 360 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "derive kek2 data failed!") ; in DeriveKeyByFactor() 388 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "cal hmac value failed!") in CompareWrapKeyHmac() 390 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "compare kek enc data mac failed!") in CompareWrapKeyHmac() [all …]
|
D | hks_chipset_platform_decrypt.c | 106 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get salt fail"); in DoGenEcdhSharedKey() 110 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get tmp pk fail"); in DoGenEcdhSharedKey() 241 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "ecdh get sharedKey failed") in HuksCoreChipsetPlatformDecrypt() 250 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "hmac get wrappedKey failed") in HuksCoreChipsetPlatformDecrypt() 255 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "aes decrypt failed") in HuksCoreChipsetPlatformDecrypt()
|
D | hks_keynode.c | 226 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get keynode handle failed") in HksCreateKeyNode() 229 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get runtime paramSet failed") in HksCreateKeyNode() 232 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get aad and paramSet failed") in HksCreateKeyNode() 235 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "decrypt keyBlob failed") in HksCreateKeyNode() 238 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add keyNode failed") in HksCreateKeyNode()
|
D | hks_core_service.c | 421 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "SignVerify calc hash failed!") in SignVerify() 425 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "SignVerify get raw key failed!") in SignVerify() 481 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "cipher pre check failed!") in Cipher() 485 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "cipher get raw key failed!") in Cipher() 1085 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get raw key when exporting public key failed!") in HksCoreExportPublicKey() 1111 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksCheckKeybBlobIsSupportUserAuth failed"); in HksCoreAgreeKey() 1121 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get raw key when agreeing key failed!") in HksCoreAgreeKey() 1148 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "derive auth failed!") in HksCoreDeriveKey() 1152 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "derive get raw key failed!") in HksCoreDeriveKey() 1182 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "mac auth failed!") in HksCoreMac() [all …]
|
D | hks_secure_access.c | 250 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add auth runtime default params fail") in BuildAuthRuntimeParamSet() 253 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add key access time params failed!") in BuildAuthRuntimeParamSet() 258 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add challenge params failed!") in BuildAuthRuntimeParamSet() 263 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add append data info params fail") in BuildAuthRuntimeParamSet() 270 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "assign out token failed") in BuildAuthRuntimeParamSet() 874 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get auth token failed!") in HksCoreSecureAccessVerifyParams() 877 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "verify the auth token sign failed!") in HksCoreSecureAccessVerifyParams() 880 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "decrypt auth token failed!") in HksCoreSecureAccessVerifyParams() 883 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "verify challenge failed!") in HksCoreSecureAccessVerifyParams() 886 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "verify auth token info failed!") in HksCoreSecureAccessVerifyParams()
|
D | hks_keyblob.c | 292 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get salt randomly failed, ret = %" LOG_PUBLIC "d", ret) in InitKeyBlobInfo() 296 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get nonce randomly failed, ret = %" LOG_PUBLIC "d", ret) in InitKeyBlobInfo() 350 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add in params failed") in BuildKeyBlobWithKeyParam() 353 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "InitKeyBlobInfo failed") in BuildKeyBlobWithKeyParam() 356 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add Params failed") in BuildKeyBlobWithKeyParam()
|
D | hks_keyblob_lite.c | 318 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get raw key material failed, ret = %" LOG_PUBLIC "d", ret) in HksGenerateKeyNode() 325 …HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "translate key info to paramset failed, ret = %" LOG_PUBLIC "d", r… in HksGenerateKeyNode() 467 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "hks blob init failed, ret = %" LOG_PUBLIC "d", ret) in HksBuildKeyBlob() 472 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "fill storage key info failed, ret = %" LOG_PUBLIC "d", ret) in HksBuildKeyBlob()
|
/base/security/huks/services/huks_standard/huks_engine/main/core_dependency/src/ |
D | hks_chipset_platform_key_hardcoded.c | 60 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "copy public key material failed") in MallocAndFillFullHksPublicKey() 64 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "copy raw public key failed") in MallocAndFillFullHksPublicKey() 90 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "copy private key material failed") in MallocFullPlatformPrivateKey() 93 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "copy public key failed") in MallocFullPlatformPrivateKey() 97 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "copy private key failed") in MallocFullPlatformPrivateKey() 122 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "malloc or fill full hks pub key failed"); in HksChipsetPlatformDeriveKeyAndEcdh()
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_rkc.c | 178 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Get rmk raw key failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcDeriveRmk() 279 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Derive rmk failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcMkCrypt() 282 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Crypto mk failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcMkCrypt() 317 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Generate mk failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcMakeMk() 322 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Generate mkIv failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcMakeMk() 326 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Encrypt mk failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcMakeMk() 410 … HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "All mk ksf file are invalid! ret = 0x%" LOG_PUBLIC "X", ret) in RkcLoadKsf() 418 …HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Init attribute of rkc keystore file failed! ret = 0x%" LOG_PUBLIC… in RkcLoadKsf() 421 … HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "All rkc ksf file are invalid! ret = 0x%" LOG_PUBLIC "X", ret) in RkcLoadKsf() 431 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Main key decrypt failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcLoadKsf() [all …]
|
D | hks_rkc_v1.c | 161 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Get rmk raw key failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcDeriveRmkV1() 187 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Derive rmk failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcMkCryptV1() 190 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Crypto mk failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcMkCryptV1() 209 … HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "All rkc ksf file are invalid! ret = 0x%" LOG_PUBLIC "X", ret) in RkcLoadKsfV1() 267 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Fill rkc data failed") in UpgradeV1ToV2() 272 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Encrypt mk failed! ret = 0x%" LOG_PUBLIC "X", ret) in UpgradeV1ToV2() 277 …HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Init attribute of rkc keystore file failed! ret = 0x%" LOG_PUBLIC… in UpgradeV1ToV2() 281 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Write rkc & mk ksf failed! ret = 0x%" LOG_PUBLIC "X", ret) in UpgradeV1ToV2()
|
D | hks_rkc_rw.c | 69 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get process info failed") in GetKeyBlobKsf() 74 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Get ksf file failed! ret = 0x%" LOG_PUBLIC "X", ret) in GetKeyBlobKsf() 526 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Fill rkc ksf buf failed! ret = 0x%" LOG_PUBLIC "X", ret) in HksWriteKsfRkc() 530 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get process info failed") in HksWriteKsfRkc() 556 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Fill mk ksf buf failed! ret = 0x%" LOG_PUBLIC "X", ret) in HksWriteKsfMk() 560 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get process info failed") in HksWriteKsfMk()
|
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
D | hks_client_service_ipc.c | 90 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksGenerateKeyPack fail") in HksClientGenerateKey() 93 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksSendRequest fail, ret = %" LOG_PUBLIC "d", ret) in HksClientGenerateKey() 119 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksImportKeyPack fail") in HksClientImportKey() 141 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksExportPublicKeyPack fail") in HksClientExportPublicKey() 166 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksImportWrappedKeyPack fail") in HksClientImportWrappedKey() 198 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksGenerateKeyPack fail") in HksClientGetKeyParamSet() 201 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksSendRequest fail, ret = %" LOG_PUBLIC "d", ret) in HksClientGetKeyParamSet() 325 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "append add Aes Tag fail") in AppendCipherTag() 399 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksAgreeKeyPack fail") in HksClientAgreeKey() 422 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksDeriveKeyPack fail") in HksClientDeriveKey() [all …]
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_ed25519tox25519.c | 127 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Convert to g_pBytes big number failed!") in CovertData() 129 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Convert to g_dBytes big number failed!") in CovertData() 131 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Convert to g_negativeTwoModPBytes big number failed!") in CovertData() 133 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Convert to g_negativeOneModPBytes big number failed!") in CovertData() 135 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Convert to g_negativeOneDivideTwoBytes big number failed!") in CovertData() 137 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Convert to ed25519 big number failed!") in CovertData()
|
D | hks_openssl_curve25519.c | 201 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "convert ED25519 private key to x25519 failed") in HksOpensslEd25519AgreeKey() 205 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "get public key from keymaterial failed") in HksOpensslEd25519AgreeKey() 207 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "convert ED25519 public key to x25519 failed") in HksOpensslEd25519AgreeKey() 211 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "x25519 agree key failed") in HksOpensslEd25519AgreeKey()
|
/base/security/huks/frameworks/huks_standard/main/core/src/ |
D | hks_local_engine.c | 328 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "set key to material failed, ret:%" LOG_PUBLIC "x!", ret) in HksLocalSign() 330 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "SignVerify calc hash failed!") in HksLocalSign() 334 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "local engine Sign failed, ret:%" LOG_PUBLIC "x!", ret) in HksLocalSign() 361 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "set key to material failed, ret:%" LOG_PUBLIC "x!", ret) in HksLocalVerify() 364 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "SignVerify calc hash failed!") in HksLocalVerify() 368 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "local engine verify failed, ret:%" LOG_PUBLIC "x!", ret) in HksLocalVerify()
|
/base/security/huks/frameworks/huks_standard/main/common/include/ |
D | hks_template.h | 33 #define HKS_IF_NOT_SUCC_LOGE_BREAK(RESULT, LOG_MESSAGE, ...) \ macro
|
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/ |
D | hks_template_test.cpp | 158 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "HksTemplateTest006, %d, %s", 0, "HksTemplateTest006") in TestLogBreak()
|