cancel
Showing results for 
Search instead for 
Did you mean: 

MBEDTLS_SSL_OUT_CONTENT_LEN

lonejack
Associate III

Hi, 

I'm working with STM32CubeMX and on MBEDSSL defined 

MBEDTLS_SSL_OUT_CONTENT_LEN at 2048.
When I generate the code I get (/CM7/MBEDTLS/App/mbedtls_config.h):
#define MBEDTLS_SSL_OUT_CONTENT_LEN 16384
 
lonejack_0-1708501317704.png

Is there a problem?

Am I making a mistake?

My environment: Linux, STM32CubeMX 6.10.0, FirmwarePackage STM32Cube FW_H7 V1.11.1

In the IOC file I see:

MBEDTLS.MBEDTLS_SSL_IN_CONTENT_LEN=2048
MBEDTLS.MBEDTLS_SSL_IN_CONTENT_LEN_ENABLE=0
MBEDTLS.MBEDTLS_SSL_MAX_CONTENT_LEN=2048
MBEDTLS.MBEDTLS_SSL_MAX_CONTENT_LEN_ENABLE=1
MBEDTLS.MBEDTLS_SSL_OUT_CONTENT_LEN=2048
MBEDTLS.MBEDTLS_SSL_OUT_CONTENT_LEN_ENABLE=1

Thank you

1 REPLY 1
nouirakh
ST Employee

Hello @lonejack 

I endeavor to reproduce the same MBEDTLS configurations as those observed by you.
However, the MBEDTLS_SSL_MAX_CONTENT_LEN_ENABLE configuration does not appear to be present in the configuration I have created using: STM32CubeMX 6.10.0, FirmwarePackage STM32Cube FW_H7 V1.11.1.

nouirakh_0-1714058649549.png

In order to ascertain the nature of the issue and to determine whether it originates from CubeMX or the Firmware Package, Could you please provide more details on your setting project option (code generator screenshot(that indicate the whole MBEDTLS configurations)) and if possible, attach your .ioc file/configuration.