Mbed TLS is now part of TrustedFirmware.org.

mbedtls_x509_crt_verify failure - not enough memory


Sep 12, 2017 16:56
Larry Harmon

I am running mbedtls version 2.6.0 on a memory limited ARM Cortex M0. I use the memory buffer allocation system so I can gauged memory usage. I have found that if I don't have a big enough memory buffer that the mbedtls_x509_crt_verify function fails, but not with a memory allocation error. Is this a bug? It sure made debugging harder.

 
Sep 13, 2017 06:49
Ron Eldor

Hi Larry,
Thank you for your query.
I believe this open issue describes your issue.
Regards,
Mbed TLS Team member
Ron