mbedtls
mbedtls copied to clipboard
Revise the granularity of X.509 options
Revise MBEDTLS_X509_xxx
options, try to eliminate some.
- Do we really need
MBEDTLS_X509_USE_C
andMBEDTLS_X509_CREATE_C
? CREATE without USE doesn't seem very useful. But needing USE without CREATE is common, so keepMBEDTLS_X509_CREATE
? -
MBEDTLS_X509_RSASSA_PSS_SUPPORT
? It guards quite a bit of code so we should probably keep it for code size. - Split
mbedx509_config.h
frommbedtls_config.h
? Doesn't seem worth the trouble.
See also https://github.com/Mbed-TLS/mbedtls/issues/8107, https://github.com/Mbed-TLS/mbedtls/issues/8973.