| Gabor Mezei | 95ecaaf | 2023-01-16 16:53:29 +0100 | [diff] [blame] | 1 | #!/usr/bin/env python3 | 
|  | 2 | """Generate test data for ecp functions. | 
|  | 3 |  | 
| Gabor Mezei | a9d82dd | 2023-02-13 14:10:23 +0100 | [diff] [blame] | 4 | The command line usage, class structure and available methods are the same | 
|  | 5 | as in generate_bignum_tests.py. | 
| Gabor Mezei | 95ecaaf | 2023-01-16 16:53:29 +0100 | [diff] [blame] | 6 | """ | 
|  | 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 |  | 
|  | 23 | import sys | 
|  | 24 |  | 
|  | 25 | import scripts_path # pylint: disable=unused-import | 
|  | 26 | from 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 | 
|  | 30 | from mbedtls_dev import ecp # pylint: disable=unused-import | 
|  | 31 |  | 
|  | 32 | if __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])) |