blob: abbfda55f1683971135f1d0da0fdcd19814b5988 [file] [log] [blame]
Gabor Mezei95ecaaf2023-01-16 16:53:29 +01001#!/usr/bin/env python3
2"""Generate test data for ecp functions.
3
Gabor Mezeia9d82dd2023-02-13 14:10:23 +01004The command line usage, class structure and available methods are the same
5as in generate_bignum_tests.py.
Gabor Mezei95ecaaf2023-01-16 16:53:29 +01006"""
7
8# Copyright The Mbed TLS Contributors
9# SPDX-License-Identifier: Apache-2.0
10#
11# Licensed under the Apache License, Version 2.0 (the "License"); you may
12# not use this file except in compliance with the License.
13# You may obtain a copy of the License at
14#
15# http://www.apache.org/licenses/LICENSE-2.0
16#
17# Unless required by applicable law or agreed to in writing, software
18# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20# See the License for the specific language governing permissions and
21# limitations under the License.
22
23import sys
24
25import scripts_path # pylint: disable=unused-import
26from mbedtls_dev import test_data_generation
27# Import modules containing additional test classes
28# Test function classes in these modules will be registered by
29# the framework
30from mbedtls_dev import ecp # pylint: disable=unused-import
31
32if __name__ == '__main__':
33 # Use the section of the docstring relevant to the CLI as description
34 test_data_generation.main(sys.argv[1:], "\n".join(__doc__.splitlines()[:4]))