Gilles Peskine 47c8579ed0 Copy OID files that are getting moved to tf-psa-crypto
The OID module is used by both crypto and X.509. It has moved to the
`tf-psa-crypto` subdirectory, and the sibling commit
08d8cc57dbe7be54fe3f88ecbc2729300c48d450 removes this subdirectory from the
`mbedtls` repository in order to make `tf-psa-crypto` a submodule. We want
to access the relevant parts directly from X.509 rather than go through the
crypto repository, because OID functions are only accessible as private
interfaces, and crypto doesn't know when a particular OID function is needed
in the build since it depends on X.509 configuration options.

Make a copy of the OID module and its unit tests. In a follow-up, the X.509
module will switch to consuming this copy rather than the one that went into
TF-PSA-Crypto.

Rename the files from `*oid*` to `*x509_oid*` to follow the naming
convention that submodules of X.509 are prefixed with `x509`. This also
avoids file name clashes with TF-PSA-Crypto.

Since OID is not a public interface of Mbed TLS 4.x, move the header file
into `library`.

This commit only makes the files available. Subsequent commits will take
care of making these files used in the build.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-05-07 14:35:04 +02:00
..
.gitignore Move crypto modules 2024-07-10 08:07:34 +02:00
CMakeLists.txt Move back timing.c to mbedtls 2024-12-04 14:25:02 +01:00
debug_internal.h debug: move internal functions declarations to an internal header file 2024-01-18 15:30:46 +01:00
debug.c Include ssl_misc.h for additional SSL helper files 2024-10-11 12:21:30 +01:00
Makefile Move driver wrappers generation to tf-psa-crypto 2024-12-04 14:25:02 +01:00
mps_common.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_error.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_reader.c Include ssl_misc.h for additional SSL helper files 2024-10-11 12:21:30 +01:00
mps_reader.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_trace.c Include ssl_misc.h for additional SSL helper files 2024-10-11 12:21:30 +01:00
mps_trace.h Include ssl_misc.h for additional SSL helper files 2024-10-11 12:21:30 +01:00
net_sockets.c Make mbedTLS compile with MS-DOS DJGPP 2024-12-01 10:05:21 +01:00
pkcs7.c Remove mbedtls/build_info from pkcs7.c 2024-10-11 12:20:13 +01:00
ssl_cache.c Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_ciphersuites_internal.h Remove MBEDTLS_KEY_EXCHANGE_RSA_PSK 2024-11-05 15:49:12 +01:00
ssl_ciphersuites.c Remove RSA_PSK suites from cipher suite lists 2024-11-05 15:49:12 +01:00
ssl_client.c Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_client.h Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_cookie.c Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_debug_helpers.h Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_misc.h Switch to actual TF-PSA-Crypto build_info.h 2024-12-11 22:32:45 +01:00
ssl_msg.c Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_ticket.c Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_tls12_client.c Remove mentions of RSA-PSK key exchange from documentation 2024-11-05 15:49:12 +01:00
ssl_tls12_server.c Remove MBEDTLS_KEY_EXCHANGE_RSA_PSK 2024-11-05 15:49:12 +01:00
ssl_tls13_client.c Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_tls13_generic.c Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_tls13_invasive.h Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_tls13_keys.c Move hkdf.h to tf-psa-crypto 2024-12-04 14:25:02 +01:00
ssl_tls13_keys.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
ssl_tls13_server.c Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_tls.c Move psa_to_ssl_errors 2024-12-04 14:25:02 +01:00
timing.c Move back timing.c to mbedtls 2024-12-04 14:25:02 +01:00
version.c Include ssl_misc.h for additional SSL helper files 2024-10-11 12:21:30 +01:00
x509_create.c Update includes for each library file 2024-10-09 11:18:50 +01:00
x509_crl.c Update includes for each library file 2024-10-09 11:18:50 +01:00
x509_crt.c Use MBEDTLS_ERROR_ADD instead of explicit addition: enforcement 2024-10-16 11:52:27 +02:00
x509_csr.c Update includes for each library file 2024-10-09 11:18:50 +01:00
x509_internal.h Switch to actual TF-PSA-Crypto build_info.h 2024-12-11 22:32:45 +01:00
x509_oid.c Copy OID files that are getting moved to tf-psa-crypto 2025-05-07 14:35:04 +02:00
x509_oid.h Copy OID files that are getting moved to tf-psa-crypto 2025-05-07 14:35:04 +02:00
x509.c Update includes for each library file 2024-10-09 11:18:50 +01:00
x509write_crt.c Update includes for each library file 2024-10-09 11:18:50 +01:00
x509write_csr.c Update includes for each library file 2024-10-09 11:18:50 +01:00
x509write.c Update includes for each library file 2024-10-09 11:18:50 +01:00