<?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 — running wolfssl benchmark on ARM-Cortex M0]]></title>
		<link>https://www.wolfssl.com/forums/topic1719-running-wolfssl-benchmark-on-armcortex-m0.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1719.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in running wolfssl benchmark on ARM-Cortex M0.]]></description>
		<lastBuildDate>Tue, 24 Jan 2023 22:23:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: running wolfssl benchmark on ARM-Cortex M0]]></title>
			<link>https://www.wolfssl.com/forums/post6919.html#p6919</link>
			<description><![CDATA[<p>Hi Yusheng,</p><p>Here is an example for how I&#039;ve built wolfSSL for QNX in the past:</p><div class="codebox"><pre><code>./configure --host=aarch64 CC=&quot;aarch64-unknown-nto-qnx7.0.0-gcc&quot; AR=&quot;aarch64-unknown-nto-qnx7.0.0-ar&quot; RANLIB=&quot;aarch64-unknown-nto-qnx7.0.0-ranlib&quot; --disable-examples CFLAGS=&quot;-DWOLFSSL_HAVE_MIN -DWOLFSSL_HAVE_MAX -DFP_MAX_BITS=8192&quot;</code></pre></div><p>You might consider adding `--disable-shared` so it is built statically. Then you can copy wolfcrypt/benchmark/benchmark to the target and run it.</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Tue, 24 Jan 2023 22:23:30 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6919.html#p6919</guid>
		</item>
		<item>
			<title><![CDATA[Re: running wolfssl benchmark on ARM-Cortex M0]]></title>
			<link>https://www.wolfssl.com/forums/post6918.html#p6918</link>
			<description><![CDATA[<p>Hi David,</p><p>I think the original question was more about how to run a cross-compiled benchmark, not about how to cross-compile wolfSSL in general.</p><p>Does benchmark support cross-compiling? Looking at <a href="https://github.com/wolfSSL/wolfssl/tree/v5.5.4-stable/wolfcrypt/benchmark">https://github.com/wolfSSL/wolfssl/tree … /benchmark</a> , I don&#039;t see an example of a cross-compiled output.</p><p>I&#039;ve built wolfSSL 4.7.0 for ARM v8 Zynq UltraScale+ QNX 7.1 using &quot;./configure --enable-benchmark --enable-smime --enable-opensslall --enable-opensslextra --enable-crl --enable-certgen --enable-des3 --enable-reproducible-build --enable-harden --enable-static --build=x86_64-linux-gnu --host=aarch64-qnx&quot; and with the environment variables CC=&quot;qcc&quot;<br />CFLAGS=&quot;-DWOLFSSL_PSS_SALT_LEN_DISCOVER -DWOLFSSL_HAVE_MIN -DWOLFSSL_HAVE_MAX&quot;.</p><p>With this build, I can successfully run wolfssl-config on my QNX target. But when I try to run benchmark on my QNX target, I get this:</p><p>wolfcrypt/benchmark/benchmark: qcc: cannot execute - No such file or directory</p><p>which makes sense because qcc is not expected to be on the target...only on the host. This seems to be happening at the &quot;# relink executable if necessary&quot; step.</p><p>So then, I tried running benchmark on the host. It showed this output:</p><p>wolfcrypt/benchmark/benchmark: wolfcrypt/benchmark/.libs/lt-benchmark: /usr/lib/ldqnx-64.so.2: bad ELF interpreter: No such file or directory<br />wolfcrypt/benchmark/benchmark: line 117: wolfcrypt/benchmark/.libs/lt-benchmark: Success</p><p>Then, I tried running benchmark on the target again, thinking that it made it past the &quot;relink executable if necessary&quot; step. It showed this output:</p><p>wolfcrypt/benchmark/.libs/lt-benchmark[178]: no closing quote</p><p>Any ideas?</p><p>Thanks,<br />Yusheng</p>]]></description>
			<author><![CDATA[null@example.com (yusheng)]]></author>
			<pubDate>Mon, 23 Jan 2023 21:55:16 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6918.html#p6918</guid>
		</item>
		<item>
			<title><![CDATA[Re: running wolfssl benchmark on ARM-Cortex M0]]></title>
			<link>https://www.wolfssl.com/forums/post5927.html#p5927</link>
			<description><![CDATA[<p>Hi mahdyseifelnasr,</p><p>We fully support the CortexM0 with some impressive assembly speedups for ECC, RSA and DH.</p><p>There is a good Makefile template for GCC ARM here:<br /><a href="https://github.com/wolfSSL/wolfssl/tree/master/IDE/GCC-ARM">https://github.com/wolfSSL/wolfssl/tree … DE/GCC-ARM</a></p><p>If you would prefer to cross-compile using ./configure here is an example:<br />./configure --host=arm-none-eabi CC=gcc AR=ar --disable-shared --enable-cryptonly --disable-examples --disable-crypttests --prefix=[yourpath]</p><p>If you have the option to use the STM32Cube wolfSSL pack it allows you to generate code on many STM32 targets and IDE&#039;s.</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Thu, 25 Mar 2021 17:36:00 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5927.html#p5927</guid>
		</item>
		<item>
			<title><![CDATA[running wolfssl benchmark on ARM-Cortex M0]]></title>
			<link>https://www.wolfssl.com/forums/post5926.html#p5926</link>
			<description><![CDATA[<p>Hello, </p><p>I am new in cryptography and I do not have much experience with microcontrollers. </p><p>I want to compile wolfssl library and use on ARM cortex M0. Later, I want to run wolfssl benchmark on the ARM cortex M0. </p><p>My developing environment is arm gcc as cross platform compiler, make for building and linking the project and openOCD as debugger. I can switch to CubeMX IDE if it will the development process easier.&nbsp; </p><br /><p>Can anyone help me how to compile and use wolfssl on ARM Cortex-M0 ?</p>]]></description>
			<author><![CDATA[null@example.com (mahdyseifelnasr)]]></author>
			<pubDate>Thu, 25 Mar 2021 17:14:45 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5926.html#p5926</guid>
		</item>
	</channel>
</rss>
