Home
last modified time | relevance | path

Searched refs:LOGE (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Dsignature_rsa_openssl.c85 LOGE("Class is null"); in DestroyRsaSign()
89 LOGE("Class not match."); in DestroyRsaSign()
104 LOGE("Class is null"); in DestroyRsaVerify()
108 LOGE("Class not match."); in DestroyRsaVerify()
123 LOGE("Input keyType dismatch with sign option, please use priKey."); in CheckInitKeyType()
128 LOGE("Input keyType dismatch with sign option, please use pubKey."); in CheckInitKeyType()
142 LOGE("malloc rsa failed"); in InitRsaEvpKey()
150 LOGE("get key attribute fail"); in InitRsaEvpKey()
157 LOGE("assign RSA n, e, d failed"); in InitRsaEvpKey()
163 LOGE("duplicate RSA pri key success"); in InitRsaEvpKey()
[all …]
/base/security/device_auth/services/key_agree_sdk/src/
Dkey_agree_sdk.c37 LOGE("Invalid length of sharedSecret!"); in CheckKeyAgreeStartSessionParams()
41 LOGE("Length of sharedSecret check fail!"); in CheckKeyAgreeStartSessionParams()
45 LOGE("Invalid length of deviceId!"); in CheckKeyAgreeStartSessionParams()
49 LOGE("Length of deviceId check fail!"); in CheckKeyAgreeStartSessionParams()
53 LOGE("Invalid length of extras!"); in CheckKeyAgreeStartSessionParams()
63 LOGE("Create json failed!"); in BuildErrorMessage()
68 LOGE("Add errorCode failed, res: %d.", res); in BuildErrorMessage()
75 LOGE("Pack json to string failed!"); in BuildErrorMessage()
80 LOGE("Memcpy for out json failed."); in BuildErrorMessage()
91 LOGE("Create json failed!"); in IsErrorMessage()
[all …]
Dkey_agree_session.c52 LOGE("Get peer id from json failed."); in GetIdPeer()
57 LOGE("Invalid authIdPeerLen: %u.", authIdLen); in GetIdPeer()
62 LOGE("InitSingleParam for peer authId failed, res: %d.", res); in GetIdPeer()
66 LOGE("HexStringToByte for authIdPeer failed."); in GetIdPeer()
71 LOGE("Peer id can not be equal to self id."); in GetIdPeer()
98 LOGE("Input str is NULL!"); in GetSlice()
130 LOGE("Malloc for verStrTmp failed."); in StringToVersion()
134 LOGE("Memcpy for verStrTmp failed."); in StringToVersion()
156 LOGE("GetSlice failed."); in StringToVersion()
169 LOGE("Convert version struct to string failed."); in VersionToString()
[all …]
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_util.c30 LOGE("Failed to get groupId!"); in GetPeerDeviceEntryByContext()
41 LOGE("Failed to get peer authId!"); in GetPeerDeviceEntryByContext()
52 LOGE("Failed to get osAccountId!"); in GetPdidByContext()
57 LOGE("Failed to get device entry!"); in GetPdidByContext()
62 LOGE("userId is null!"); in GetPdidByContext()
68 LOGE("Pseudonym manager is null!"); in GetPdidByContext()
76 LOGE("Failed to get pdid!"); in GetPdidByContext()
80 LOGE("Failed to copy pdid!"); in GetPdidByContext()
92 LOGE("Failed to get devicePk!"); in BuildRealPkInfoJson()
97 LOGE("Failed to get version!"); in BuildRealPkInfoJson()
[all …]
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
Dx509_crl_openssl.c59 LOGE("Invalid Paramas!"); in GetType()
63 LOGE("Input wrong class type!"); in GetType()
72 LOGE("Input wrong class type!"); in GetCrl()
81 LOGE("Input wrong openssl class type!"); in GetX509FromCertificate()
86 LOGE("Input wrong openssl class type!"); in GetX509FromCertificate()
96 LOGE("Invalid Paramas!"); in IsRevoked()
100 LOGE("Input wrong class type!"); in IsRevoked()
105 LOGE("Input Cert is wrong !"); in IsRevoked()
110 LOGE("crl is null!"); in IsRevoked()
121 LOGE("Invalid Paramas!"); in GetEncoded()
[all …]
Dx509_certificate_openssl.c49 LOGE("Failed to malloc for sig algorithm params!"); in DeepCopyDataToOut()
68 LOGE("Input wrong class type!"); in DestroyX509Openssl()
88 LOGE("Input wrong class type!"); in DestroyX509PubKeyOpenssl()
109 LOGE("Input params is invalid."); in GetPubKeyEncoded()
113 LOGE("Input wrong class type!"); in GetPubKeyEncoded()
122 LOGE("Failed to convert internal pubkey to der format!"); in GetPubKeyEncoded()
128 LOGE("Failed to malloc for sig algorithm params!"); in GetPubKeyEncoded()
149 LOGE("The input data is null!"); in VerifyX509Openssl()
154 LOGE("Input wrong class type!"); in VerifyX509Openssl()
162 LOGE("Failed to verify x509 cert's signature."); in VerifyX509Openssl()
[all …]
/base/security/device_auth/services/mk_agree/src/
Dmk_agree_task.c34 LOGE("Failed to generate client salt!"); in GeneratePakeRequestPayload()
39 LOGE("Failed to init devicePk!"); in GeneratePakeRequestPayload()
44 LOGE("Failed to get device pk!"); in GeneratePakeRequestPayload()
49 LOGE("Failed to add salt to payload!"); in GeneratePakeRequestPayload()
54 LOGE("Failed to add devicePk to payload!"); in GeneratePakeRequestPayload()
66 LOGE("Failed to create payload!"); in GeneratePakeRequestPayloadData()
71 LOGE("Failed to generate pake request payload!"); in GeneratePakeRequestPayloadData()
78 LOGE("Failed to pack payload json to string!"); in GeneratePakeRequestPayloadData()
83 LOGE("Failed to init payload data!"); in GeneratePakeRequestPayloadData()
88 LOGE("Failed to copy payload!"); in GeneratePakeRequestPayloadData()
[all …]
Dkey_manager.c41 LOGE("Failed to alloc key alias hex memory!"); in ConvertHashToAlias()
46 LOGE("Failed to convert key alias hash to hex!"); in ConvertHashToAlias()
51 LOGE("Failed to copy key alias hex!"); in ConvertHashToAlias()
64 LOGE("Failed to alloc key alias hex memory!"); in ConvertHashToAliasWithPrefix()
69 LOGE("Failed to convert key alias hash to hex!"); in ConvertHashToAliasWithPrefix()
75 LOGE("Failed to copy key alias prefix!"); in ConvertHashToAliasWithPrefix()
83 LOGE("Failed to copy key alias hex!"); in ConvertHashToAliasWithPrefix()
94 LOGE("Input key alias is null!"); in GenerateDevKeyAlias()
100 LOGE("Failed to get local udid!"); in GenerateDevKeyAlias()
108 LOGE("Failed to generate key alias hash!"); in GenerateDevKeyAlias()
[all …]
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_server_task.c43 LOGE("Failed to get userIdPeer from input data for server in sym auth."); in ParseIsoAuthClientBeginMsg()
47 LOGE("Copy for userIdPeer failed for server in sym auth."); in ParseIsoAuthClientBeginMsg()
51 LOGE("Get seed from json failed for server."); in ParseIsoAuthClientBeginMsg()
56 LOGE("Get saltPeer from json failed for server."); in ParseIsoAuthClientBeginMsg()
61 LOGE("ExtractAndVerifyPayload failed for server, res: %d.", res); in ParseIsoAuthClientBeginMsg()
70 LOGE("Create data json failed."); in AddGetTokenDataToJson()
75 LOGE("Add payloadSelf to json failed."); in AddGetTokenDataToJson()
79 LOGE("Add hmacToken to json failed."); in AddGetTokenDataToJson()
84 LOGE("Add saltSelf to json failed."); in AddGetTokenDataToJson()
88 LOGE("Add data json obj to json failed."); in AddGetTokenDataToJson()
[all …]
Diso_auth_client_task.c44 LOGE("Create data json failed."); in AddBeginDataToJson()
50 LOGE("Add saltSelf to json failed."); in AddBeginDataToJson()
55 LOGE("Add payloadSelf to json failed."); in AddBeginDataToJson()
59 LOGE("Add seed to json failed."); in AddBeginDataToJson()
63 LOGE("Add data json obj to json failed."); in AddBeginDataToJson()
78 LOGE("Create sendToPeer json failed."); in PackIsoAuthClientBeginMsg()
83 LOGE("Add authForm to json failed."); in PackIsoAuthClientBeginMsg()
87 LOGE("Add step code to json failed."); in PackIsoAuthClientBeginMsg()
91 LOGE("Add credentialType to json failed."); in PackIsoAuthClientBeginMsg()
95 LOGE("Add userIdSelf to json failed."); in PackIsoAuthClientBeginMsg()
[all …]
Diso_auth_task_common.c50 LOGE("Failed to malloc for userIdSelf."); in FillUserId()
55 LOGE("Failed to malloc for userIdPeer."); in FillUserId()
60 LOGE("Failed to get self userId from input data in sym auth."); in FillUserId()
65 LOGE("Copy for userIdSelf failed in sym auth."); in FillUserId()
75 LOGE("InitSingleParam for devIdSelf failed, res: %d.", res); in FillPayload()
80 LOGE("Failed to get devIdSelf in sym auth."); in FillPayload()
85 LOGE("Copy for self devId failed in sym auth."); in FillPayload()
91 LOGE("Failed to get self deviceId from input data in sym auth."); in FillPayload()
97 LOGE("Failed to malloc for selfDeviceId."); in FillPayload()
101 LOGE("Copy for deviceIdSelf failed in sym auth."); in FillPayload()
[all …]
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_common.c26 LOGE("Failed to get pinCode from jsonParams!"); in AddPinCode()
30 LOGE("Failed to add pinCode to params!"); in AddPinCode()
39 LOGE("Failed to add groupId to params!"); in AddGroupId()
49 LOGE("Failed to get groupName from jsonParams!"); in AddGroupName()
53 LOGE("Failed to add groupName to params!"); in AddGroupName()
63 LOGE("Failed to add groupOwner to params!"); in AddGroupOwnerIfExist()
73 LOGE("Failed to get groupType from json params!"); in AddGroupTypeIfValid()
77 LOGE("The input groupType is invalid!"); in AddGroupTypeIfValid()
81 LOGE("Failed to add groupType to params!"); in AddGroupTypeIfValid()
92 LOGE("The input groupVisibility is invalid!"); in AddGroupVisibilityIfValidOrDefault()
[all …]
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Drsa_asy_key_generator_openssl.c79 LOGE("Set invalid primes %d to Keygen bits %d.", params->primes, params->bits); in CheckRsaKeyGenParams()
87 LOGE("Set invalid primes %d to Keygen bits %d.", params->primes, params->bits); in CheckRsaKeyGenParams()
93 LOGE("Set invalid primes %d to Keygen bits %d.", params->primes, params->bits); in CheckRsaKeyGenParams()
100 LOGE("The current bits %d is invalid.", params->bits); in CheckRsaKeyGenParams()
126 LOGE("Rsa has no string attribute"); in GetRsaPubKeySpecString()
135 LOGE("Rsa has no integer attribute"); in GetRsaPubKeySpecInt()
144 LOGE("Rsa has no string attribute"); in GetRsaPriKeySpecString()
153 LOGE("Rsa has no integer attribute"); in GetRsaPriKeySpecInt()
161 LOGE("Input params is invalid."); in GetRsaPriKeySpecBigInteger()
165 LOGE("Class not match"); in GetRsaPriKeySpecBigInteger()
[all …]
/base/security/crypto_framework/test/unittest/src/
Dcrypto_sm4_cipher_test.cpp64 LOGE("HcfSymKeyGeneratorCreate failed!"); in GenerateSm4SymKey()
70 LOGE("generateSymKey failed!"); in GenerateSm4SymKey()
82 LOGE("HcfSymKeyGeneratorCreate failed!"); in GenerateSymKey()
88 LOGE("generateSymKey failed!"); in GenerateSymKey()
103 LOGE("init failed! %d", ret); in Sm4EncryptWithInput()
109 LOGE("update failed!"); in Sm4EncryptWithInput()
123 LOGE("doFinal failed!"); in Sm4EncryptWithInput()
146 LOGE("init failed! %d", ret); in Sm4DecryptEmptyMsg()
152 LOGE("doFinal failed!"); in Sm4DecryptEmptyMsg()
174 LOGE("init failed! "); in Sm4Encrypt()
[all …]
Dcrypto_3des_cipher_test.cpp61 LOGE("HcfSymKeyGeneratorCreate failed!"); in GenerateDesSymKey()
67 LOGE("generateSymKey failed!"); in GenerateDesSymKey()
82 LOGE("init failed! %d", ret); in DesEncrypt()
88 LOGE("update failed!"); in DesEncrypt()
102 LOGE("doFinal failed!"); in DesEncrypt()
125 LOGE("init failed! %d", ret); in DesDecrypt()
131 LOGE("update failed!"); in DesDecrypt()
145 LOGE("doFinal failed!"); in DesDecrypt()
172 LOGE("init failed! %d", ret); in DesNoUpdateEncrypt()
179 LOGE("doFinal failed!"); in DesNoUpdateEncrypt()
[all …]
Dcrypto_aes_cipher_test.cpp89 LOGE("HcfSymKeyGeneratorCreate failed!"); in GenerateSymKey()
95 LOGE("generateSymKey failed!"); in GenerateSymKey()
112 LOGE("HcfSymKeyGeneratorCreate failed!%d", ret); in ConvertSymKey()
118 LOGE("generateSymKey failed!"); in ConvertSymKey()
200 LOGE("init failed! %d", ret); in AesMultiBlockEncrypt()
207 LOGE("update failed!"); in AesMultiBlockEncrypt()
220 LOGE("doFinal failed!"); in AesMultiBlockEncrypt()
254 LOGE("init failed! %d", ret); in AesMultiBlockDecrypt()
261 LOGE("update failed!"); in AesMultiBlockDecrypt()
274 LOGE("doFinal failed!"); in AesMultiBlockDecrypt()
[all …]
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
Dx509_certificate.c50 LOGE("CertType is null!"); in FindAbility()
58 LOGE("Cert not support! [cert]: %s", certType); in FindAbility()
65 LOGE("Invalid input parameter."); in DestroyX509Certificate()
69 LOGE("Class is not match."); in DestroyX509Certificate()
80 LOGE("Invalid input parameter."); in Verify()
84 LOGE("Class is not match."); in Verify()
94 LOGE("Invalid input parameter."); in GetEncoded()
98 LOGE("Class is not match."); in GetEncoded()
108 LOGE("Invalid input parameter."); in GetPublicKey()
112 LOGE("Class is not match."); in GetPublicKey()
[all …]
Dx509_crl.c60 LOGE("CertType is null!"); in FindAbility()
68 LOGE("Cert not support! [cert]: %s", certType); in FindAbility()
75 LOGE("Invalid input parameter."); in DestroyX509Crl()
79 LOGE("Class is not match."); in DestroyX509Crl()
90 LOGE("Invalid input parameter."); in GetType()
94 LOGE("Class is not match."); in GetType()
104 LOGE("Invalid input parameter."); in IsRevoked()
108 LOGE("Class is not match."); in IsRevoked()
118 LOGE("Invalid input parameter."); in Verify()
122 LOGE("Class is not match."); in Verify()
[all …]
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/
Dcompatible_auth_sub_session_common.c39 LOGE("Account related group auth object is null!"); in GetAccountRelatedCandidateGroups()
57 LOGE("Failed to query p2p groups!"); in GetAccountUnrelatedCandidateGroups()
71 LOGE("Failed to get isClient!"); in GetCandidateGroups()
87 LOGE("Failed to query groups for groupId: %s!", groupId); in GetGroupInfoByGroupId()
95 LOGE("Failed to add groupId for client auth!"); in AddGeneralParams()
100 LOGE("Failed to add authFrom for client auth!"); in AddGeneralParams()
106 LOGE("Failed to add serviceType for client compatible group auth!"); in AddGeneralParams()
111 LOGE("Failed to add serviceType with groupId for client auth!"); in AddGeneralParams()
123 LOGE("Failed to allocate memory for localAuthInfo!"); in ExtractAndAddParams()
140 LOGE("Failed to get group auth handle!"); in ExtractAndAddParams()
[all …]
/base/security/device_auth/services/authenticators/src/account_related/
Daccount_task_main.c31 LOGE("Create sendToSelf json failed."); in AccountSendErrMsgToSelf()
35 LOGE("Add errCode to self json failed."); in AccountSendErrMsgToSelf()
40 LOGE("Add sendToSelf obj to out json failed."); in AccountSendErrMsgToSelf()
51 LOGE("Create sendToSelf json failed."); in AccountSendErrMsgToOut()
56 LOGE("Create sendToPeer json failed."); in AccountSendErrMsgToOut()
62 LOGE("Failed to add error message to json for bind."); in AccountSendErrMsgToOut()
67 LOGE("Failed to add error message to json for auth."); in AccountSendErrMsgToOut()
72 LOGE("Add errCode to json failed."); in AccountSendErrMsgToOut()
76 LOGE("Add auth form to json failed."); in AccountSendErrMsgToOut()
80 LOGE("Add sendToPeer to json failed."); in AccountSendErrMsgToOut()
[all …]
/base/security/device_auth/services/
Ddevice_auth.c61 LOGE("sha256 failed, ret:%d", ret); in IsDeviceIdHashMatch()
67 LOGE("malloc udidHash string failed"); in IsDeviceIdHashMatch()
72 LOGE("Byte to hexString failed, ret:%d", ret); in IsDeviceIdHashMatch()
79 LOGE("Failed to convert the input sub udid hash to upper case!"); in IsDeviceIdHashMatch()
102 LOGE("query trusted devices failed!"); in GetUdidByGroup()
121 LOGE("deviceIdHash is null"); in GetDeviceIdByUdidHash()
128 LOGE("Failed to query groups!"); in GetDeviceIdByUdidHash()
154 LOGE("get peerConnDeviceId from json fail."); in GetPeerUdidFromJson()
170 LOGE("get groupId from json fail."); in AddGroupInfoToContextByInput()
175 LOGE("Failed to get groupName from jsonParams!"); in AddGroupInfoToContextByInput()
[all …]
/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/
Dsym_key_openssl.c40 LOGE("Invalid input parameter!"); in GetEncoded()
44 LOGE("Class is not match."); in GetEncoded()
49 LOGE("Invalid SymKeyImpl parameter!"); in GetEncoded()
54 LOGE("malloc keyMaterial failed!"); in GetEncoded()
65 LOGE("symKey is NULL."); in ClearMem()
69 LOGE("Class is not match."); in ClearMem()
81 LOGE("Invalid input parameter!"); in GetFormat()
85 LOGE("Class is not match."); in GetFormat()
105 LOGE("Invalid input parameter!"); in GetAlgorithm()
109 LOGE("Class is not match."); in GetAlgorithm()
[all …]
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
Dcipher_rsa_openssl.c48 LOGE("Class not match"); in CheckCipherInitParams()
54 LOGE("Class not match"); in CheckCipherInitParams()
59 LOGE("Invalid opMode %u", opMode); in CheckCipherInitParams()
72 LOGE("dup pub RSA fail."); in DuplicateRsaFromKey()
75 LOGE("dup pub RSA success."); in DuplicateRsaFromKey()
81 LOGE("malloc RSA failed"); in DuplicateRsaFromKey()
89 LOGE("get key attribute fail"); in DuplicateRsaFromKey()
97 LOGE("assign RSA n, e, d failed"); in DuplicateRsaFromKey()
106 LOGE("dup pri RSA success."); in DuplicateRsaFromKey()
109 LOGE("OpMode not match."); in DuplicateRsaFromKey()
[all …]
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/
Dsym_token_manager.c57 LOGE("Failed to get the account storage path!"); in GetTokensFilePath()
67 LOGE("sprintf_s fail!"); in GetTokensFilePath()
77 LOGE("Failed to allocate token memory!"); in CreateSymTokenByJson()
82 LOGE("Failed to get userId from json!"); in CreateSymTokenByJson()
88 LOGE("Failed to get deviceId from json!"); in CreateSymTokenByJson()
93 LOGE("Failed to copy userId!"); in CreateSymTokenByJson()
98 LOGE("Failed to copy deviceId!"); in CreateSymTokenByJson()
109 LOGE("Failed to get symTokensJson from json!"); in CreateTokensFromJson()
114 LOGE("No token found."); in CreateTokensFromJson()
120 LOGE("Token json is null"); in CreateTokensFromJson()
[all …]
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c55 LOGE("The input ownerName is NULL!"); in GetGroupNumByOwner()
64 LOGE("Failed to query groups!"); in GetGroupNumByOwner()
85 LOGE("Failed to query trusted devices!"); in GetTrustedDeviceEntryById()
103 LOGE("The input groupId is NULL!"); in GetGroupEntryById()
112 LOGE("Failed to query groups!"); in GetGroupEntryById()
128 LOGE("The input groupId or deviceId is NULL!"); in IsTrustedDeviceInGroup()
144 LOGE("The number of groups created by the service exceeds the maximum!"); in CheckGroupNumLimit()
155 LOGE("Failed to get local udid! res: %d", res); in IsLocalDevice()
164 LOGE("The input groupId or appId is NULL!"); in IsGroupOwner()
169 LOGE("The group cannot be found!"); in IsGroupOwner()
[all …]

12345678910>>...12