Gilles Peskine 02ec585518 Replace MBEDTLS_OID_C by function-specific dependencies
For each function in `x509_oid.c`, determine where it is used and only
include it in the build if it is needed by the X.509 code. Define the
corresponding internal tables only when they are consumed by a function.

This makes Mbed TLS completely independent of the compilation option
`MBEDTLS_OID_C`. This option remains present only in sample configs for
crypto, where it must stay until TF-PSA-Crypto no longer relies on this
option.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-03 15:51:34 +02:00
..
.gitignore Move crypto modules 2024-07-10 08:07:34 +02:00
CMakeLists.txt Add the x509_oid module to the build 2025-06-03 15:51:34 +02:00
debug_internal.h library: debug: remove mbedtls_debug_printf_ecdh() 2025-05-23 15:08:48 +02:00
debug.c library: debug: remove mbedtls_debug_printf_ecdh() 2025-05-23 15:08:48 +02:00
Makefile Add the x509_oid module to the build 2025-06-03 15:51:34 +02: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 Move OID string definitions back to mbedtls/oid.h 2025-06-03 15:51:34 +02: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 key exchange type 2025-03-20 17:53:07 +01:00
ssl_ciphersuites.c Remove MBEDTLS_TLS_RSA_* ciphersuite macros 2025-03-20 17:53:07 +01:00
ssl_client.c Correct code style 2025-03-26 13:34:03 +00:00
ssl_client.h Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_cookie.c remove RNG parameters from SSL API's 2025-03-10 13:24:31 +00:00
ssl_debug_helpers.h Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_misc.h Merge pull request #9421 from mfil/feature/implement_tls_exporter 2025-04-17 14:47:13 +00:00
ssl_msg.c Test split, coalesced-split and empty handshake records 2025-04-09 12:52:26 +02:00
ssl_ticket.c removed psa_crypto_init from library as this is supposed to be called by the application 2025-03-10 13:46:14 +00:00
ssl_tls12_client.c library: pass NULL options parameter to mbedtls_pk_verify_ext() 2025-05-07 09:06:52 +02:00
ssl_tls12_server.c Always call mbedtls_ssl_handshake_set_state 2025-04-09 12:52:22 +02:00
ssl_tls13_client.c Remove internal helper mbedtls_ssl_get_groups() 2025-01-14 12:23:56 +01:00
ssl_tls13_generic.c Replace MBEDTLS_ERR_OID_NOT_FOUND with MBEDTLS_ERR_X509_UNKNOWN_OID 2025-06-03 15:51:34 +02:00
ssl_tls13_invasive.h Update includes for each library file 2024-10-09 11:18:50 +01:00
ssl_tls13_keys.c Add missing ifdef for mbedtls_ssl_tls13_exporter 2025-04-16 14:48:14 +02:00
ssl_tls13_keys.h Allow maximum label length in Hkdf-Expand-Label 2025-03-28 17:08:12 +01:00
ssl_tls13_server.c Correct code style 2025-03-26 13:34:03 +00:00
ssl_tls.c Replace MBEDTLS_ERR_OID_NOT_FOUND with MBEDTLS_ERR_X509_UNKNOWN_OID 2025-06-03 15:51:34 +02: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 Move OID string definitions back to mbedtls/oid.h 2025-06-03 15:51:34 +02:00
x509_crl.c library: x509: remove sig_opts from mbedtls_x509_sig_alg_gets() 2025-05-07 09:06:52 +02:00
x509_crt.c Move OID string definitions back to mbedtls/oid.h 2025-06-03 15:51:34 +02:00
x509_csr.c Move OID string definitions back to mbedtls/oid.h 2025-06-03 15:51:34 +02:00
x509_internal.h library: x509: remove sig_opts from mbedtls_x509_sig_alg_gets() 2025-05-07 09:06:52 +02:00
x509_oid.c Replace MBEDTLS_OID_C by function-specific dependencies 2025-06-03 15:51:34 +02:00
x509_oid.h Replace MBEDTLS_OID_C by function-specific dependencies 2025-06-03 15:51:34 +02:00
x509.c Move OID string definitions back to mbedtls/oid.h 2025-06-03 15:51:34 +02:00
x509write_crt.c Move OID string definitions back to mbedtls/oid.h 2025-06-03 15:51:34 +02:00
x509write_csr.c Move OID string definitions back to mbedtls/oid.h 2025-06-03 15:51:34 +02:00
x509write.c Rm dead !USE_PSA code: X.509 2025-01-28 16:14:38 +01:00