security_huks/build/config.gni
CheungVane 4802e97ac7 支持产品替换MbedTls和OpenSSL
Signed-off-by: zhangwenzhi <zhangwenzhi3@huawei.com>
2022-11-08 19:06:45 +08:00

46 lines
1.2 KiB
Plaintext
Executable File

#
# Copyright (c) 2020 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
declare_args() {
# for HUKS can compile on liteos_m
disable_huks_binary = false
# cut abilities for authentication
disable_authenticate = false
# if HUKS use mbedtls engine
huks_use_mbedtls = true
# whether use lite storeage
huks_use_lite_storage = false
# whether use hardware root key
huks_use_hardware_root_key = false
# whether use hks config file
huks_config_file = ""
# whether use hks key store path
huks_key_store_path = "/storage/"
# whether huks enable log
huks_enable_log = false
# specify the MbedTls huks depends on
huks_dependency_mbedtls_path = ""
# specify the OpenSSL huks depends on
huks_dependency_openssl_path = ""
}