mbedtls_x509_crt_parse_der_nocopy() is only used within mbedTLS.
 
Symbols
loading (4/5)...
Files
mbedTLS
esp_crt_bundle
mbedtls
3rdparty
include
mbedtls
psa
library
port
ESP-IDF
FreeRTOS
cJSON
lwIP
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

\c 0 if successful. A negative error code on failure.

Notes

If #MBEDTLS_USE_PSA_CRYPTO is enabled, the PSA crypto subsystem must have been initialized by calling psa_crypto_init() before calling this function. This call is functionally equivalent to mbedtls_x509_crt_parse_der(), but it avoids creating a copy of the input buffer at the cost of stronger lifetime constraints. This is useful in constrained environments where duplication of the CRT cannot be tolerated.

References