/base/security/crypto_framework/frameworks/key/ |
H A D | ecc_key_util.c | 42 LOGE("params is null"); in FindAbility() 50 LOGE("Algo not support! [Algo]: %d", params->algo); in FindAbility() 57 LOGE("Invalid HcfBigInteger parameter"); in IsBigIntegerValid() 61 LOGE("BigInteger data is NULL"); in IsBigIntegerValid() 65 LOGE("BigInteger length is 0"); in IsBigIntegerValid() 74 LOGE("Invalid point parameter"); in IsPointValid() 78 LOGE("Invalid x coordinate parameter"); in IsPointValid() 82 LOGE("Invalid y coordinate parameter"); in IsPointValid() 91 LOGE("Failed to parse params: curveName is invalid!"); in HcfConvertPoint() 96 LOGE("Faile in HcfConvertPoint() [all...] |
/base/security/device_auth/services/key_agree_sdk/src/ |
H A D | key_agree_sdk.c | 37 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("Creat in IsErrorMessage() [all...] |
H A D | key_agree_session.c | 52 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("Conver in VersionToString() [all...] |
/base/security/security_guard/frameworks/common/collector/src/ |
H A D | security_collector_subscribe_info.cpp | 28 LOGE("failed to write duration_"); in Marshalling() 32 LOGE("failed to write isNotify_"); in Marshalling() 37 LOGE("failed to write eventId"); in Marshalling() 41 LOGE("failed to write version"); in Marshalling() 45 LOGE("failed to write content"); in Marshalling() 49 LOGE("failed to write extra"); in Marshalling() 59 LOGE("failed to read duration_"); in ReadFromParcel() 63 LOGE("failed to read isNotify_"); in ReadFromParcel() 68 LOGE("failed to read .eventId"); in ReadFromParcel() 72 LOGE("faile in ReadFromParcel() [all...] |
H A D | security_collector_manager_proxy.cpp | 35 LOGE("WriteInterfaceToken error"); in Subscribe() 40 LOGE("failed to write parcelable for subscribeInfo"); in Subscribe() 49 LOGE("Remote error"); in Subscribe() 54 LOGE("ret=%{public}d", ret); in Subscribe() 69 LOGE("WriteInterfaceToken error"); in Unsubscribe() 78 LOGE("Remote error"); in Unsubscribe() 83 LOGE("ret=%{public}d", ret); in Unsubscribe() 98 LOGE("WriteInterfaceToken error"); in CollectorStart() 103 LOGE("failed to write parcelable for subscribeInfo"); in CollectorStart() 110 LOGE("Remot in CollectorStart() [all...] |
/base/security/device_auth/services/mk_agree/src/ |
H A D | mk_agree_task.c | 34 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("Faile in GeneratePakeRequestPayloadData() [all...] |
/base/security/device_auth/services/session_manager/src/session/v2/ |
H A D | dev_session_util.c | 30 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("Faile in BuildRealPkInfoJson() [all...] |
/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_sm4_cfb_cipher_test.cpp | 59 LOGE("HcfSymKeyGeneratorCreate failed!"); in HWTEST_F() 65 LOGE("generateSymKey failed!"); in HWTEST_F() 71 LOGE("HcfCipherCreate failed!"); in HWTEST_F() 77 LOGE("Sm4Encrypt failed! "); in HWTEST_F() 83 LOGE("Sm4Decrypt failed! "); in HWTEST_F() 107 LOGE("HcfSymKeyGeneratorCreate failed!"); in HWTEST_F() 113 LOGE("generateSymKey failed!"); in HWTEST_F() 119 LOGE("HcfCipherCreate failed!"); in HWTEST_F() 125 LOGE("Sm4Encrypt failed! "); in HWTEST_F() 131 LOGE("Sm4Decryp in HWTEST_F() [all...] |
H A D | crypto_sm4_ecb_cipher_test.cpp | 58 LOGE("HcfSymKeyGeneratorCreate failed!"); in HWTEST_F() 64 LOGE("generateSymKey failed!"); in HWTEST_F() 70 LOGE("HcfCipherCreate failed!"); in HWTEST_F() 76 LOGE("Sm4Encrypt failed! "); in HWTEST_F() 82 LOGE("Sm4Decrypt failed! "); in HWTEST_F() 105 LOGE("HcfSymKeyGeneratorCreate failed!"); in HWTEST_F() 111 LOGE("generateSymKey failed!"); in HWTEST_F() 117 LOGE("HcfCipherCreate failed!"); in HWTEST_F() 123 LOGE("Sm4Encrypt failed! "); in HWTEST_F() 129 LOGE("Sm4Decryp in HWTEST_F() [all...] |
/base/security/crypto_framework/frameworks/crypto_operation/ |
H A D | sm2_crypto_util.c | 60 LOGE("Invalid param mode"); in CheckMode() 67 LOGE("Spec is null"); in CheckSm2CipherTextSpec() 71 LOGE("Spec.xCoordinate is null"); in CheckSm2CipherTextSpec() 75 LOGE("Spec.yCoordinate is null"); in CheckSm2CipherTextSpec() 79 LOGE("Spec.hashData is null"); in CheckSm2CipherTextSpec() 83 LOGE("Spec.cipherTextData is null"); in CheckSm2CipherTextSpec() 87 LOGE("Invalid param hashData"); in CheckSm2CipherTextSpec() 96 LOGE("Invalid param mode!"); in HcfGenCipherTextBySpec() 100 LOGE("Invalid param output!"); in HcfGenCipherTextBySpec() 104 LOGE("Invali in HcfGenCipherTextBySpec() [all...] |
H A D | signature.c | 84 LOGE("Algo not support in OnlySign! [Algo]: %d", params->algo); in FindSignAbility() 93 LOGE("Algo not support! [Algo]: %d", params->algo); in FindSignAbility() 100 LOGE("Failed to check recover params!"); in FindVerifyAbility() 109 LOGE("Algo not support! [Algo]: %d", params->algo); in FindVerifyAbility() 132 LOGE("Invalid algo %u.", value); in SetKeyTypeDefault() 183 LOGE("there is not matched algorithm."); in SetKeyType() 191 LOGE("Invalid signature params"); in ParseSignatureParams() 239 LOGE("The input self ptr is NULL!"); in GetSignAlgoName() 251 LOGE("The input self ptr is NULL!"); in GetVerifyAlgoName() 266 LOGE("Clas in DestroySign() [all...] |
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/ |
H A D | compatible_bind_sub_session_common.c | 27 LOGE("Failed to get pinCode from jsonParams!"); in AddPinCode() 31 LOGE("Failed to add pinCode to params!"); in AddPinCode() 42 LOGE("Failed to add protocol expand val to params!"); in AddProtocolExpandVal() 51 LOGE("Failed to add groupId to params!"); in AddGroupId() 61 LOGE("Failed to get groupName from jsonParams!"); in AddGroupName() 65 LOGE("Failed to add groupName to params!"); in AddGroupName() 75 LOGE("Failed to add groupOwner to params!"); in AddGroupOwnerIfExist() 85 LOGE("Failed to get groupType from json params!"); in AddGroupTypeIfValid() 89 LOGE("The input groupType is invalid!"); in AddGroupTypeIfValid() 93 LOGE("Faile in AddGroupTypeIfValid() [all...] |
/base/security/crypto_framework/plugin/mbedtls_plugin/rand/src/ |
H A D | mbedtls_rand.c | 39 LOGE("Class is not match."); in MbedtlsGetMdEntropy() 49 LOGE("Class is not match."); in MbedtlsGetMdCtrDrbg() 58 LOGE("Invalid params!"); in MbedtlsGenerateRandom() 62 LOGE("Invalid numBytes!"); in MbedtlsGenerateRandom() 67 LOGE("Invalid ctrDrbg null!"); in MbedtlsGenerateRandom() 72 LOGE("Failed to allocate random->data memory!"); in MbedtlsGenerateRandom() 77 LOGE("RAND_bytes return is %d error!", ret); in MbedtlsGenerateRandom() 90 LOGE("Invalid input parameter."); in MbedtlsGetRandAlgoName() 94 LOGE("Class is not match."); in MbedtlsGetRandAlgoName() 104 LOGE("Invali in MbedtlsSetSeed() [all...] |
/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/iso_auth_task/ |
H A D | iso_auth_server_task.c | 43 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("Ad in AddGetTokenDataToJson() [all...] |
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/ |
H A D | compatible_auth_sub_session_common.c | 43 LOGE("Account related group auth object is null!"); in GetAccountRelatedCandidateGroups() 65 LOGE("Account cred is empty."); in GetAccountRelatedCandidateGroups() 81 LOGE("Failed to query p2p groups!"); in GetAccountUnrelatedCandidateGroups() 95 LOGE("Failed to get isClient!"); in GetCandidateGroups() 111 LOGE("Failed to query groups for groupId: %s!", groupId); in GetGroupInfoByGroupId() 119 LOGE("Failed to add groupId for client auth!"); in AddGeneralParams() 124 LOGE("Failed to add authFrom for client auth!"); in AddGeneralParams() 130 LOGE("Failed to add serviceType for client compatible group auth!"); in AddGeneralParams() 135 LOGE("Failed to add serviceType with groupId for client auth!"); in AddGeneralParams() 147 LOGE("Faile in ExtractAndAddParams() [all...] |
H A D | compatible_auth_sub_session_util.c | 31 LOGE("Invalid auth form!"); in AuthFormToModuleType() 40 LOGE("Failed to get auth form!"); in GetAuthModuleType() 50 LOGE("Failed to get servicePkgName from json!"); in GetDuplicatePkgName() 56 LOGE("Failed to allocate returnPkgName memory!"); in GetDuplicatePkgName() 60 LOGE("Failed to copy pkgName!"); in GetDuplicatePkgName() 73 LOGE("Invalid os account!"); in CombineAuthConfirmData() 77 LOGE("This access is not from the foreground user, rejected it."); in CombineAuthConfirmData() 81 LOGE("Failed to add os accountId!"); in CombineAuthConfirmData() 86 LOGE("Failed to get auth form!"); in CombineAuthConfirmData() 92 LOGE("Faile in CombineAuthConfirmData() [all...] |
/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | x509_crl_openssl.c | 62 LOGE("Invalid params!"); in GetType() 66 LOGE("Input wrong class type!"); in GetType() 75 LOGE("Input wrong class type!"); in GetCrl() 84 LOGE("Input wrong openssl class type!"); in GetX509FromCertificate() 89 LOGE("Input wrong openssl class type!"); in GetX509FromCertificate() 99 LOGE("Invalid params!"); in IsRevoked() 103 LOGE("Input wrong class type!"); in IsRevoked() 108 LOGE("Input Cert is wrong!"); in IsRevoked() 113 LOGE("crl is null!"); in IsRevoked() 124 LOGE("Invali in GetEncoded() [all...] |
H A D | x509_certificate_openssl.c | 67 LOGE("Input wrong class type!"); in DestroyX509Openssl() 87 LOGE("Input wrong class type!"); in DestroyX509PubKeyOpenssl() 108 LOGE("Input params is invalid."); in GetPubKeyEncoded() 112 LOGE("Input wrong class type!"); in GetPubKeyEncoded() 121 LOGE("Failed to convert internal pubkey to der format!"); in GetPubKeyEncoded() 127 LOGE("Failed to malloc for sig algorithm params!"); in GetPubKeyEncoded() 148 LOGE("The input data is null!"); in VerifyX509Openssl() 153 LOGE("Input wrong class type!"); in VerifyX509Openssl() 162 LOGE("Failed to verify x509 cert's signature."); in VerifyX509Openssl() 172 LOGE("Th in GetEncodedX509Openssl() [all...] |
/base/security/certificate_framework/frameworks/core/v1.0/certificate/ |
H A D | x509_certificate.c | 51 LOGE("CertType is null!"); in FindAbility() 59 LOGE("Cert not support! [cert]: %s", certType); in FindAbility() 66 LOGE("Invalid input parameter."); in DestroyX509Certificate() 70 LOGE("Class is not match."); in DestroyX509Certificate() 81 LOGE("Invalid input parameter."); in Verify() 85 LOGE("Class is not match."); in Verify() 95 LOGE("Invalid input parameter."); in GetEncoded() 99 LOGE("Class is not match."); in GetEncoded() 109 LOGE("Invalid input parameter."); in GetPublicKey() 113 LOGE("Clas in GetPublicKey() [all...] |
/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/ |
H A D | sym_token_manager.c | 53 LOGE("userId is null!"); in IsTokenMatch() 57 LOGE("deviceId is null!"); in IsTokenMatch() 67 LOGE("Failed to get the storage path!"); in GetTokensFilePathCe() 72 LOGE("Failed to generate token path!"); in GetTokensFilePathCe() 82 LOGE("Failed to get the account storage path!"); in GetTokensFilePathDe() 92 LOGE("sprintf_s fail!"); in GetTokensFilePathDe() 111 LOGE("Failed to allocate token memory!"); in CreateSymTokenByJson() 116 LOGE("Failed to get userId from json!"); in CreateSymTokenByJson() 122 LOGE("Failed to get deviceId from json!"); in CreateSymTokenByJson() 127 LOGE("Faile in CreateSymTokenByJson() [all...] |
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
H A D | ecc_common_param_spec_generator_openssl.c | 32 LOGE("new ec point failed."); in BuildEcPoint() 37 LOGE("Get ec generator failed."); in BuildEcPoint() 42 LOGE("Ec point copy failed."); in BuildEcPoint() 55 LOGE("Build ec point failed."); in BuildCommonParamPart() 60 LOGE("New x failed."); in BuildCommonParamPart() 66 LOGE("New y failed."); in BuildCommonParamPart() 74 LOGE("EC_POINT_get_affine_coordinates_GFp failed."); in BuildCommonParamPart() 79 LOGE("Build commonParamSpec x failed."); in BuildCommonParamPart() 84 LOGE("Build commonParamSpec y failed."); in BuildCommonParamPart() 99 LOGE("Ne in BuildCommonParamGFp() [all...] |
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/ |
H A D | cipher_sm2_crypto_util_openssl.c | 29 LOGE("Build x failed."); in BuildSm2Ciphertext() 33 LOGE("Build y failed."); in BuildSm2Ciphertext() 37 LOGE("SM2 openssl [ASN1_OCTET_STRING_new] c3 c2 fail"); in BuildSm2Ciphertext() 42 LOGE("SM2 openssl [ASN1_OCTET_STRING_set] c3 error"); in BuildSm2Ciphertext() 48 LOGE("SM2 openssl [ASN1_OCTET_STRING_set] c2 error"); in BuildSm2Ciphertext() 59 LOGE("SM2 openssl [SM2_Ciphertext_new] failed"); in HcfSm2SpecToAsn1() 66 LOGE("SM2 build SM2Ciphertext fail"); in HcfSm2SpecToAsn1() 73 LOGE("SM2 openssl [i2d_SM2_Ciphertext] error"); in HcfSm2SpecToAsn1() 85 LOGE("BigNumToBigInteger xCoordinate failed."); in BuildSm2CiphertextSpec() 89 LOGE("BigNumToBigIntege in BuildSm2CiphertextSpec() [all...] |
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/group_auth_common/ |
H A D | group_auth_data_operation.c | 30 LOGE("[GA]: Failed to copy udid!"); in GaDeepCopyDeviceEntry() 34 LOGE("[GA]: Failed to copy udid!"); in GaDeepCopyDeviceEntry() 38 LOGE("[GA]: Failed to copy authId!"); in GaDeepCopyDeviceEntry() 42 LOGE("[GA]: Failed to copy serviceType!"); in GaDeepCopyDeviceEntry() 46 LOGE("[GA]: Failed to copy userId!"); in GaDeepCopyDeviceEntry() 60 LOGE("[GA]: The group owner is lost!"); in GaDeepCopyGroupEntry() 65 LOGE("[GA]: Failed to copy groupName!"); in GaDeepCopyGroupEntry() 69 LOGE("[GA]: Failed to copy groupId!"); in GaDeepCopyGroupEntry() 73 LOGE("[GA]: Failed to copy userId!"); in GaDeepCopyGroupEntry() 81 LOGE("[G in GaDeepCopyGroupEntry() [all...] |
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/ |
H A D | signature_rsa_openssl.c | 91 LOGE("Class is null"); in DestroyRsaSign() 95 LOGE("Class not match."); in DestroyRsaSign() 112 LOGE("Class is null"); in DestroyRsaVerify() 116 LOGE("Class not match."); in DestroyRsaVerify() 133 LOGE("Input keyType dismatch with sign option, please use priKey."); in CheckInitKeyType() 138 LOGE("Input keyType dismatch with sign option, please use pubKey."); in CheckInitKeyType() 151 LOGE("dup pri RSA fail"); in InitRsaEvpKey() 156 LOGE("dup pub RSA fail"); in InitRsaEvpKey() 161 LOGE("The Key has lost."); in InitRsaEvpKey() 251 LOGE("Ge in SetSignParams() [all...] |
/base/security/device_auth/services/identity_manager/src/ |
H A D | cert_operation.c | 38 LOGE("Failed to alloc memory for entity!"); in SetProtocolsForUidType() 44 LOGE("Failed to push entity to vec"); in SetProtocolsForUidType() 59 LOGE("Failed to create url json!"); in GetIdentityInfoByType() 63 LOGE("Failed to add credential type!"); in GetIdentityInfoByType() 68 LOGE("Failed to add key type!"); in GetIdentityInfoByType() 73 LOGE("Failed to add trust type!"); in GetIdentityInfoByType() 79 LOGE("Failed to add group id!"); in GetIdentityInfoByType() 86 LOGE("Failed to pack url json to string!"); in GetIdentityInfoByType() 93 LOGE("Failed to set preSharedUrl of proof!"); in GetIdentityInfoByType() 99 LOGE("Faile in GetIdentityInfoByType() [all...] |