<?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 — Memory Configuration for STM32G071RB]]></title>
		<link>https://www.wolfssl.com/forums/topic2111-memory-configuration-for-stm32g071rb.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2111.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Memory Configuration for STM32G071RB.]]></description>
		<lastBuildDate>Fri, 03 May 2024 16:34:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Memory Configuration for STM32G071RB]]></title>
			<link>https://www.wolfssl.com/forums/post7621.html#p7621</link>
			<description><![CDATA[<p>Hi Pulkit,</p><p>Thanks for the question and talk this morning. You had WOLFSSL_SMALL_STACK defined and the HMAC struct was exceeding the available heap. The -125 error means an XMALLOC failed. Make sure you have all the SHA algorithms disabled that you do not need, leaving just SHA2-256 enabled. I also recommend removing WOLFSSL_SMALL_STACK in your case and increasing just the stack space in the linker script. Please let us know if you have any further issues.</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Fri, 03 May 2024 16:34:42 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7621.html#p7621</guid>
		</item>
		<item>
			<title><![CDATA[Re: Memory Configuration for STM32G071RB]]></title>
			<link>https://www.wolfssl.com/forums/post7620.html#p7620</link>
			<description><![CDATA[<p>Hello pathakpulkit06</p><p>Welcome to the wolfSSL Forums!</p><p>Yes, that error is usually an indication that the available stack should be increased. Could you share some more of your application code?</p><p>Here is an example that uses wc_PBKDF2 to stretch a password:<br /><a href="https://github.com/wolfSSL/wolfssl-examples/blob/2326995fb0bcd57687a9031f54f13e64672b2e46/crypto/aes/aes-file-encrypt.c#L56-L60">https://github.com/wolfSSL/wolfssl-exam … .c#L56-L60</a></p><p>Could you tell us a bit about your project goals using wolfSSL? Feel free to email support@wolfssl.com if you&#039;d prefer a more private format.</p><p>Thanks,<br />Eric - wolfSSL Support</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Fri, 03 May 2024 14:06:38 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7620.html#p7620</guid>
		</item>
		<item>
			<title><![CDATA[Memory Configuration for STM32G071RB]]></title>
			<link>https://www.wolfssl.com/forums/post7619.html#p7619</link>
			<description><![CDATA[<p>I am trying to port wolfCrypt library for STM32G071RB. Purpose of porting is derive key from password and salt using PBKDF2.<br />After following each step mentioned in <a href="https://github.com/wolfSSL/wolfssl/blob/master/IDE/STM32Cube/README.md">https://github.com/wolfSSL/wolfssl/blob … /README.md</a> given link I tried calling <br /> if (wc_PBKDF2(key, (const byte*)password, pLen, (const byte*)salt, sLen, iteration_count, KEY_SIZE, WC_HASH_TYPE_SHA256) != 0) {<br />&nbsp; &nbsp; &nbsp; &nbsp; printf(&quot;Error deriving key\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; return;<br />&nbsp; &nbsp; }<br />But this is returning MEMORY_E error code which is out of memory error.<br />I just want to know is it due to Microcontroller&#039;s insufficient RAM memory or any other reason?</p>]]></description>
			<author><![CDATA[null@example.com (pathakpulkit06)]]></author>
			<pubDate>Fri, 03 May 2024 07:49:31 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7619.html#p7619</guid>
		</item>
	</channel>
</rss>
