1# Copyright (C) 2021-2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14declare_args() {
15  enable_session_v2 = false
16  enable_session_v1 = true
17  enable_extend_plugin = false
18  enable_account = false
19  device_auth_enable_posix_interface = false
20  enable_pseudonym = false
21
22  enable_p2p_bind_lite_protocol = true
23  enable_p2p_bind_dl_speke_protocol = false
24  enable_p2p_bind_lite_protocol_check = false
25  enable_p2p_auth_lite_protocol = true
26  enable_p2p_bind_standard_protocol = false
27  enable_p2p_auth_standard_protocol = false
28
29  enable_p2p_pake_dl_prime_len_384 = true
30  enable_p2p_pake_dl_prime_len_256 = false
31
32  enable_key_agree_dl_prime_len_384 = true
33  enable_key_agree_dl_prime_len_256 = true
34  enable_key_agree_pake_ec_prime_p256 = true
35  enable_key_agree_pake_ec_prime_x25519 = true
36
37  max_auth_session_count = 10
38  device_auth_hichain_thread_stack_size = 8192
39}
40