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 = true
16  enable_session_v1 = true
17  enable_extend_plugin = false
18  enable_account = true
19  enable_pseudonym = false
20
21  enable_p2p_bind_lite_protocol = true
22  enable_p2p_bind_dl_speke_protocol = true
23  enable_p2p_bind_lite_protocol_check = true
24  enable_p2p_auth_lite_protocol = true
25  enable_p2p_bind_standard_protocol = true
26  enable_p2p_auth_standard_protocol = true
27
28  enable_p2p_pake_dl_prime_len_384 = true
29  enable_p2p_pake_dl_prime_len_256 = false
30
31  enable_key_agree_dl_prime_len_384 = true
32  enable_key_agree_dl_prime_len_256 = true
33  enable_key_agree_pake_ec_prime_p256 = true
34  enable_key_agree_pake_ec_prime_x25519 = true
35
36  max_auth_session_count = 10
37  device_auth_hichain_thread_stack_size = 102400
38}
39