mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-13 14:22:19 +08:00
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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| CMakeLists.txt | ||
| debug_internal.h | ||
| debug.c | ||
| Makefile | ||
| mps_common.h | ||
| mps_error.h | ||
| mps_reader.c | ||
| mps_reader.h | ||
| mps_trace.c | ||
| mps_trace.h | ||
| net_sockets.c | ||
| pkcs7.c | ||
| ssl_cache.c | ||
| ssl_ciphersuites_internal.h | ||
| ssl_ciphersuites.c | ||
| ssl_client.c | ||
| ssl_client.h | ||
| ssl_cookie.c | ||
| ssl_debug_helpers.h | ||
| ssl_misc.h | ||
| ssl_msg.c | ||
| ssl_ticket.c | ||
| ssl_tls12_client.c | ||
| ssl_tls12_server.c | ||
| ssl_tls13_client.c | ||
| ssl_tls13_generic.c | ||
| ssl_tls13_invasive.h | ||
| ssl_tls13_keys.c | ||
| ssl_tls13_keys.h | ||
| ssl_tls13_server.c | ||
| ssl_tls.c | ||
| timing.c | ||
| version.c | ||
| x509_create.c | ||
| x509_crl.c | ||
| x509_crt.c | ||
| x509_csr.c | ||
| x509_internal.h | ||
| x509_oid.c | ||
| x509_oid.h | ||
| x509.c | ||
| x509write_crt.c | ||
| x509write_csr.c | ||
| x509write.c | ||