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
..
.jenkins
configs Fix test_malloc_0_null 2024-12-10 16:56:49 +01:00
git-scripts Header updates 2023-11-03 12:21:36 +00:00
include Move psa_test_wrappers.h/c to tf-psa-crypto 2024-12-04 14:25:02 +01:00
opt-testcases Add ignore list entries for TLS tests that are not executed 2024-10-10 17:26:11 +02:00
psa-client-server Refactor tests and programs comment 2024-11-20 16:20:52 +00:00
scripts Switch to actual TF-PSA-Crypto build_info.h 2024-12-11 22:32:45 +01:00
src Move psa_test_wrappers.h/c to tf-psa-crypto 2024-12-04 14:25:02 +01:00
suites Copy OID files that are getting moved to tf-psa-crypto 2025-05-07 14:35:04 +02:00
.gitignore Automatically generate tests/opt-testcases/tls13-compat.sh 2024-09-24 18:59:31 +02:00
CMakeLists.txt Revert "Remove mbedtls_test" 2024-12-10 16:56:49 +01:00
compat-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
compat.sh Remove support for RSA-PSK in compat.sh 2024-11-05 15:49:12 +01:00
context-info.sh Update directory-climbing path in context-info.sh 2024-07-05 15:49:05 +01:00
Descriptions.txt
make-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
Makefile Switch to tf-psa-crypto/build_info.h 2024-12-11 22:32:45 +01:00
ssl-opt.sh Merge pull request #9666 from Harry-Ramsey/remove-obsolete-ci-scripts-development 2024-12-09 10:49:45 +00:00