Home
last modified time | relevance | path

Searched full:python (Results 1 – 25 of 46) sorted by relevance

12

/mbedtls-latest/scripts/
Dmake_generated_files.bat3 @rem Perl and Python 3 must be on the PATH.
6 python scripts\generate_driver_wrappers.py || exit /b 1
10 python scripts\generate_ssl_debug_helpers.py || exit /b 1
12 python scripts\generate_psa_constants.py || exit /b 1
13 python framework\scripts\generate_bignum_tests.py || exit /b 1
14 python framework\scripts\generate_config_tests.py || exit /b 1
15 python framework\scripts\generate_ecp_tests.py || exit /b 1
16 python framework\scripts\generate_psa_tests.py || exit /b 1
17 python framework\scripts\generate_test_keys.py --output tests\src\test_keys.h || exit /b 1
18 python framework\scripts\generate_test_cert_macros.py --output tests\src\test_certs.h || exit /b 1
Dci.requirements.txt1 # Python package requirements for Mbed TLS testing.
7 # 2.4.4 is the version in Ubuntu 20.04. It supports Python >=3.5.
15 # It needs >=35.0.0 for correct operation, and that requires Python >=3.6,
16 # but our CI has Python 3.5. So let pip install the newest version that's
17 # compatible with the running Python: this way we get something good enough
18 # for mypy and pylint under Python 3.5, and we also get something good enough
19 # to run audit-validity-dates.py on Python >=3.6.
22 # For building `framework/data_files/server9-bad-saltlen.crt` and check python
Dconfig.pl9 $py =~ s/\.pl$/.py/ or die "Unable to determine the name of the Python script";
11 print STDERR "$0: python3: $!. Trying python instead.\n";
12 exec 'python', $py, @ARGV;
13 print STDERR "$0: python: $!\n";
Ddriver.requirements.txt1 # Python package requirements for driver implementers.
11 # Note that Jinja 3.0 drops support for Python 3.5, so we need to support
12 # Jinja 2.x as long as we're still using Python 3.5 anywhere.
13 # Jinja 2.10.1 doesn't support Python 3.10+
Dcommon.make88 PYTHON ?= python
90 PYTHON ?= $(shell if type python3 >/dev/null 2>/dev/null; then echo python3; else echo python; fi)
Dmin_requirements.py2 """Install all the required Python packages, with the minimum Python version.
28 """Collect and massage Python requirements."""
110 help="Install to the Python user install directory"
Dmaintainer.requirements.txt1 # Python packages that are only useful to Mbed TLS maintainers.
Dbasic.requirements.txt1 # Python modules required to build Mbed TLS in ordinary conditions.
Dframework_scripts_path.py1 """Add our Python library directory to the module search path.
/mbedtls-latest/tests/suites/
Dtest_suite_pkcs5.data21 PBKDF2 Python hashlib Test Vector #1 (SHA224)
25 PBKDF2 Python hashlib Test Vector #2 (SHA224)
29 PBKDF2 Python hashlib Test Vector #3 (SHA224)
33 PBKDF2 Python hashlib Test Vector #5 (SHA224)
37 PBKDF2 Python hashlib Test Vector #6 (SHA224)
49 PBKDF2 Python hashlib Test Vector #1 (SHA256)
53 PBKDF2 Python hashlib Test Vector #2 (SHA256)
57 PBKDF2 Python hashlib Test Vector #3 (SHA256)
61 PBKDF2 Python hashlib Test Vector #5 (SHA256)
65 PBKDF2 Python hashlib Test Vector #6 (SHA256)
[all …]
Dtest_suite_lmots.data17 # This test uses data from https://github.com/pmvr/python-hsslms due to the
42 # This test uses data from https://github.com/pmvr/python-hsslms due to the
67 # This test uses data from https://github.com/pmvr/python-hsslms due to the
Dtest_suite_psa_crypto.pbkdf2.data9 # For PBKDF2_AES_CMAC_PRF_128 the output for the test vectors was generated using a python script. …
Dtest_suite_ecp.data1345 # The following data be generated by random.getrandbits() in python must less than the named curves…
1736 # The following data was generated using python's standard random library,
1831 # The following data was generated using python's standard random library,
1935 # The following data was generated using python's standard random library,
2021 # The following data was generated using python's standard random library,
2065 # The following data was generated using python's standard random library,
2115 # The following data was generated using python's standard random library,
2121 # The following data was generated using python's standard random library random.getrandbits(252).
/mbedtls-latest/tests/
DMakefile20 $(PYTHON) ../framework/scripts/generate_bignum_tests.py --list || \
24 $(error "$(PYTHON) ../framework/scripts/generate_bignum_tests.py --list" failed)
29 $(PYTHON) ../framework/scripts/generate_config_tests.py --list || \
33 $(error "$(PYTHON) ../framework/scripts/generate_config_tests.py --list" failed)
38 $(PYTHON) ../framework/scripts/generate_ecp_tests.py --list || \
42 $(error "$(PYTHON) ../framework/scripts/generate_ecp_tests.py --list" failed)
47 $(PYTHON) ../framework/scripts/generate_psa_tests.py --list || \
51 $(error "$(PYTHON) ../framework/scripts/generate_psa_tests.py --list" failed)
77 $(PYTHON) ../framework/scripts/generate_bignum_tests.py
93 $(PYTHON) ../framework/scripts/generate_config_tests.py
[all …]
/mbedtls-latest/tests/scripts/
Dcheck-python-files.sh6 # Purpose: check Python files for potential programming errors or maintenance
14 PYTHON=python3
16 PYTHON=python
20 $PYTHON - "$2" <<EOF
58 $PYTHON -m pylint framework/scripts/*.py framework/scripts/mbedtls_framework/*.py scripts/*.py test…
65 $PYTHON -m mypy framework/scripts/*.py framework/scripts/mbedtls_framework/*.py scripts/*.py tests/…
Dcomponents-basic-checks.sh148 msg "Lint: Python scripts"
149 tests/scripts/check-python-files.sh
Dscripts_path.py1 """Add our Python library directory to the module search path.
/mbedtls-latest/
D.travis.yml1 # Declare python as our language. This way we get our chosen Python version,
5 language: python
6 python: 3.10
15 - $PYTHON scripts/min_requirements.py
D.readthedocs.yaml13 # Set the version of Python and other tools you might need
17 python: "3.9"
34 # Optionally declare the Python requirements required to build your docs
35 python:
DREADME.md11 …his file can be edited manually, or in a more programmatic way using the Python 3 script `scripts/…
51 * Python 3.8 to generate the test code. Python is also needed to integrate PSA drivers and to build…
68 * Python 3.8 and some Python packages, for some library source files, sample programs and test data…
72 …Depending on your Python installation, you may need to invoke `python` instead of `python3`. To in…
99 The tests need Python to be built and Perl to be run. If you don't have one of them installed, you …
129 The test suites need Python to be built and Perl to be executed. If you don't have one of these ins…
230 …ograms. The files in tests are not generated and compiled, as these need Python and perl environme…
243 Mbed TLS includes an elaborate test suite in `tests/` that initially requires Python to generate th…
D.gitignore45 # Python build artifacts:
/mbedtls-latest/programs/fuzz/
DREADME.md19 python infra/helper.py build_image mbedtls
20 python infra/helper.py build_fuzzers --sanitizer address mbedtls
21 python infra/helper.py run_fuzzer mbedtls fuzz_client
53 * Run a dummy python script to output either client or server corpus file like `python dummy.py tes…
/mbedtls-latest/library/
DMakefile33 PYTHON ?= python macro
35 PYTHON ?= $(shell if type python3 >/dev/null 2>/dev/null; then echo python3; else echo python; fi) macro
344 $(PYTHON) ../scripts/generate_ssl_debug_helpers.py --mbedtls-root .. .
366 $(PYTHON) ../scripts/generate_driver_wrappers.py
/mbedtls-latest/pkgconfig/
DJoinPaths.cmake12 # Modelled after Python’s os.path.join
13 # https://docs.python.org/3.7/library/os.path.html#os.path.join
/mbedtls-latest/docs/
Drequirements.txt2 # This file is autogenerated by pip-compile with Python 3.8

12