/drivers/peripheral/pin_auth/hdi_service/common/src/ |
H A D | attribute.c | 105 return RESULT_GENERAL_ERROR;
in GetAttributeIndex() 112 return RESULT_GENERAL_ERROR;
in ReadDataFromMsg() 117 return RESULT_GENERAL_ERROR;
in ReadDataFromMsg() 122 return RESULT_GENERAL_ERROR;
in ReadDataFromMsg() 136 return RESULT_GENERAL_ERROR;
in ReadUint32FromMsg() 147 return RESULT_GENERAL_ERROR;
in WriteDataToMsg() 152 return RESULT_GENERAL_ERROR;
in WriteDataToMsg() 157 return RESULT_GENERAL_ERROR;
in WriteDataToMsg() 171 return RESULT_GENERAL_ERROR;
in WriteUInt32ToMsg() 180 return RESULT_GENERAL_ERROR;
in CheckAddReadIndex() [all...] |
/drivers/peripheral/user_auth/test/unittest/service_test/src/ |
H A D | signature_operation.cpp | 122 return RESULT_GENERAL_ERROR; in GenerateExecutorKeyPair() 133 return RESULT_GENERAL_ERROR; in WriteTlvHead() 138 return RESULT_GENERAL_ERROR; in WriteTlvHead() 148 return RESULT_GENERAL_ERROR; in WriteTlv() 153 return RESULT_GENERAL_ERROR; in WriteTlv() 193 return RESULT_GENERAL_ERROR; in GenerateRetTlv() 197 return RESULT_GENERAL_ERROR; in GenerateRetTlv() 205 return RESULT_GENERAL_ERROR; in GenerateRetTlv() 212 return RESULT_GENERAL_ERROR; in GenerateRetTlv() 222 return RESULT_GENERAL_ERROR; in GenerateRetTlv() [all...] |
/drivers/peripheral/user_auth/hdi_service/database/src/ |
H A D | global_config_file_manager.c | 98 return RESULT_GENERAL_ERROR; in UpdateGlobalConfigFile() 112 return RESULT_GENERAL_ERROR; in UpdateGlobalConfigFile() 118 return RESULT_GENERAL_ERROR; in UpdateGlobalConfigFile() 125 return RESULT_GENERAL_ERROR; in UpdateGlobalConfigFile() 211 return RESULT_GENERAL_ERROR; in ReadGlobalConfigInfo() 216 return RESULT_GENERAL_ERROR; in ReadGlobalConfigInfo() 221 return RESULT_GENERAL_ERROR; in ReadGlobalConfigInfo() 239 return RESULT_GENERAL_ERROR; in LoadGlobalConfigInfo() 249 return RESULT_GENERAL_ERROR; in LoadGlobalConfigInfo()
|
H A D | idm_file_manager.c | 57 return RESULT_GENERAL_ERROR; in StreamWriteEnrolledInfo() 84 return RESULT_GENERAL_ERROR; in StreamWriteCredentialList() 139 return RESULT_GENERAL_ERROR; in WriteUserInfo() 277 return RESULT_GENERAL_ERROR; in StreamReadUserInfo() 283 return RESULT_GENERAL_ERROR; in StreamReadUserInfo() 289 return RESULT_GENERAL_ERROR; in StreamReadUserInfo() 294 return RESULT_GENERAL_ERROR; in StreamReadUserInfo() 299 return RESULT_GENERAL_ERROR; in StreamReadUserInfo()
|
/drivers/peripheral/user_auth/hdi_service/user_auth/src/ |
H A D | identify_funcs.c | 40 return RESULT_GENERAL_ERROR;
in DoIdentify() 63 return RESULT_GENERAL_ERROR;
in DoUpdateIdentify() 69 return RESULT_GENERAL_ERROR;
in DoUpdateIdentify() 72 ResultCode ret = RESULT_GENERAL_ERROR;
in DoUpdateIdentify()
|
H A D | user_auth_funcs.c | 60 return RESULT_GENERAL_ERROR; in GenerateSolutionFunc() 196 ResultCode funcRet = RESULT_GENERAL_ERROR; in GenerateRemoteAuthResultMsg() 264 return RESULT_GENERAL_ERROR; in RequestAuthResultFunc() 271 return RESULT_GENERAL_ERROR; in RequestAuthResultFunc() 320 return RESULT_GENERAL_ERROR; in CheckReuseUnlockTokenValid() 330 return RESULT_GENERAL_ERROR; in CheckReuseUnlockTokenValid() 344 return RESULT_GENERAL_ERROR; in CheckReuseUnlockTokenValid() 348 return RESULT_GENERAL_ERROR; in CheckReuseUnlockTokenValid() 357 return RESULT_GENERAL_ERROR; in CheckReuseUnlockTokenValid() 486 IF_TRUE_LOGE_AND_RETURN_VAL(!getLocalUdidRet, RESULT_GENERAL_ERROR); in GetExecutorInfoLinkedList() [all...] |
H A D | context_manager.c | 49 return RESULT_GENERAL_ERROR; in InitUserAuthContextList() 147 return RESULT_GENERAL_ERROR; in GenerateAuthContext() 168 return RESULT_GENERAL_ERROR; in GenerateAuthContext() 187 return RESULT_GENERAL_ERROR; in CreateIdentifySchedule() 192 return RESULT_GENERAL_ERROR; in CreateIdentifySchedule() 422 return RESULT_GENERAL_ERROR; in CreateAuthSchedule() 428 return RESULT_GENERAL_ERROR; in CreateAuthSchedule() 434 return RESULT_GENERAL_ERROR; in CreateAuthSchedule() 515 return RESULT_GENERAL_ERROR; in CopySchedules() 651 return RESULT_GENERAL_ERROR; in CheckAndSetContextUserId() [all...] |
/drivers/peripheral/user_auth/hdi_service/common/src/ |
H A D | user_sign_centre.c | 61 ret = RESULT_GENERAL_ERROR; in UserAuthTokenHmac() 92 int ret = RESULT_GENERAL_ERROR; in DecryptTokenCipher() 108 ret = RESULT_GENERAL_ERROR; in DecryptTokenCipher() 114 ret = RESULT_GENERAL_ERROR; in DecryptTokenCipher() 179 int32_t ret = RESULT_GENERAL_ERROR; in InitAesGcmParam() 204 return RESULT_GENERAL_ERROR; in CopyTokenCipherParam() 209 return RESULT_GENERAL_ERROR; in CopyTokenCipherParam() 213 return RESULT_GENERAL_ERROR; in CopyTokenCipherParam() 217 return RESULT_GENERAL_ERROR; in CopyTokenCipherParam() 221 return RESULT_GENERAL_ERROR; in CopyTokenCipherParam() [all...] |
/drivers/peripheral/user_auth/hdi_service/coauth/src/ |
H A D | executor_message.c | 41 return RESULT_GENERAL_ERROR; in SignData() 52 return RESULT_GENERAL_ERROR; in SignData() 56 result = RESULT_GENERAL_ERROR; in SignData() 74 ResultCode result = RESULT_GENERAL_ERROR; in GetAttributeDataAndSignTlv() 118 IF_TRUE_LOGE_AND_RETURN_VAL(attribute == NULL, RESULT_GENERAL_ERROR); in GetAttributeExecutorMsg() 119 IF_TRUE_LOGE_AND_RETURN_VAL(retMsg == NULL, RESULT_GENERAL_ERROR); in GetAttributeExecutorMsg() 120 IF_TRUE_LOGE_AND_RETURN_VAL(IS_ARRAY_NULL(*retMsg), RESULT_GENERAL_ERROR); in GetAttributeExecutorMsg() 125 ResultCode result = RESULT_GENERAL_ERROR; in GetAttributeExecutorMsg() 156 ResultCode result = RESULT_GENERAL_ERROR; in Ed25519VerifyData() 191 ResultCode result = RESULT_GENERAL_ERROR; in VerifyDataTlvSignature() [all...] |
H A D | coauth.c | 94 return RESULT_GENERAL_ERROR; in InitCoAuth() 123 return RESULT_GENERAL_ERROR; in AddCoAuthSchedule() 209 return RESULT_GENERAL_ERROR; in GenerateValidScheduleId() 218 return RESULT_GENERAL_ERROR; in GenerateValidScheduleId() 285 ret = RESULT_GENERAL_ERROR; in MountExecutor()
|
/drivers/peripheral/user_auth/hdi_service/idm/src/ |
H A D | idm_session.c | 72 return RESULT_GENERAL_ERROR; in GenerateChallenge() 82 return RESULT_GENERAL_ERROR; in GenerateChallenge() 104 return RESULT_GENERAL_ERROR; in OpenEditSession() 148 return RESULT_GENERAL_ERROR; in CloseEditSession() 230 return RESULT_GENERAL_ERROR; in CheckSessionTimeout() 263 return RESULT_GENERAL_ERROR; in CheckSessionValid() 319 return RESULT_GENERAL_ERROR; in GetChallenge()
|
/drivers/peripheral/user_auth/test/unittest/user_auth_test/ |
H A D | user_auth_funcs_test.cpp | 103 EXPECT_EQ(GetReuseUnlockResult(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local 117 EXPECT_EQ(GetReuseUnlockResult(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local 135 EXPECT_EQ(CheckReuseUnlockResultFunc(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local 157 EXPECT_EQ(CheckReuseUnlockResultFunc(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local 166 EXPECT_EQ(CheckReuseUnlockResultFunc(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local 169 EXPECT_EQ(CheckReuseUnlockResultFunc(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local 177 EXPECT_EQ(CheckReuseUnlockResultFunc(&info, &reuseResult), RESULT_GENERAL_ERROR); in HWTEST_F() local
|
/drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
H A D | file_operator.c | 75 return RESULT_GENERAL_ERROR; in WriteFile() 105 return RESULT_GENERAL_ERROR; in GetFileLen() 111 return RESULT_GENERAL_ERROR; in GetFileLen() 127 return RESULT_GENERAL_ERROR; in DeleteFile()
|
H A D | adaptor_algorithm.c | 143 int32_t ret = RESULT_GENERAL_ERROR; in Ed25519Sign() 188 int32_t ret = RESULT_GENERAL_ERROR; in Ed25519Verify() 229 return RESULT_GENERAL_ERROR; in IamHmac() 240 return RESULT_GENERAL_ERROR; in HmacSha256() 251 return RESULT_GENERAL_ERROR; in HmacSha256() 261 return RESULT_GENERAL_ERROR; in HmacSha512() 272 return RESULT_GENERAL_ERROR; in HmacSha512() 285 return RESULT_GENERAL_ERROR; in SecureRandom() 502 int result = RESULT_GENERAL_ERROR; in AesGcm256Encrypt() 599 int result = RESULT_GENERAL_ERROR; in AesGcm256Decrypt() [all...] |
/drivers/peripheral/user_auth/hdi_service/adaptor/src/ |
H A D | file_operator.c | 83 return RESULT_GENERAL_ERROR; in WriteFile() 114 return RESULT_GENERAL_ERROR; in GetFileLen() 120 return RESULT_GENERAL_ERROR; in GetFileLen() 136 return RESULT_GENERAL_ERROR; in DeleteFile()
|
H A D | adaptor_algorithm.c | 152 int32_t ret = RESULT_GENERAL_ERROR; in Ed25519Sign() 197 int32_t ret = RESULT_GENERAL_ERROR; in Ed25519Verify() 237 return RESULT_GENERAL_ERROR; in IamHmac() 252 return RESULT_GENERAL_ERROR; in HmacSha256() 263 return RESULT_GENERAL_ERROR; in HmacSha256() 276 return RESULT_GENERAL_ERROR; in SecureRandom() 388 return RESULT_GENERAL_ERROR; in AesGcmEncrypt() 466 return RESULT_GENERAL_ERROR; in AesGcmDecrypt()
|
/drivers/peripheral/pin_auth/hdi_service/database/src/ |
H A D | pin_db_ops_base.c | 111 return RESULT_GENERAL_ERROR; in ReadPinFile() 118 return RESULT_GENERAL_ERROR; in ReadPinFile() 139 return RESULT_GENERAL_ERROR; in WritePinFile() 146 return RESULT_GENERAL_ERROR; in WritePinFile()
|
H A D | pin_db_ops.c | 59 return RESULT_GENERAL_ERROR; in GetVersion() 109 return RESULT_GENERAL_ERROR; in ReadPinDbData() 128 return RESULT_GENERAL_ERROR; in ReadPinDbData()
|
H A D | pin_db.c | 94 return RESULT_GENERAL_ERROR; in CoverData() 118 return RESULT_GENERAL_ERROR; in RemovePinFile() 132 return RESULT_GENERAL_ERROR; in RemovePinFile() 413 return RESULT_GENERAL_ERROR; in GenerateRootSecret() 420 return RESULT_GENERAL_ERROR; in GenerateRootSecret() 427 return RESULT_GENERAL_ERROR; in GenerateRootSecret() 554 return RESULT_GENERAL_ERROR; in ProcessAddPin() 560 return RESULT_GENERAL_ERROR; in ProcessAddPin() 567 return RESULT_GENERAL_ERROR; in ProcessAddPin() 598 ResultCode ret = RESULT_GENERAL_ERROR; in AddPin() [all...] |
/drivers/peripheral/pin_auth/hdi_service/main/src/ |
H A D | pin_auth.cpp | 48 {RESULT_GENERAL_ERROR, ResultCodeForCoAuth::GENERAL_ERROR}, 59 return PinResultToCoAuthResult(RESULT_GENERAL_ERROR); in Init() 63 return PinResultToCoAuthResult(RESULT_GENERAL_ERROR); in Init() 67 return PinResultToCoAuthResult(RESULT_GENERAL_ERROR); in Init() 71 return PinResultToCoAuthResult(RESULT_GENERAL_ERROR); in Init() 128 return PinResultToCoAuthResult(RESULT_GENERAL_ERROR); in EnrollPin() 224 return PinResultToCoAuthResult(RESULT_GENERAL_ERROR); in AuthPin() 235 result = RESULT_GENERAL_ERROR; in AuthPin() 272 return PinResultToCoAuthResult(RESULT_GENERAL_ERROR); in DeleteTemplate() 285 int32_t result = RESULT_GENERAL_ERROR; in GetExecutorInfo() [all...] |
H A D | verifier_func.c | 56 return RESULT_GENERAL_ERROR; in GenerateVerifierKeyPair() 136 result = RESULT_GENERAL_ERROR; in GetAuthInfoFromSchedule() 248 IF_TRUE_LOGE_AND_RETURN_VAL(attribute == NULL, RESULT_GENERAL_ERROR); in GetResultTlv() 250 int32_t result = RESULT_GENERAL_ERROR; in GetResultTlv() 295 return RESULT_GENERAL_ERROR; in DoVerifierAuth() 375 return RESULT_GENERAL_ERROR; in DoHandleCollectorSync() 429 int32_t result = RESULT_GENERAL_ERROR; in GetPinData() 459 verifierMsg->authResult = RESULT_GENERAL_ERROR; in AuthPin() 511 return RESULT_GENERAL_ERROR; in DoHandleCollectorAck() 537 return RESULT_GENERAL_ERROR; in DoSendMessageToVerifier() [all...] |
H A D | collector_func.c | 54 return RESULT_GENERAL_ERROR; in GenerateCollectorKeyPair() 123 result = RESULT_GENERAL_ERROR; in GetCollectInfoFromSchedule() 177 return RESULT_GENERAL_ERROR; in DoCollect() 189 result = RESULT_GENERAL_ERROR; in DoCollect() 255 return RESULT_GENERAL_ERROR; in GetAlgoParam() 260 return RESULT_GENERAL_ERROR; in GetAlgoParam() 290 result = RESULT_GENERAL_ERROR; in DoSendMessageToCollector() 352 return RESULT_GENERAL_ERROR; in SetEncryptParam() 400 result = RESULT_GENERAL_ERROR; in DoSetDataToCollector()
|
/drivers/peripheral/user_auth/test/unittest/co_auth/ |
H A D | executor_message_test.cpp | 78 EXPECT_EQ(result, RESULT_GENERAL_ERROR); in HWTEST_F() 82 EXPECT_EQ(result, RESULT_GENERAL_ERROR); in HWTEST_F() 116 EXPECT_EQ(result, RESULT_GENERAL_ERROR); in HWTEST_F() 128 EXPECT_EQ(result, RESULT_GENERAL_ERROR); in HWTEST_F() 130 EXPECT_EQ(result, RESULT_GENERAL_ERROR); in HWTEST_F() 133 EXPECT_EQ(result, RESULT_GENERAL_ERROR); in HWTEST_F() 154 EXPECT_EQ(result, RESULT_GENERAL_ERROR); in HWTEST_F() 157 EXPECT_EQ(result, RESULT_GENERAL_ERROR); in HWTEST_F() 169 EXPECT_EQ(result, RESULT_GENERAL_ERROR); in HWTEST_F() 189 EXPECT_EQ(result, RESULT_GENERAL_ERROR); in HWTEST_F() [all...] |
/drivers/peripheral/user_auth/hdi_service/service/ |
H A D | user_auth_interface_service.cpp | 135 IF_TRUE_LOGE_AND_RETURN_VAL(attribute == nullptr, RESULT_GENERAL_ERROR);
in SetAttributeToCoAuthExecMsg() 139 return RESULT_GENERAL_ERROR;
in SetAttributeToCoAuthExecMsg() 145 return RESULT_GENERAL_ERROR;
in SetAttributeToCoAuthExecMsg() 149 return RESULT_GENERAL_ERROR;
in SetAttributeToCoAuthExecMsg() 154 return RESULT_GENERAL_ERROR;
in SetAttributeToCoAuthExecMsg() 158 return RESULT_GENERAL_ERROR;
in SetAttributeToCoAuthExecMsg() 165 return RESULT_GENERAL_ERROR;
in SetAttributeToCoAuthExecMsg() 170 return RESULT_GENERAL_ERROR;
in SetAttributeToCoAuthExecMsg() 180 IF_TRUE_LOGE_AND_RETURN_VAL(attribute == nullptr, RESULT_GENERAL_ERROR);
in SetAttributeToCollectorExecMsg() 182 ResultCode ret = RESULT_GENERAL_ERROR;
in SetAttributeToCollectorExecMsg() [all...] |
/drivers/peripheral/user_auth/test/unittest/idm_test/ |
H A D | user_idm_funcs_test.cpp | 112 EXPECT_EQ(CheckEnrollPermission(param, &scheduleId), RESULT_GENERAL_ERROR); in HWTEST_F() local 169 EXPECT_EQ(GetCredentialInfoFromSchedule(&resultInfo, &credInfo, &scheduleInfo), RESULT_GENERAL_ERROR); in HWTEST_F() local 181 EXPECT_EQ(GetCredentialInfoFromSchedule(&resultInfo, &credInfo, &scheduleInfo), RESULT_GENERAL_ERROR); in HWTEST_F() local 183 EXPECT_EQ(GetCredentialInfoFromSchedule(&resultInfo, &credInfo, &scheduleInfo), RESULT_GENERAL_ERROR); in HWTEST_F() local 261 EXPECT_EQ(CheckResultValid(scheduleId, userId), RESULT_GENERAL_ERROR); in HWTEST_F() local 270 EXPECT_EQ(CheckResultValid(scheduleId, userId), RESULT_GENERAL_ERROR); in HWTEST_F() local 273 EXPECT_EQ(CheckResultValid(scheduleId, userId), RESULT_GENERAL_ERROR); in HWTEST_F() local
|