Currently I am using mbed tls 2.16.3 and I am using it on STM32L4xx platform.
Before I was using dynamic memory allocation (heap), now planning to shift to static memory allocation.
I am using x509 ecc based certificate.
I am using DTLS handshake.
I am also using "mbedtls_memory_buffer_alloc_status" to print the status of static buffer.
The queries are -
Current use: 33 blocks / 2508 bytes, max: 99 blocks / 5392 bytes (total 8560 bytes), alloc / free: 8803 / 8771
What is blocks here and how many bytes per block?
My understanding is that - out of 99 blocks, 33 blocks are used. Is it right?
I need the values correct to make sure not to get the memory allocation failure
Please help me in these queries.