Topic: Overridden XMALLOC - which hinted allocation types are most sensitive?

Hi,

I'm currently experimenting with integrating wolfSSL on an embedded device. The MCU has a smaller amount of SRAM built-in, and access to a much larger amount of SDRAM. Access to the external SDRAM is through an external bus which, aside from being twice as slow, is more vulnerable from a security standpoint.

I'm using the XMALLOC_OVERRIDE flag to use my own memory pool.

I will not be able to put all RAM allocated by wolfSSL into SRAM, but I could put things there selectively, based on the usage hint provided in XMALLOC. Is there a guideline or some hints for which types (e.g. DYNAMIC_TYPE_KEY) that are to be considered the most sensitive?

Additionally, is there a guideline for which memory types have the most performance impact in the above scenario, in a "typical" TLS (using either ECC or RSA) client scenario?

Share

Re: Overridden XMALLOC - which hinted allocation types are most sensitive?

Hello Jacob,

Welcome to the wolfSSL Forums.

I suspect this issue is related to a customer that has a support contract with us. Please email support@wolfssl.com to initiate a support ticket that will receive the highest priority response.

Thanks,
Eric - wolfSSL Support