Minos Galanakis | 2c824b4 | 2025-03-20 09:28:45 +0000 | [diff] [blame^] | 1 | #!/usr/bin/env python3 |
| 2 | """Generate test data for ecp functions. |
| 3 | |
| 4 | The command line usage, class structure and available methods are the same |
| 5 | as in generate_bignum_tests.py. |
| 6 | """ |
| 7 | |
| 8 | # Copyright The Mbed TLS Contributors |
| 9 | # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later |
| 10 | |
| 11 | import sys |
| 12 | |
| 13 | from mbedtls_framework import test_data_generation |
| 14 | # Import modules containing additional test classes |
| 15 | # Test function classes in these modules will be registered by |
| 16 | # the framework |
| 17 | from mbedtls_framework import ecp # pylint: disable=unused-import |
| 18 | |
| 19 | if __name__ == '__main__': |
| 20 | # Use the section of the docstring relevant to the CLI as description |
| 21 | test_data_generation.main(sys.argv[1:], "\n".join(__doc__.splitlines()[:4])) |