/mbedtls/scripts/ |
A D | abi_check.py | 161 if version.repository: 164 version.revision, version.repository 169 version.repository, version.revision], 177 version.revision 249 def _pretty_revision(version): argument 250 if version.revision == version.commit: 251 return version.revision 253 return "{} ({})".format(version.revision, version.commit) 262 mbed_module, version.revision, version.version 616 version="old", [all …]
|
A D | ci.requirements.txt | 5 # Use a known version of Pylint, because new versions tend to add warnings 7 # 2.4.4 is the version in Ubuntu 20.04. It supports Python >=3.5. 10 # Use the earliest version of mypy that works with our code base. 16 # but our CI has Python 3.5. So let pip install the newest version that's
|
A D | driver.requirements.txt | 3 # Jinja2 <3.0 needs an older version of markupsafe, but does not 9 # Use the version of Jinja that's in Ubuntu 20.04.
|
/mbedtls/scripts/mbedtls_dev/ |
A D | psa_storage.py | 103 version: Optional[int] = None, 111 self.version = self.LATEST_VERSION if version is None else version 153 header = self.MAGIC + self.pack('L', self.version) 154 if self.version == 0: 180 key = Key(version=0, 191 key = Key(version=0,
|
/mbedtls/docs/architecture/testing/ |
A D | psa-storage-format-testing.md | 7 … only validates that it's possible to load a key that was saved with the version of Mbed TLS under… 15 … is: as a user of Mbed TLS, I want to store a key under version V and read it back under version W… 17 … way would be difficult because we'd need to have version V of Mbed TLS available when testing ver… 19 …irect approach consists of generating test data under version V, and reading it back under version… 23 …nsure the stability of the storage format by creating test cases under a version V of Mbed TLS, wh… 27 …passes with version V, this means that the test data is consistent with what the implementation do… 29 …version V and load-and-check passing on version W with the same data that proves that version W ca… 37 …version of Mbed TLS, since there would be no indication that more test cases used to exist. It can… 39 …ide to stop supporting old keys (which should only be done by retiring a version of the storage fo… 56 … the desired test cases for keys created with the current storage format version. When the storage…
|
/mbedtls/tests/scripts/ |
A D | check-python-files.sh | 21 import packaging.version 26 if packaging.version.parse(actual) < packaging.version.parse(wanted): 43 check_version mypy.version 0.780
|
A D | generate_psa_tests.py | 427 def __init__(self, info: psa_information.Information, version: int, forward: bool) -> None: 438 self.version = version #type: int 531 key = StorageTestData(version=self.version, 562 key1 = StorageTestData(version=self.version, 615 key = StorageTestData(version=self.version, 659 key1 = StorageTestData(version=self.version, 666 key2 = StorageTestData(version=self.version, 705 def __init__(self, info: psa_information.Information, version: int) -> None: 706 super().__init__(info, version, True) 741 key = StorageTestData(version=self.version,
|
/mbedtls/programs/test/cmake_package/ |
A D | cmake_package.c | 20 char version[18]; in main() local 22 mbedtls_version_get_string_full(version); in main() 24 mbedtls_printf("Built against %s\n", version); in main()
|
/mbedtls/programs/test/cmake_package_install/ |
A D | cmake_package_install.c | 21 char version[18]; in main() local 23 mbedtls_version_get_string_full(version); in main() 25 mbedtls_printf("Built against %s\n", version); in main()
|
/mbedtls/programs/test/cmake_subproject/ |
A D | cmake_subproject.c | 21 char version[18]; in main() local 23 mbedtls_version_get_string_full(version); in main() 25 mbedtls_printf("Built against %s\n", version); in main()
|
/mbedtls/programs/x509/ |
A D | cert_write.c | 199 int version; /* CRT version */ member 366 opt.version = DFL_VERSION - 1; in main() 448 opt.version = atoi(q); in main() 449 if (opt.version < 1 || opt.version > 3) { in main() 453 opt.version--; in main() 845 mbedtls_x509write_crt_set_version(&crt, opt.version); in main() 866 if (opt.version == MBEDTLS_X509_CRT_VERSION_3 && in main() 884 if (opt.version == MBEDTLS_X509_CRT_VERSION_3 && in main() 901 if (opt.version == MBEDTLS_X509_CRT_VERSION_3 && in main() 919 if (opt.version == MBEDTLS_X509_CRT_VERSION_3 && in main() [all …]
|
/mbedtls/ |
A D | BRANCHES.md | 9 this is where the next major version of Mbed TLS (version 4.0) is being 22 API compatibility in the `main` branch across minor version changes (e.g. 24 compatibility on major version changes (e.g. from 3.x to 4.0). We also maintain 37 modification with any later release x.y'.z' with the same major version 74 We intend to maintain this backward compatibility throughout a major version 79 LTS, but future major version upgrades (for example from 2.28.x/3.x to 4.y) 93 minimum version of tools needed to build the code. The only exception, as 115 Users are urged to always use the latest version of a maintained branch.
|
A D | .readthedocs.yaml | 6 version: 2 13 # Set the version of Python and other tools you might need
|
/mbedtls/library/ |
A D | psa_crypto_storage.c | 227 uint8_t version[4]; member 246 MBEDTLS_PUT_UINT32_LE(0, storage_format->version, 0); in psa_format_key_data_for_storage() 275 uint32_t version; in psa_parse_key_data_from_storage() local 286 version = MBEDTLS_GET_UINT32_LE(storage_format->version, 0); in psa_parse_key_data_from_storage() 287 if (version != 0) { in psa_parse_key_data_from_storage()
|
A D | x509_crl.c | 306 while (crl->version != 0 && crl->next != NULL) { in mbedtls_x509_crl_parse_der() 310 if (crl->version != 0 && crl->next == NULL) { in mbedtls_x509_crl_parse_der() 379 if ((ret = x509_crl_get_version(&p, end, &crl->version)) != 0 || in mbedtls_x509_crl_parse_der() 385 if (crl->version < 0 || crl->version > 1) { in mbedtls_x509_crl_parse_der() 390 crl->version++; in mbedtls_x509_crl_parse_der() 453 if (crl->version == 2) { in mbedtls_x509_crl_parse_der() 606 prefix, crl->version); in mbedtls_x509_crl_info()
|
A D | x509write_crt.c | 44 ctx->version = MBEDTLS_X509_CRT_VERSION_3; in mbedtls_x509write_crt_init() 57 int version) in mbedtls_x509write_crt_set_version() argument 59 ctx->version = version; in mbedtls_x509write_crt_set_version() 464 if (ctx->version == MBEDTLS_X509_CRT_VERSION_3) { in mbedtls_x509write_crt_der() 573 if (ctx->version != MBEDTLS_X509_CRT_VERSION_1) { in mbedtls_x509write_crt_der() 576 mbedtls_asn1_write_int(&c, buf, ctx->version)); in mbedtls_x509write_crt_der()
|
A D | x509_csr.c | 337 if ((ret = x509_csr_get_version(&p, end, &csr->version)) != 0) { in mbedtls_x509_csr_parse_der_internal() 342 if (csr->version != 0) { in mbedtls_x509_csr_parse_der_internal() 347 csr->version++; in mbedtls_x509_csr_parse_der_internal() 540 prefix, csr->version); in mbedtls_x509_csr_info()
|
A D | x509_crt.c | 1151 if ((ret = x509_get_version(&p, end, &crt->version)) != 0 || in x509_crt_parse_der_core() 1159 if (crt->version < 0 || crt->version > 2) { in x509_crt_parse_der_core() 1164 crt->version++; in x509_crt_parse_der_core() 1239 if (crt->version == 2 || crt->version == 3) { in x509_crt_parse_der_core() 1247 if (crt->version == 2 || crt->version == 3) { in x509_crt_parse_der_core() 1255 if (crt->version == 3) { in x509_crt_parse_der_core() 1328 while (crt->version != 0 && crt->next != NULL) { in mbedtls_x509_crt_parse_der_internal() 1336 if (crt->version != 0 && crt->next == NULL) { in mbedtls_x509_crt_parse_der_internal() 1768 prefix, crt->version); in mbedtls_x509_crt_info() 2027 if (crl_list->version == 0 || in x509_crt_verifycrl() [all …]
|
/mbedtls/tests/suites/ |
A D | test_suite_x509parse.data | 1306 X509 CRT ASN1 (TBS, invalid version tag, serial missing) 1314 X509 CRT ASN1 (TBS, inv inner version tag) 1335 X509 CRT ASN1 (TBS, valid version tag, length exceeds TBS) 1339 X509 CRT ASN1 (TBS, valid version tag + length, unknown version number 3) 1343 X509 CRT ASN1 (TBS, valid version tag + length, unknown version number 4) 1347 X509 CRT ASN1 (TBS, valid version tag + length, version number overflow) 2455 X509 CRL ASN1 (TBSCertList, version tag len missing) 2458 X509 CRL ASN1 (TBSCertList, version correct, alg missing) 2560 X509 CRL ASN1 (invalid version 2) 2563 X509 CRL ASN1 (invalid version overflow) [all …]
|
A D | test_suite_version.data | 1 Check compile time library version 4 Check runtime library version
|
/mbedtls/tests/data_files/ |
A D | Makefile | 202 md=SHA256 version=3 output_file=$@ 411 md=SHA256 version=3 output_file=$@ 607 md=SHA256 version=3 output_file=$@ 1606 issuer_pwd=$(test_ca_pwd_rsa) version=1 \ 1608 md=SHA1 version=3 output_file=$@ 1682 md=SHA256 version=3 authority_identifier=1 \ 1793 md=SHA1 version=3 output_file=$@ 1802 md=SHA256 version=3 output_file=$@ 1818 md=MD5 version=3 output_file=$@ 2062 md=SHA256 version=1 \ [all …]
|
/mbedtls/.github/ISSUE_TEMPLATE/ |
A D | bug_report.md | 16 Mbed TLS version (number or commit id): 17 Operating system and version:
|
/mbedtls/include/mbedtls/ |
A D | pkcs7.h | 109 int MBEDTLS_PRIVATE(version); 124 int MBEDTLS_PRIVATE(version);
|
A D | x509_crt.h | 47 int version; /**< The X.509 version. (1=v1, 2=v2, 3=v3) */ member 218 int MBEDTLS_PRIVATE(version); 949 void mbedtls_x509write_crt_set_version(mbedtls_x509write_cert *ctx, int version);
|
/mbedtls/tests/ |
A D | Descriptions.txt | 15 version, both ways (client/server), using client authentication or not. 16 For each ciphersuite/version/side/authmode it performs a full handshake
|