Hi,

 

 

I have ported mbedtls library on am embedded platform developed to encrypt / decrypt messages using AES GCM 256 key. After several hours of running, we are experiencing error MBEDTLS_ERR_CIPHER_ALLOC_FAILED 0x6180 and malloc functions fails as the heap seems to be piled-up.

 

How could I is using correct free function and the actual allocated memory is freed?

 

 

Thanks,

Gopi Krishnan