/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
H A D | hks_cross_test_common.cpp | 75 HKS_LOG_E("AesDecry Init failed."); in HksCrossTestAesDecrypt() 101 HKS_LOG_E("RsaEncry Init failed."); in HksCrossTestRsaEncrypt() 126 HKS_LOG_E("RsaDecry Init failed."); in HksCrossTestRsaDecrypt() 183 HKS_LOG_E("HksMac failed."); in HksCrossTestHmac() 191 HKS_LOG_E("HksInit failed."); in HksCrossTestHmac() 283 HKS_LOG_E("HksInit failed."); in HksCrossTestAgree() 291 HKS_LOG_E("HksUpdate failed."); in HksCrossTestAgree() 297 HKS_LOG_E("HksFinish failed."); in HksCrossTestAgree() 321 HKS_LOG_E("HksInit failed."); in HksCrossTestDerive() 329 HKS_LOG_E("HksUpdate failed."); in HksCrossTestDerive() [all …]
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_sm2.c | 94 HKS_LOG_E("memcpy_s failed"); in EvpPkeyToKeyMaterialEc() 154 HKS_LOG_E("invalid keyBlob"); in GetSm2Modules() 172 HKS_LOG_E("invalid size"); in GetSm2Modules() 200 HKS_LOG_E("copy x fail"); in PushPubKeyToParam() 206 HKS_LOG_E("copy y fail"); in PushPubKeyToParam() 395 HKS_LOG_E("init ctx fail"); in InitSm2Ctx() 407 HKS_LOG_E("sm sign invalid arg"); in HksOpensslSm2Verify() 429 HKS_LOG_E("sm sign invalid arg"); in HksOpensslSm2Sign() 477 HKS_LOG_E("encrypt data failed"); in HksOpensslSm2Encrypt() 492 HKS_LOG_E("Invalid param"); in HksOpensslSm2Decrypt() [all …]
|
H A D | hks_openssl_hmac.c | 77 HKS_LOG_E("Invalid alg(0x%" LOG_PUBLIC "x)", alg); in HmacCheckParam() 118 HKS_LOG_E("Invalid alg(0x%" LOG_PUBLIC "x)", digestAlg); in HksOpensslHmacInit() 140 HKS_LOG_E("openssl hmac init failed."); in HksOpensslHmacInit() 149 HKS_LOG_E("initialize HksOpensslHmacCtx failed"); in HksOpensslHmacInit() 173 HKS_LOG_E("hmac update failed."); in HksOpensslHmacUpdate() 187 HKS_LOG_E("hmacCtx invalid"); in HksOpensslHmacFinal() 194 HKS_LOG_E("context is null"); in HksOpensslHmacFinal() 200 HKS_LOG_E("Invalid msg or mac point"); in HksOpensslHmacFinal() 209 HKS_LOG_E("hmac final update failed."); in HksOpensslHmacFinal() 217 HKS_LOG_E("hmac final failed."); in HksOpensslHmacFinal() [all …]
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/ |
H A D | hks_sa_interface.cpp | 52 HKS_LOG_E("ipc client read errCode %" LOG_PUBLIC "u", errCode); in ProcessAttestKeyAsyncReply() 61 HKS_LOG_E("invalid sz %" LOG_PUBLIC "u", sz); in ProcessAttestKeyAsyncReply() 66 HKS_LOG_E("ReadBuffer %" LOG_PUBLIC "u size ptr is nullptr", sz); in ProcessAttestKeyAsyncReply() 71 HKS_LOG_E("new receivedPtr failed"); in ProcessAttestKeyAsyncReply() 77 HKS_LOG_E("memcpy_s receivedPtr failed"); in ProcessAttestKeyAsyncReply() 92 HKS_LOG_E("failed to check interface token! code %" LOG_PUBLIC "d", code); in OnRemoteRequest() 102 HKS_LOG_E("unknown remote request code %" LOG_PUBLIC "u", code); in OnRemoteRequest() 130 HKS_LOG_E("Remote() is nullptr! Would not SendRequest!"); in SendAsyncReply() 146 HKS_LOG_E("dcm callback fail errCode %" LOG_PUBLIC "u", errCode); in SendAsyncReply() 149 HKS_LOG_E("send fail reply errCode failed %" LOG_PUBLIC "d", res); in SendAsyncReply() [all …]
|
H A D | hks_dcm_callback_handler.cpp | 98 HKS_LOG_E("buf size smaller than blob size"); in CopyBlobToBuffer() 102 HKS_LOG_E("copy buf fail"); in CopyBlobToBuffer() 108 HKS_LOG_E("copy buf fail"); in CopyBlobToBuffer() 119 HKS_LOG_E("certChain buffer from caller is null."); in PackAttestChain() 137 HKS_LOG_E("certChainPacked size too small"); in PackAttestChain() 147 HKS_LOG_E("single cert %" LOG_PUBLIC "u from huks is null.", i); in PackAttestChain() 177 HKS_LOG_E("dcm callback got null response"); in HksDcmCallback() 213 HKS_LOG_E("iface_cast IHksService failed"); in HksDcmCallbackHandlerSetRequestIdWithoutLock() 218 HKS_LOG_E("g_instancesList.SetNewInstance failed %" LOG_PUBLIC "d", ret); in HksDcmCallbackHandlerSetRequestIdWithoutLock() 236 HKS_LOG_E("dlopen " DCM_SDK_SO " failed! %" LOG_PUBLIC "s", dlerror()); in HksOpenDcmFunction() [all …]
|
H A D | hks_sa.cpp | 89 HKS_LOG_E("subscribe system event failed"); in SubscribEvent() 98 HKS_LOG_E("create thread failed"); in HksSubscribeEvent() 123 HKS_LOG_E("outSize is invalid, size:%" LOG_PUBLIC "u", outSize); in ProcessMessage() 179 HKS_LOG_E("HksService::Init Publish Failed"); in Init() 211 HKS_LOG_E("ReadRemoteObject ptr failed"); in ProcessAttestOrNormalMessage() 241 HKS_LOG_E("Malloc srcData failed."); in ProcessRemoteRequest() 258 HKS_LOG_E("handle ipc msg failed!"); in ProcessRemoteRequest() 274 HKS_LOG_E("wait on upgrading failed."); in OnRemoteRequest() 289 HKS_LOG_E("descriptor is diff."); in OnRemoteRequest() 408 HKS_LOG_E("create process condition on init failed."); in OnStart() [all …]
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
H A D | hks_mbedtls_hash.c | 68 HKS_LOG_E("Mbedtls Hash Md5 init malloc fail"); in HksMbedtlsHashMd5Init() 91 HKS_LOG_E("Mbedtls Hash Md5 update fail"); in HksMbedtlsHashMd5Update() 117 HKS_LOG_E("Mbedtls Hash Md5 finish fail"); in HksMbedtlsHashMd5Final() 151 HKS_LOG_E("Mbedtls Hash Sha1 init malloc fail"); in HksMbedtlsHashSha1Init() 178 HKS_LOG_E("Mbedtls Hash sha1 update fail"); in HksMbedtlsHashSha1Update() 209 HKS_LOG_E("Mbedtls Hash sha1 finish fail"); in HksMbedtlsHashSha1Final() 239 HKS_LOG_E("Mbedtls Hash sha256 init fail"); in HksMbedtlsHashSha256Init() 274 HKS_LOG_E("Mbedtls Hash sha256 update fail"); in HksMbedtlsHashSha256Update() 337 HKS_LOG_E("Mbedtls Hash sha512 init fail"); in HksMbedtlsHashSha512Init() 373 HKS_LOG_E("Mbedtls Hash sha512 update fail"); in HksMbedtlsHashSha512Update() [all …]
|
H A D | hks_mbedtls_aes.c | 119 HKS_LOG_E("Memcpy temp iv failed!"); in AesCbcNoPaddingCrypt() 165 HKS_LOG_E("initialize outCtx fail"); in AesCbcNoPaddingCryptInit() 203 HKS_LOG_E("Memcpy temp iv failed!"); in AesCbcNoPaddingCryptUpdate() 382 HKS_LOG_E("malloc outCtx fail"); in AesCbcPkcs7CryptInit() 612 HKS_LOG_E("initialize outCtx fail"); in AesEncryptGcmInit() 690 HKS_LOG_E("GcmFinal gcmCtx is null"); in AesEncryptGcmFinal() 821 HKS_LOG_E("GcmFinal gcmCtx is null"); in AesDecryptGcmFinal() 851 HKS_LOG_E("gcm auth failed!"); in AesDecryptGcmFinal() 1040 HKS_LOG_E("Gcm cipherParam is null"); in AesCtrCryptInit() 1099 HKS_LOG_E("CtrFinal ctrCtx is null"); in AesCtrCryptFinal() [all …]
|
H A D | hks_mbedtls_ecc.c | 46 HKS_LOG_E("Invalid ecc keySize! keySize = 0x%" LOG_PUBLIC "X", keySize); in HksMbedtlsEccCheckKeySize() 69 HKS_LOG_E("Unsupported key length! keyLen: 0x%" LOG_PUBLIC "X", keyLen); in GetEccGroupId() 80 … HKS_LOG_E("Invalid ecc keyMaterial! xSize = 0x%" LOG_PUBLIC "X, ySize = 0x%" LOG_PUBLIC "X, " in EccKeyMaterialXyzSizeCheck() 98 HKS_LOG_E("Ecc key size too small! key size = 0x%" LOG_PUBLIC "X", key->size); in EccKeyCheck() 109 HKS_LOG_E("Invalid param key! key mode = 0x%" LOG_PUBLIC "X", keyMaterial->keyAlg); in HksMbedtlsEccGetKeyCurveNist() 184 HKS_LOG_E("Save ecc keyMaterial write X failed! mbedtls ret = 0x%" LOG_PUBLIC "X", ret); in EccSaveKeyMaterial() 192 HKS_LOG_E("Save ecc keyMaterial write Y failed! mbedtls ret = 0x%" LOG_PUBLIC "X", ret); in EccSaveKeyMaterial() 199 HKS_LOG_E("Save ecc keyMaterial write D failed! mbedtls ret = 0x%" LOG_PUBLIC "X", ret); in EccSaveKeyMaterial() 234 HKS_LOG_E("Mbedtls ecc generate key failed! ret = 0x%" LOG_PUBLIC "X", ret); in HksMbedtlsEccGenerateKey() 257 HKS_LOG_E("not support get pubkey"); in GetEccPubKeyCheckParams() [all …]
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/core/src/ |
H A D | hks_verifier.c | 188 HKS_LOG_E("verify signature failed"); in VerifySignature() 207 HKS_LOG_E("add cert to store failed"); in VerifyCertChain() 214 HKS_LOG_E("init verify ctx failed"); in VerifyCertChain() 220 HKS_LOG_E("verify cert failed"); in VerifyCertChain() 289 HKS_LOG_E("invalid tlv data"); in ExtractTlvLength() 316 HKS_LOG_E("invalid tlv data"); in ExtractTlvData() 360 HKS_LOG_E("ExtractTlvData fail!"); in ExtractTlvDataAndHeadSize() 401 HKS_LOG_E("get ext idx by Obj failed"); in GetKeyDescriptionSeqValue() 407 HKS_LOG_E("X509 get ext by idx failed"); in GetKeyDescriptionSeqValue() 498 HKS_LOG_E("invalid argument data"); in FillAttestExtendParamSet() [all …]
|
/ohos5.0/base/security/huks/interfaces/kits/napi/src/v9/ |
H A D | huks_napi_update_finish_session.cpp | 81 HKS_LOG_E("could not get inData"); in FillContextInDataAndOutData() 92 HKS_LOG_E("malloc memory failed"); in FillContextInDataAndOutData() 117 HKS_LOG_E("fill data failed"); in FillContextInDataAndOutBlob() 127 HKS_LOG_E("could not get object type"); in GetCallBackFunction() 139 HKS_LOG_E("could not create reference"); in GetCallBackFunction() 157 HKS_LOG_E("could not get token data"); in GetToken() 179 HKS_LOG_E("could not get object type"); in GetTokenOrCallback() 225 HKS_LOG_E("no enough params"); in ParseUpdateParams() 239 HKS_LOG_E("get properties failed"); in ParseUpdateParams() 244 HKS_LOG_E("fill in or out blob failed"); in ParseUpdateParams() [all …]
|
H A D | huks_napi_common_item.cpp | 40 HKS_LOG_E("no string type"); in ParseKeyAlias() 61 HKS_LOG_E("could not alloc memory"); in ParseKeyAlias() 79 HKS_LOG_E("could not alloc memory"); in ParseKeyAlias() 182 HKS_LOG_E("get param tag failed"); in GetHksParam() 268 HKS_LOG_E("param input invalid"); in ParseHksParamSetAndAddParam() 476 HKS_LOG_E("param input invalid"); in GetHandleValue() 571 HKS_LOG_E("no object type"); in GetPropertyFromOptions() 626 HKS_LOG_E("param input invalid"); in ParseKeyAliasAndHksParamSet() 653 HKS_LOG_E("param input invalid"); in ParseKeyAliasAndHksParamSetAsUser() 677 HKS_LOG_E("param input invalid"); in ParseKeyData() [all …]
|
/ohos5.0/base/security/huks/interfaces/kits/napi/src/v8/ |
H A D | huks_napi_update_finish.cpp | 98 HKS_LOG_E("could not get inData"); in FillContextInDataAndOutData() 109 HKS_LOG_E("malloc memory failed"); in FillContextInDataAndOutData() 134 HKS_LOG_E("fill data failed"); in FillContextInDataAndOutBlob() 178 HKS_LOG_E("could not get token data"); in GetToken() 248 HKS_LOG_E("parse params failed"); in GetInputParamSet() 276 HKS_LOG_E("add params failed"); in GetInputParamSet() 282 HKS_LOG_E("build params failed"); in GetInputParamSet() 302 HKS_LOG_E("no enough params"); in ParseUpdateParams() 335 HKS_LOG_E("could not get paramset"); in ParseUpdateParams() 413 HKS_LOG_E("could not parse params"); in HuksNapiUpdate() [all …]
|
H A D | huks_napi_common.cpp | 50 HKS_LOG_E("could not alloc memory"); in ParseKeyAlias() 60 HKS_LOG_E("could not get string"); in ParseKeyAlias() 68 HKS_LOG_E("could not alloc memory"); in ParseKeyAlias() 200 HKS_LOG_E("param input invalid"); in ParseHksParamSet() 251 HKS_LOG_E("invalid type"); in GetCallback() 456 HKS_LOG_E("invalid handle"); in GenerateHksHandle() 468 HKS_LOG_E("invalid token"); in GenerateHksHandle() 491 HKS_LOG_E("param input invalid"); in GetHandleValue() 578 HKS_LOG_E("param input invalid"); in ParseHandleAndHksParamSet() 603 HKS_LOG_E("param input invalid"); in ParseKeyAliasAndHksParamSet() [all …]
|
/ohos5.0/base/security/huks/utils/crypto_adapter/ |
H A D | hks_client_service_adapter_lite.c | 61 HKS_LOG_E("Malloc x509 key data failed!"); in PkCtxToX509() 68 HKS_LOG_E("public key to x509 memcpy to x509key failed!"); in PkCtxToX509() 87 HKS_LOG_E("Mbedtls setup pk context failed! mbedtls ret = 0x%" LOG_PUBLIC "X", ret); in InitRsaPkCtx() 153 HKS_LOG_E("Mbedtls setup pk context failed! mbedtls ret = 0x%" LOG_PUBLIC "X", ret); in InitEccPkCtx() 215 HKS_LOG_E("Invalid public key size! key size = 0x%" LOG_PUBLIC "X", publicKey->size); in Curve25519ToX509PublicKey() 224 HKS_LOG_E("X25519/Ed25519 to x509 public key memcpy to x509 key data failed!"); in Curve25519ToX509PublicKey() 239 HKS_LOG_E("translate to x509 public key invalid args"); in TranslateToX509PublicKey() 244 HKS_LOG_E("translate to x509 public key invalid publicKey size"); in TranslateToX509PublicKey() 251 HKS_LOG_E("translate to x509 public key invalid nOrXSize size"); in TranslateToX509PublicKey() 258 HKS_LOG_E("translate to x509 public key invalid eOrYSize size"); in TranslateToX509PublicKey() [all …]
|
H A D | hks_client_service_adapter.c | 141 HKS_LOG_E("not found nid!"); in GetEccNid() 168 HKS_LOG_E("x y point is null"); in EccToX509PublicKey() 211 HKS_LOG_E("Invaild dsa key material size!"); in GetDsaPubKeyParam() 219 HKS_LOG_E("translate to x509 public key invalid size"); in GetDsaPubKeyParam() 252 HKS_LOG_E("DSA parameter is null."); in DsaToX509PublicKey() 460 HKS_LOG_E("X509PublicKeyToRsa BN_num_bytes failed"); in X509PublicKeyToRsa() 497 HKS_LOG_E("X509PublicKeyToEcc BN_new failed"); in EcKeyToPublicKey() 513 HKS_LOG_E("invalid ecc key length"); in EcKeyToPublicKey() 572 HKS_LOG_E("HksMalloc rawInfo NULL"); in EvpPkeyToHksPubKeyInfo() 587 HKS_LOG_E("memcpy_s failed"); in EvpPkeyToHksPubKeyInfo() [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/ |
H A D | hks_test_adapt_for_de.c | 25 HKS_LOG_E("HksInitParamSet failed"); in GenerateParamSet() 32 HKS_LOG_E("HksAddParams failed"); in GenerateParamSet() 40 HKS_LOG_E("HksBuildParamSet failed"); in GenerateParamSet() 51 HKS_LOG_E("check paramSet fail"); in ConstructNewParamSet() 56 HKS_LOG_E("init paramSet fail"); in ConstructNewParamSet() 62 HKS_LOG_E("copy params fail"); in ConstructNewParamSet() 71 HKS_LOG_E("add param attestMode fail"); in ConstructNewParamSet() 76 HKS_LOG_E("build paramSet fail"); in ConstructNewParamSet() 99 HKS_LOG_E("construct new paramSet fail"); in HksGenerateKeyForDe() 121 HKS_LOG_E("construct new paramSet fail"); in HksImportKeyForDe() [all …]
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_keynode.c | 50 HKS_LOG_E("Hks mutex init failed, reinit!"); in HksGetHuksMutex() 63 HKS_LOG_E("create huks mutex failed!"); in HksInitHuksMutex() 81 HKS_LOG_E("invalid keyblob paramset"); in FreeKeyBlobParamSet() 87 HKS_LOG_E("get key param failed!"); in FreeKeyBlobParamSet() 110 HKS_LOG_E("aes get block mode tag fail"); in SetAesCcmModeTag() 165 HKS_LOG_E("invalid keyblob paramset"); in FreeRuntimeParamSet() 248 HKS_LOG_E("check params fail"); in BuildRuntimeParamSet() 255 HKS_LOG_E("add in params fail"); in BuildRuntimeParamSet() 263 HKS_LOG_E("add runtime params fail"); in BuildRuntimeParamSet() 270 HKS_LOG_E("build paramSet fail"); in BuildRuntimeParamSet() [all …]
|
H A D | hks_core_service_key_operate_three_stage.c | 121 HKS_LOG_E("don't found purpose or algrithm"); in GetPurposeAndAlgorithm() 134 HKS_LOG_E("don't found digest"); in GetPurposeAndAlgorithm() 146 HKS_LOG_E("the pointer param entered is invalid"); in CoreInitPreCheck() 157 HKS_LOG_E("paramSet is invalid"); in CoreInitPreCheck() 301 HKS_LOG_E("Batch time is too big."); in HksAddBatchTimeToKeyNode() 336 HKS_LOG_E("the pointer param entered is invalid"); in HksCoreInit() 380 HKS_LOG_E("memcpy handle value fail"); in GetParamsForUpdateAndFinish() 398 HKS_LOG_E("Batch operation timeout"); in HksCheckBatchUpdateTime() 461 HKS_LOG_E("check device password status failed"); in HksCoreUpdate() 511 HKS_LOG_E("check device password status failed"); in HksCoreFinish() [all …]
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/include/ |
H A D | hks_template.h | 31 HKS_LOG_E(LOG_MESSAGE, ##__VA_ARGS__); \ 37 HKS_LOG_E(LOG_MESSAGE, ##__VA_ARGS__); \ 48 HKS_LOG_E(LOG_MESSAGE, ##__VA_ARGS__); \ 58 HKS_LOG_E(LOG_MESSAGE, ##__VA_ARGS__); \ 64 HKS_LOG_E(LOG_MESSAGE, ##__VA_ARGS__); \ 70 HKS_LOG_E(LOG_MESSAGE, ##__VA_ARGS__); \ 87 HKS_LOG_E("%{public}s failed!", #BOOL_FUNC); \ 95 HKS_LOG_E("%{public}s failed!", #BOOL_FUNC); \
|
/ohos5.0/base/security/huks/utils/file_operator/ |
H A D | hks_file_operator_lite.c | 85 HKS_LOG_E("get full fileName failed"); in GetFullFileName() 116 HKS_LOG_E("failed to open file, errno = 0x%" LOG_PUBLIC "x", errno); in FileRead() 126 HKS_LOG_E("failed to read file, errno = 0x%" LOG_PUBLIC "x", errno); in FileRead() 141 HKS_LOG_E("file stat failed, errno = 0x%" LOG_PUBLIC "x", errno); in FileSize() 153 HKS_LOG_E("open file failed, errno = 0x%" LOG_PUBLIC "x", errno); in FileWrite() 262 HKS_LOG_E("file stat failed"); in HksRemoveDir() 267 HKS_LOG_E("path is not dir"); in HksRemoveDir() 308 HKS_LOG_E("stat file failed, errno = 0x%" LOG_PUBLIC "x", ret); in FileRead() 320 HKS_LOG_E("failed to open file, errno = 0x%" LOG_PUBLIC "x", fd); in FileRead() 362 HKS_LOG_E("stat file failed, errno = 0x%" LOG_PUBLIC "x", ret); in FileSize() [all …]
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/bms/src/ |
H A D | hks_bms_api_wrap.cpp | 64 HKS_LOG_E("add string to json object is failed."); in ConvertCallerInfoToJson() 71 HKS_LOG_E("cJSON_PrintUnformatted failed."); in ConvertCallerInfoToJson() 110 HKS_LOG_E("Get hap info failed from access token kit."); in HksGetHapInfo() 119 HKS_LOG_E("GetBundleInfo failed."); in HksGetHapInfo() 144 HKS_LOG_E("Get hap info failed from access token kit."); in HksGetHapPkgName() 166 HKS_LOG_E("Error caller Type, cannot get SaInfo"); in HksGetSaInfo() 172 HKS_LOG_E("Get sa info failed from access token kit."); in HksGetSaInfo() 181 HKS_LOG_E("The normal process, hide the caller information."); in HksGetSaInfo() 195 HKS_LOG_E("Error caller Type, cannot get SaInfo"); in HksGetSaProcessName() 201 HKS_LOG_E("Get sa info failed from access token kit."); in HksGetSaProcessName() [all …]
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/core/src/ |
H A D | hks_client_check.c | 100 HKS_LOG_E("invalid paramSet"); in HksCheckGetKeyParamSetParams() 132 HKS_LOG_E("keyInfoList or listCount null."); in HksCheckGetKeyInfoListParams() 180 HKS_LOG_E("auth access level is too low"); in CheckAuthAccessLevel() 197 HKS_LOG_E("invalid auth timeout param"); in CheckUserAuthParamsValidity() 298 HKS_LOG_E("key auth purpose is invalid!"); in HksCheckUserAuthKeyPurposeValidity() 328 HKS_LOG_E("oldKeyAlias or newKeyAlias is null !"); in HKsCheckOldKeyAliasDiffNewKeyAlias() 333 HKS_LOG_E("oldKeyAlias same as newKeyAlias !"); in HKsCheckOldKeyAliasDiffNewKeyAlias() 347 HKS_LOG_E("the oldKey not exist!"); in HksCheckOldKeyExist() 360 HKS_LOG_E("the newKey is already exist!"); in HksCheckNewKeyNotExist() 405 HKS_LOG_E("storage level in srcParamSet must be DE"); in HksCheckChangeStorageLevelParams() [all …]
|
/ohos5.0/base/security/huks/interfaces/kits/napi/src/v12/ |
H A D | huks_napi_import_wrapped_key_item_as_user.cpp | 39 HKS_LOG_E("invalid params count %" LOG_PUBLIC "zu", argc); in ImportWrappedKeyAsUserParseParams() 48 HKS_LOG_E("ImportWrappedKeyAsUserParseParams could not get user id value"); in ImportWrappedKeyAsUserParseParams() 55 HKS_LOG_E("importWrappedKey parse keyAlias failed"); in ImportWrappedKeyAsUserParseParams() 63 HKS_LOG_E("importWrappedKey parse params failed"); in ImportWrappedKeyAsUserParseParams() 69 HKS_LOG_E("importWrappedKey parse keyData failed"); in ImportWrappedKeyAsUserParseParams() 81 HKS_LOG_E("could not create context"); in HuksNapiImportWrappedKeyItemAsUser() 87 HKS_LOG_E("could not parse params"); in HuksNapiImportWrappedKeyItemAsUser() 94 HKS_LOG_E("could not start async work"); in HuksNapiImportWrappedKeyItemAsUser()
|
H A D | huks_napi_attest_key_item_as_user.cpp | 38 HKS_LOG_E("no enough params"); in AttestKeyAsUserParseParams() 47 HKS_LOG_E("AttestKeyAsUserParseParams could not get user id value"); in AttestKeyAsUserParseParams() 54 HKS_LOG_E("could not get alias"); in AttestKeyAsUserParseParams() 61 HKS_LOG_E("attestKey get property failed"); in AttestKeyAsUserParseParams() 68 HKS_LOG_E("could not get paramset"); in AttestKeyAsUserParseParams() 80 HKS_LOG_E("could not create context"); in HuksNapiAttestKeyItemAsUser() 86 HKS_LOG_E("could not parse params"); in HuksNapiAttestKeyItemAsUser() 92 HKS_LOG_E("could not start async work"); in HuksNapiAttestKeyItemAsUser()
|