<?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 — STM32U5A5 HASH seems to not works as expected]]></title>
		<link>https://www.wolfssl.com/forums/topic2174-stm32u5a5-hash-seems-to-not-works-as-expected.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2174.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in STM32U5A5 HASH seems to not works as expected.]]></description>
		<lastBuildDate>Tue, 24 Sep 2024 19:10:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7889.html#p7889</link>
			<description><![CDATA[<p>Hi Rickou,</p><p>Congratulations! I am happy to hear you got it working. Let us know if anything else comes up.</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Tue, 24 Sep 2024 19:10:49 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7889.html#p7889</guid>
		</item>
		<item>
			<title><![CDATA[Re: STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7888.html#p7888</link>
			<description><![CDATA[<p>OK, i found it !<br />it was a mistake during copying the project files.<br />The main expect to use/init the CRYP module instance (linked to AES) but the HAL_MSP source expect SAES...<br />so you&#039;re right, the module was not clocked !</p><p>Now all is fine<br />Thank you for the help !</p>]]></description>
			<author><![CDATA[null@example.com (Rickou)]]></author>
			<pubDate>Tue, 24 Sep 2024 19:06:56 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7888.html#p7888</guid>
		</item>
		<item>
			<title><![CDATA[Re: STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7887.html#p7887</link>
			<description><![CDATA[<div class="quotebox"><cite>dgarske wrote:</cite><blockquote><p>Is it the same version of the CubeMX HAL for AES?</p></blockquote></div><p>Hum, yes, both projects generated in same way..</p><div class="quotebox"><cite>dgarske wrote:</cite><blockquote><p>Are you using the same AES GHASH build options, example: GCM_SMALL or GCM_TABLE_4BIT? The actual AES GCM test happens later. If it also fails then you might check to make sure the clock for the AES peripheral is enabled (__HAL_RCC_AES_CLK_ENABLE();).</p></blockquote></div><p>I will check this, but i&#039;m pretty sure clock is enabled</p>]]></description>
			<author><![CDATA[null@example.com (Rickou)]]></author>
			<pubDate>Tue, 24 Sep 2024 14:56:22 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7887.html#p7887</guid>
		</item>
		<item>
			<title><![CDATA[Re: STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7886.html#p7886</link>
			<description><![CDATA[<p>Hi Rickou,</p><p>That&#039;s odd. Is it the same version of the CubeMX HAL for AES? Are you using the same AES GHASH build options, example: GCM_SMALL or GCM_TABLE_4BIT? The actual AES GCM test happens later. If it also fails then you might check to make sure the clock for the AES peripheral is enabled (__HAL_RCC_AES_CLK_ENABLE();).</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Tue, 24 Sep 2024 14:37:51 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7886.html#p7886</guid>
		</item>
		<item>
			<title><![CDATA[Re: STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7883.html#p7883</link>
			<description><![CDATA[<p>i just made a test on my board with U5A5 (same config file, same lib version, same patch)</p><p>i just works as expected without errors .. hum...</p><p>So it&#039;s OK for me, but i&#039;m currious why it works on 1 target and not on another one..</p><p>Tested again on U545 using the lib provided main.c example..<br />same error during GMAC test.</p><p>I haven&#039;t seen any differences between the 2 MCU crypto... but as i said i&#039;m a newbee in Crypto world..</p>]]></description>
			<author><![CDATA[null@example.com (Rickou)]]></author>
			<pubDate>Tue, 24 Sep 2024 06:20:11 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7883.html#p7883</guid>
		</item>
		<item>
			<title><![CDATA[Re: STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7882.html#p7882</link>
			<description><![CDATA[<p>yes sure, found it attached.<br />I have just modified it for handling U545 MCU</p><p>I generated a blank project<br />I just configured the project using cubeIDE to enable RNG, EAES, PKA, HASH &amp; RTC modules.<br />then i added this config file and linked the library from a v5.7.2 git clone patched with the STM32 HW fix</p><p>run on NUCLEO U545-REQ board.</p><p>i will try on my own U5A5 board (but it&#039;s a little bit harder because of lack of USART)</p>]]></description>
			<author><![CDATA[null@example.com (Rickou)]]></author>
			<pubDate>Tue, 24 Sep 2024 06:09:13 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7882.html#p7882</guid>
		</item>
		<item>
			<title><![CDATA[Re: STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7878.html#p7878</link>
			<description><![CDATA[<p>Hi Rickou,</p><p>GMAC is the integrity portion of AES GCM and can be used like a hashing function. I suspect you won&#039;t need GMAC, but I will investigate the root cause with AES GCM HW crypto.</p><p>Can you share me your build settings to try and reproduce? With the CubeMX generated code the settings are usually in a wolfSSL/wolfSSL.I-CUBE-wolfSSL_conf.h.</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Mon, 23 Sep 2024 16:17:54 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7878.html#p7878</guid>
		</item>
		<item>
			<title><![CDATA[Re: STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7874.html#p7874</link>
			<description><![CDATA[<p>ok, i just tested on nucleo U545 board (my own board doesn&#039;t have UART on board)<br />the HASH&nbsp; test passed..<br />but i get GMAC error<br />GMAC&nbsp; &nbsp; &nbsp;test failed!<br /> error L=15541<br /> [fiducial line numbers: 8773 27740 43402 55860]<br />Crypt Test: Return code -1</p><p>when undefining NO_STM32_CRYPTO<br />if i&#039;m right this MCU also have crypto module as well as my U5A5..</p><p>if i do not undefined NO_STM32_CRYPTO all tests passed..</p>]]></description>
			<author><![CDATA[null@example.com (Rickou)]]></author>
			<pubDate>Mon, 23 Sep 2024 15:40:48 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7874.html#p7874</guid>
		</item>
		<item>
			<title><![CDATA[Re: STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7869.html#p7869</link>
			<description><![CDATA[<p>Hi dgarske,</p><p>thank for the info. i&#039;m currently using v5.7.2-stable</p><p>ok i will try to patch it</p><p>thank you !</p>]]></description>
			<author><![CDATA[null@example.com (Rickou)]]></author>
			<pubDate>Mon, 23 Sep 2024 06:22:41 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7869.html#p7869</guid>
		</item>
		<item>
			<title><![CDATA[Re: STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7868.html#p7868</link>
			<description><![CDATA[<p>Hi Rickou,</p><p>This issue was fixed in PR <a href="https://github.com/wolfSSL/wolfssl/pull/7787">https://github.com/wolfSSL/wolfssl/pull/7787</a> on July 29, 2024. </p><p>Please confirm you are using the latest master or patch your code with this PR. </p><p>If you continue to have any issues please let us know. </p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Fri, 20 Sep 2024 16:50:48 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7868.html#p7868</guid>
		</item>
		<item>
			<title><![CDATA[STM32U5A5 HASH seems to not works as expected]]></title>
			<link>https://www.wolfssl.com/forums/post7867.html#p7867</link>
			<description><![CDATA[<p>Hi there!</p><p>i&#039;m a newbee regarding Crypto/SSL/etc world..</p><p>I use a STM32U5A5 MCU.</p><p>I implemented the WolfSSL library successfuly.</p><p>BUT, if it try to use STM32 hardware HASH acceleration, i have failure to communicate with TLS1.2 and/or TLS1.3.</p><p>so i tryed the provided unit tests and i get same results..<br />if STM32 HASH is enabled, most tests fail.. starting with:<br />RANDOM&nbsp; &nbsp;test failed!</p><p>if i disable HASH HW acceleration, <br />all tests succeed...</p><p>is someone have any clue about this problem ?</p>]]></description>
			<author><![CDATA[null@example.com (Rickou)]]></author>
			<pubDate>Fri, 20 Sep 2024 16:47:49 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7867.html#p7867</guid>
		</item>
	</channel>
</rss>
