Home
last modified time | relevance | path

Searched refs:userAuthType (Results 1 – 8 of 8) sorted by relevance

/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_client_check.c180 …atic int32_t CheckUserAuthParamsValidity(const struct HksParamSet *paramSet, uint32_t userAuthType, in CheckUserAuthParamsValidity() argument
183 int32_t ret = HksCheckUserAuthParams(userAuthType, authAccessType, challengeType); in CheckUserAuthParamsValidity()
218 int32_t HksCheckAndGetUserAuthInfo(const struct HksParamSet *paramSet, uint32_t *userAuthType, in HksCheckAndGetUserAuthInfo() argument
247 *userAuthType = userAuthTypeParam->uint32Param; in HksCheckAndGetUserAuthInfo()
252 (void)userAuthType; in HksCheckAndGetUserAuthInfo()
Dhks_client_service.c443 static int32_t CheckIfUserIamSupportCurType(int32_t userId, uint32_t userAuthType) in CheckIfUserIamSupportCurType() argument
452 if ((userAuthType & userAuthTypes[i]) == 0) { in CheckIfUserIamSupportCurType()
465 uint32_t userAuthType = 0; in AppendNewInfoForGenKeyInService() local
467 int32_t ret = HksCheckAndGetUserAuthInfo(paramSet, &userAuthType, &authAccessType); in AppendNewInfoForGenKeyInService()
484 ret = CheckIfUserIamSupportCurType(processInfo->userIdInt, userAuthType); in AppendNewInfoForGenKeyInService()
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_base_check.h69 enum HksUserAuthType userAuthType; member
117 int32_t HksCheckUserAuthParams(uint32_t userAuthType, uint32_t authAccessType, uint32_t challengeTy…
/base/security/huks/services/huks_standard/huks_service/main/core/include/
Dhks_client_check.h66 int32_t HksCheckAndGetUserAuthInfo(const struct HksParamSet *paramSet, uint32_t *userAuthType,
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_secure_access.c488 struct HksParam *userAuthType = NULL; in VerifyAuthTokenInfo() local
489 int32_t ret = HksGetParam(keyBlobParamSet, HKS_TAG_USER_AUTH_TYPE, &userAuthType); in VerifyAuthTokenInfo()
500 if ((authTokenAuthType & userAuthType->uint32Param) == 0) { in VerifyAuthTokenInfo()
508 ret = VerifyEnrolledIdInfoIfNeed(keyBlobParamSet, authToken, userAuthType->uint32Param, in VerifyAuthTokenInfo()
710 secureSignInfo->userAuthType = hksAuthType; in GetSecureSignAuthInfo()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
Duser_auth_entry.cpp845 napi_value userAuthType = nullptr; in UserAuthTypeConstructor() local
849 NAPI_CALL(env, napi_create_object(env, &userAuthType)); in UserAuthTypeConstructor()
853 NAPI_CALL(env, napi_set_named_property(env, userAuthType, "PIN", pin)); in UserAuthTypeConstructor()
854 NAPI_CALL(env, napi_set_named_property(env, userAuthType, "FACE", face)); in UserAuthTypeConstructor()
855 NAPI_CALL(env, napi_set_named_property(env, userAuthType, "FINGERPRINT", fingerprint)); in UserAuthTypeConstructor()
856 return userAuthType; in UserAuthTypeConstructor()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c1942 static int32_t HksCheckAuthAccessTypeByUserAuthType(uint32_t userAuthType, uint32_t authAccessType) in HksCheckAuthAccessTypeByUserAuthType() argument
1947 if ((checker.userAuthType & userAuthType) != 0 && in HksCheckAuthAccessTypeByUserAuthType()
1957 int32_t HksCheckUserAuthParams(uint32_t userAuthType, uint32_t authAccessType, uint32_t challengeTy… in HksCheckUserAuthParams() argument
1960 …int32_t ret = HksCheckValue(userAuthType, g_supportUserAuthTypes, HKS_ARRAY_SIZE(g_supportUserAuth… in HksCheckUserAuthParams()
1966 return HksCheckAuthAccessTypeByUserAuthType(userAuthType, authAccessType); in HksCheckUserAuthParams()
1968 (void)userAuthType; in HksCheckUserAuthParams()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h794 uint32_t userAuthType; member