1 /*
2  * Copyright (C) 2023 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include "hks_api.h"
17 #include "hks_param.h"
18 #include "hks_test_api_performance.h"
19 #include "hks_test_common.h"
20 #include "hks_test_log.h"
21 #include "hks_type.h"
22 
23 #define DEFAULT_X_SIZE 256
24 #define DEFAULT_A_SIZE 256
25 #define DEFAULT_E_SIZE 256
26 #define DEFAULT_N_SIZE 256
27 #define HKS_TEST_2 2
28 #define HKS_TEST_8 8
29 
30 static const struct HksTestBnExpModParams g_testBnExpModParams[] = {
31     /* normal case */
32     { 0, HKS_SUCCESS, false,
33         { true, DEFAULT_X_SIZE, true, DEFAULT_X_SIZE },
34         { true, DEFAULT_A_SIZE, true, DEFAULT_A_SIZE },
35         { true, DEFAULT_E_SIZE, true, DEFAULT_E_SIZE },
36         { true, DEFAULT_N_SIZE, true, DEFAULT_N_SIZE }
37     },
38 };
39 
40 int32_t TestValue();