diff --git a/interfaces/inner_api/huks_standard/main/include/hks_type_enum.h b/interfaces/inner_api/huks_standard/main/include/hks_type_enum.h index c932989178411b1fee6bbc2bfc66c21ab7647653..3bedfabf7177f75b0e0873f9607cd6d2a3adf8d2 100644 --- a/interfaces/inner_api/huks_standard/main/include/hks_type_enum.h +++ b/interfaces/inner_api/huks_standard/main/include/hks_type_enum.h @@ -429,7 +429,7 @@ enum HksSendType { /** * @brief hks user auth type - * @see `enum AuthType` in `drivers/interface/user_auth/v2_0/UserAuthTypes.idl` + * @see `enum AuthType` in `drivers/interface/user_auth/v2_1/UserAuthTypes.idl` */ enum HksUserAuthType { HKS_USER_AUTH_TYPE_FINGERPRINT = 1 << 0, diff --git a/services/huks_standard/huks_engine/main/core_dependency/BUILD.gn b/services/huks_standard/huks_engine/main/core_dependency/BUILD.gn index 17aff7be2232b24a8bf3aa191da133b907ca7b40..5a9502d400c7f4606c85b5b9224d9595169b37ae 100644 --- a/services/huks_standard/huks_engine/main/core_dependency/BUILD.gn +++ b/services/huks_standard/huks_engine/main/core_dependency/BUILD.gn @@ -56,7 +56,7 @@ ohos_static_library("libhuks_core_hal_api_static") { ] if (huks_enable_hdi_in_standard && !enable_hks_mock) { defines = [ "HKS_CORE_ENABLE_HDI_DRIVER" ] - external_deps += [ "drivers_interface_user_auth:libuser_auth_proxy_2.0" ] + external_deps += [ "drivers_interface_user_auth:libuser_auth_proxy_2.1" ] } else { if (enable_hks_mock) { deps += [ "//base/security/huks/services/huks_standard/huks_service/main/systemapi_mock:libhuks_service_systemapi_mock_static" ] diff --git a/services/huks_standard/huks_engine/main/core_dependency/src/hks_core_useriam_wrap.cpp b/services/huks_standard/huks_engine/main/core_dependency/src/hks_core_useriam_wrap.cpp index aca5dc44323ef1270a40bed709aa5406cf84fe45..a9fcdd947f74dd01a0036cfb047b18ed4ee1dac3 100755 --- a/services/huks_standard/huks_engine/main/core_dependency/src/hks_core_useriam_wrap.cpp +++ b/services/huks_standard/huks_engine/main/core_dependency/src/hks_core_useriam_wrap.cpp @@ -25,9 +25,9 @@ #ifdef HKS_SUPPORT_USER_AUTH_ACCESS_CONTROL #ifdef HKS_CORE_ENABLE_HDI_DRIVER -#include "v2_0/user_auth_types.h" +#include "v2_1/user_auth_types.h" -using AuthType = OHOS::HDI::UserAuth::V2_0::AuthType; +using AuthType = OHOS::HDI::UserAuth::V2_1::AuthType; static int32_t ConvertToHksAuthType(AuthType authType, enum HksUserAuthType *hksAuthType) {