<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — Optimal wolfSSL configuration for DTLS 1.3 on STM32U575 MCU]]></title>
		<link>https://www.wolfssl.com/forums/topic2285-optimal-wolfssl-configuration-for-dtls-13-on-stm32u575-mcu.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2285.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Optimal wolfSSL configuration for DTLS 1.3 on STM32U575 MCU.]]></description>
		<lastBuildDate>Wed, 26 Feb 2025 22:09:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Optimal wolfSSL configuration for DTLS 1.3 on STM32U575 MCU]]></title>
			<link>https://www.wolfssl.com/forums/post8232.html#p8232</link>
			<description><![CDATA[<p>Hi Chinmay,</p><p>I implemented some of your feedback in this PR: <a href="https://github.com/wolfSSL/wolfssl/pull/8488">https://github.com/wolfSSL/wolfssl/pull/8488</a></p><p>In the background we will look at ways to reduce the code size for DTLS v1.3 only.</p><p>If you are only a server or client you can use the NO_WOLFSSL_SERVER and NO_WOLFSSL_CLIENT options to reduce code size.</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Wed, 26 Feb 2025 22:09:12 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post8232.html#p8232</guid>
		</item>
		<item>
			<title><![CDATA[Re: Optimal wolfSSL configuration for DTLS 1.3 on STM32U575 MCU]]></title>
			<link>https://www.wolfssl.com/forums/post8231.html#p8231</link>
			<description><![CDATA[<p>Hello David,</p><p>1. Along with WOLFSSL_DTLS13, I also added defined WOLFSSL_SEND_HRR_COOKIE . In this manner I was able to disable WOLF_CONF_TLS12 from the configuration.</p><p>2. Yes. In the debug mode the library consumes approximately 285KB and 171KB in release mode. Could this be optimized ? Please find the configuration that I am using below,</p><p>/* Includes ------------------------------------------------------------------*/</p><p>/**<br />&nbsp; &nbsp; MiddleWare name : wolfSSL.I-CUBE-wolfSSL.5.7.6<br />&nbsp; &nbsp; MiddleWare fileName : wolfSSL.I-CUBE-wolfSSL_conf.h<br />&nbsp; &nbsp; MiddleWare version :<br />*/<br />/*---------- WOLF_CONF_DEBUG -----------*/<br />#define WOLF_CONF_DEBUG&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_WOLFCRYPT_ONLY -----------*/<br />#define WOLF_CONF_WOLFCRYPT_ONLY&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_TLS13 -----------*/<br />#define WOLF_CONF_TLS13&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_TLS12 -----------*/<br />#define WOLF_CONF_TLS12&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_DTLS -----------*/<br />#define WOLF_CONF_DTLS&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_MATH -----------*/<br />#define WOLF_CONF_MATH&nbsp; &nbsp; &nbsp; 3</p><p>/*---------- WOLF_CONF_RTOS -----------*/<br />#define WOLF_CONF_RTOS&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_RNG -----------*/<br />#define WOLF_CONF_RNG&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_RSA -----------*/<br />#define WOLF_CONF_RSA&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_ECC -----------*/<br />#define WOLF_CONF_ECC&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_DH -----------*/<br />#define WOLF_CONF_DH&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_AESGCM -----------*/<br />#define WOLF_CONF_AESGCM&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_AESCBC -----------*/<br />#define WOLF_CONF_AESCBC&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_CHAPOLY -----------*/<br />#define WOLF_CONF_CHAPOLY&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_EDCURVE25519 -----------*/<br />#define WOLF_CONF_EDCURVE25519&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_MD5 -----------*/<br />#define WOLF_CONF_MD5&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_SHA1 -----------*/<br />#define WOLF_CONF_SHA1&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_SHA2_224 -----------*/<br />#define WOLF_CONF_SHA2_224&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_SHA2_256 -----------*/<br />#define WOLF_CONF_SHA2_256&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_SHA2_384 -----------*/<br />#define WOLF_CONF_SHA2_384&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_SHA2_512 -----------*/<br />#define WOLF_CONF_SHA2_512&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_SHA3 -----------*/<br />#define WOLF_CONF_SHA3&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_PSK -----------*/<br />#define WOLF_CONF_PSK&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_PWDBASED -----------*/<br />#define WOLF_CONF_PWDBASED&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_KEEP_PEER_CERT -----------*/<br />#define WOLF_CONF_KEEP_PEER_CERT&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_BASE64_ENCODE -----------*/<br />#define WOLF_CONF_BASE64_ENCODE&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_OPENSSL_EXTRA -----------*/<br />#define WOLF_CONF_OPENSSL_EXTRA&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_TEST -----------*/<br />#define WOLF_CONF_TEST&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_KYBER -----------*/<br />#define WOLF_CONF_KYBER&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_ARMASM -----------*/<br />#define WOLF_CONF_ARMASM&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_IO -----------*/<br />#define WOLF_CONF_IO&nbsp; &nbsp; &nbsp; 1</p><p>/*---------- WOLF_CONF_RESUMPTION -----------*/<br />#define WOLF_CONF_RESUMPTION&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_TPM -----------*/<br />#define WOLF_CONF_TPM&nbsp; &nbsp; &nbsp; 0</p><p>/*---------- WOLF_CONF_PK -----------*/<br />#define WOLF_CONF_PK&nbsp; &nbsp; &nbsp; 0</p><p>/* ------------------------------------------------------------------------- */</p><p>Note: WOLFSSL_DTLS13 and WOLFSSL_SEND_HRR_COOKIE are defined.</p><p>3. Thanks for the clarification.</p><p>Best regards,<br />Chinmay</p>]]></description>
			<author><![CDATA[null@example.com (chinmay)]]></author>
			<pubDate>Wed, 26 Feb 2025 09:12:52 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post8231.html#p8231</guid>
		</item>
		<item>
			<title><![CDATA[Re: Optimal wolfSSL configuration for DTLS 1.3 on STM32U575 MCU]]></title>
			<link>https://www.wolfssl.com/forums/post8230.html#p8230</link>
			<description><![CDATA[<p>Hi Chinmay,</p><p>Thanks for your interest in our DTLS v1.3 support. </p><p>1) You are correct, the build configuration options and template for the ST Cube Pack do not yet have DTLS v1.3.<br />The configuration template comes from: <a href="https://github.com/wolfSSL/wolfssl/blob/master/IDE/STM32Cube/default_conf.ftl">https://github.com/wolfSSL/wolfssl/blob … t_conf.ftl</a></p><p>For now you can manually add:<br /></p><div class="codebox"><pre><code>#define WOLFSSL_DTLS
#define WOLFSSL_DTLS13</code></pre></div><p>We will work on adding DTLS v1.3 to the template.</p><p>2) The DTLS v1.3 code requires DTLS and TLS v1.3 code (for now). Are you seeing an issue with code size? I have logged this as a feature request.</p><p>4) The option WOLF_CONF_TLS12 comes from the pack &quot;STM32CubeMX/wolfSSL.I-CUBE-wolfSSL.5.7.6_Configs.xml&quot; file. The GUI generates an option for this: `&lt;Argument AddressOf=&quot;false&quot; Comment=&quot;WOLF_CONF_TLS12&quot; GenericType=&quot;simple&quot; Name=&quot;WOLF_CONF_TLS12&quot; OptimizationCondition=&quot;equal&quot;/&gt;`.</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Tue, 25 Feb 2025 16:28:34 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post8230.html#p8230</guid>
		</item>
		<item>
			<title><![CDATA[Optimal wolfSSL configuration for DTLS 1.3 on STM32U575 MCU]]></title>
			<link>https://www.wolfssl.com/forums/post8229.html#p8229</link>
			<description><![CDATA[<p>Reposted from STM32 forum: <a href="https://community.st.com/t5/stm32-mcus-embedded-software/optimal-wolfssl-configuration-for-dtls-1-3-on-stm32u575-mcu/m-p/776457/highlight/true#M60536">https://community.st.com/t5/stm32-mcus- … rue#M60536</a></p><p>Hello,</p><p>I am using STM32U575CGU6 MCU and want to use wolfSSL library with minimal flash consumption. My application intends to used DTLS 1.3 and no TLS use case is foreseen.</p> <br /><br /><p>Note: The wolfSSL library version used is 5.7.6.</p> <br /><br /><p>Kindly support me with following issues,</p><p>1. How can I correctly configure DTLS 1.3. It seems that the DTLS1.3 implementation is not available and the library configured over the tool just supports DTLS 1.2. </p><p>2. While using DTLS, I have to also necessarily configure TLS 1.3 and TLS 1.2 to compile the code. This increases the overall code memory. Can this be avoided? Am I missing some configuration step here.</p><p>3. (Answered) The video- &quot; <a href="https://www.youtube.com/watch?v=pUd2HEfBp3w">https://www.youtube.com/watch?v=pUd2HEfBp3w</a> &quot; explains &quot;How to use wolfSSL software expansion for STM32Cube&quot;. However, the downloaded pack does not provide any ,ready to use ,.ioc sample file for wolfSSL tests (for NUCLEO-U575ZI-Q board).&nbsp; Where can I find this?</p><p>4. The &quot; <a href="https://github.com/wolfSSL/wolfssl/blob/master/IDE/STM32Cube/default_conf.ftl">https://github.com/wolfSSL/wolfssl/blob … t_conf.ftl</a> &quot; and the generated &quot;\wolfSSL\wolfSSL.I-CUBE-wolfSSL_conf.h&quot; file have some discrepancies. For example, there is an additional &quot;WOLF_CONF_TLS12&quot; in the generated header file. Why do I see this difference, when using the same version?</p> <br /><p>Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (chinmay)]]></author>
			<pubDate>Tue, 25 Feb 2025 11:46:38 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post8229.html#p8229</guid>
		</item>
	</channel>
</rss>
