Searched refs:authErrorCount (Results 1 - 6 of 6) sorted by relevance
/drivers/peripheral/pin_auth/hdi_service/database/inc/ |
H A D | pin_db.h | 50 ResultCode GetRemainTimes(uint64_t templateId, uint32_t *remainingAuthTimes, uint32_t authErrorCount); 52 ResultCode GetAntiBruteInfo(uint64_t templateId, uint32_t *authErrorCount, uint64_t *startFreezeTime); 55 int32_t GetNextFailLockoutDuration(uint32_t authErrorCount);
|
H A D | pin_db_ops_v0.h | 35 uint32_t authErrorCount; member
|
/drivers/peripheral/pin_auth/hdi_service/database/src/ |
H A D | pin_db.c | 297 info->authErrorCount = INIT_AUTH_ERROR_COUNT; in InitAntiBruteInfo() 666 *count = g_pinDbOp->pinIndex[index].antiBruteInfo.authErrorCount; in GetAntiBruteCountById() 697 g_pinDbOp->pinIndex[index].antiBruteInfo.authErrorCount = count; in SetAntiBruteInfoById() 730 ResultCode GetAntiBruteInfo(uint64_t templateId, uint32_t *authErrorCount, uint64_t *startFreezeTime) in GetAntiBruteInfo() argument 732 if (authErrorCount == NULL || startFreezeTime == NULL || templateId == INVALID_TEMPLATE_ID) { in GetAntiBruteInfo() 746 *authErrorCount = g_pinDbOp->pinIndex[index].antiBruteInfo.authErrorCount; in GetAntiBruteInfo() 753 static uint64_t ExponentialFuncTime(uint32_t authErrorCount) in ExponentialFuncTime() argument 756 uint32_t exp = (authErrorCount - FIRST_EXPONENTIAL_PARA) / THIRD_EXPONENTIAL_PARA; in ExponentialFuncTime() 763 static uint64_t GetWaitTime(uint32_t authErrorCount) in GetWaitTime() argument 789 GetNextFailLockoutDuration(uint32_t authErrorCount) GetNextFailLockoutDuration() argument 856 GetRemainTimes(uint64_t templateId, uint32_t *remainingAuthTimes, uint32_t authErrorCount) GetRemainTimes() argument [all...] |
H A D | pin_db_ops_v0.c | 34 antiBruteInfoV0->authErrorCount = ATTI_BRUTE_SECOND_STAGE; in GetMaxLockedAntiBruteInfo()
|
/drivers/peripheral/pin_auth/test/unittest/pin_auth/database/src/ |
H A D | pin_db_test.cpp | 305 uint32_t authErrorCount = 0; in HWTEST_F() local 307 result = GetAntiBruteInfo(INVALID_TEMPLATE_ID, &authErrorCount, &startFreezeTime); in HWTEST_F() 313 result = GetAntiBruteInfo(templateId, &authErrorCount, nullptr); in HWTEST_F() 316 result = GetAntiBruteInfo(0, &authErrorCount, &startFreezeTime); in HWTEST_F() 319 result = GetAntiBruteInfo(templateId, &authErrorCount, &startFreezeTime); in HWTEST_F()
|
/drivers/peripheral/pin_auth/hdi_service/main/src/ |
H A D | executor_func_common.c | 360 uint32_t authErrorCount = INIT_AUTH_ERROR_COUNT; in DoQueryPinInfo() local 362 &(pinCredentialInfo->freezeTime), &authErrorCount); in DoQueryPinInfo() 367 pinCredentialInfo->nextFailLockoutDuration = GetNextFailLockoutDuration(authErrorCount); in DoQueryPinInfo() 371 ret = GetRemainTimes(templateId, &(pinCredentialInfo->remainTimes), authErrorCount); in DoQueryPinInfo()
|
Completed in 4 milliseconds