<?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 — Build config for high performance aes cbc decryption in armv7 device]]></title>
		<link>https://www.wolfssl.com/forums/topic1852-build-config-for-high-performance-aes-cbc-decryption-in-armv7-device.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1852.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Build config for high performance aes cbc decryption in armv7 device.]]></description>
		<lastBuildDate>Fri, 18 Mar 2022 13:49:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Build config for high performance aes cbc decryption in armv7 device]]></title>
			<link>https://www.wolfssl.com/forums/post6517.html#p6517</link>
			<description><![CDATA[<p>It is possible to optimize, but we have not yet implemented the needed support on this platform. You are welcome to formally request this feature.</p><div class="quotebox"><blockquote><p>Also can you suggest any tips, best practices or parallelization techniques to improve decryption performance with the current wolfcrypt release (5.2.0). is there any way I can improve performance, at software level.</p></blockquote></div><p>We have several math library optimizations that you can try. Here is an example config:<br /><a href="https://github.com/wolfSSL/wolfssl/blob/master/examples/configs/user_settings_template.h">https://github.com/wolfSSL/wolfssl/blob … template.h</a><br />I recommend testing with WOLFSSL_SP_MATH and WOLFSSL_SP_MATH_ALL</p><div class="quotebox"><blockquote><p>]Currently my application is showing 25-30% cpu usage without decryption and with decryption it shows 60-70% cpu usage, is this normal?</p></blockquote></div><p>Without HW acceleration enabled, this sounds plausible.</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Fri, 18 Mar 2022 13:49:50 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6517.html#p6517</guid>
		</item>
		<item>
			<title><![CDATA[Re: Build config for high performance aes cbc decryption in armv7 device]]></title>
			<link>https://www.wolfssl.com/forums/post6514.html#p6514</link>
			<description><![CDATA[<div class="quotebox"><cite>embhorn wrote:</cite><blockquote><p>Hi abdulwazeed1,</p><p>We do not currently support any optimizations for ARMv7. Would you like to open a feature request? Please send an email to support@wolfssl.com</p><p>Thanks,<br />Eric @ wolfSSL Support</p></blockquote></div><br /><br /><p>Hi,<br />Thank you for responding, does that mean its not possible to get hardware level acceleration in armv7 devices for aes cbc decryption using wolfcrypt.</p><p>Also can you suggest any tips, best practices or parallelization techniques to improve decryption performance with the current wolfcrypt release (5.2.0). is there any way I can improve performance, at software level.</p><p>Currently my application is showing 25-30% cpu usage without decryption and with decryption it shows 60-70% cpu usage, is this normal?</p>]]></description>
			<author><![CDATA[null@example.com (abdulwazeed1)]]></author>
			<pubDate>Fri, 18 Mar 2022 05:20:41 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6514.html#p6514</guid>
		</item>
		<item>
			<title><![CDATA[Re: Build config for high performance aes cbc decryption in armv7 device]]></title>
			<link>https://www.wolfssl.com/forums/post6513.html#p6513</link>
			<description><![CDATA[<p>My colleague reminded me that this should be clarified!</p><p>The library does not support optimization for AES CBC… We do support optimization for all asymmetric math operations.</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Thu, 17 Mar 2022 20:20:35 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6513.html#p6513</guid>
		</item>
		<item>
			<title><![CDATA[Re: Build config for high performance aes cbc decryption in armv7 device]]></title>
			<link>https://www.wolfssl.com/forums/post6512.html#p6512</link>
			<description><![CDATA[<p>Hi abdulwazeed1,</p><p>We do not currently support any optimizations for ARMv7. Would you like to open a feature request? Please send an email to support@wolfssl.com</p><p>Thanks,<br />Eric @ wolfSSL Support</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Thu, 17 Mar 2022 17:46:54 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6512.html#p6512</guid>
		</item>
		<item>
			<title><![CDATA[Build config for high performance aes cbc decryption in armv7 device]]></title>
			<link>https://www.wolfssl.com/forums/post6511.html#p6511</link>
			<description><![CDATA[<p>Hello,</p><p>I am working with aes cbc decryption on armv7 device and I want high performance decryption. I am currently using a particular configuration which is working on armv7 devices but I want best decryption performance possible using wolfcrypt on armv7 devices. What build configurations to be used while building wolfcrypt.</p><p>Currently I am using android ndk tool chain for building my wolfcrypt library.</p><p>&nbsp; export NDK=/home/android-ndk-r23b<br />&nbsp; export TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/linux-x86_64<br />&nbsp; export TARGET=armv7a-linux-androideabi<br />&nbsp; export API=31<br />&nbsp; export AR=$TOOLCHAIN/bin/llvm-ar<br />&nbsp; export CC=$TOOLCHAIN/bin/$TARGET$API-clang<br />&nbsp; export AS=$CC<br />&nbsp; export CXX=$TOOLCHAIN/bin/$TARGET$API-clang++<br />&nbsp; export LD=$TOOLCHAIN/bin/ld<br />&nbsp; export RANLIB=$TOOLCHAIN/bin/llvm-ranlib<br />&nbsp; export STRIP=$TOOLCHAIN/bin/llvm-strip</p><p>./configure --host $TARGET \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --enable-keygen \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --disable-crypttests --enable-fast-rsa \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --disable-aesgcm --disable-dh --disable-des3 \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --enable-cryptonly \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --disable-examples --enable-debug</p>]]></description>
			<author><![CDATA[null@example.com (abdulwazeed1)]]></author>
			<pubDate>Thu, 17 Mar 2022 14:29:28 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post6511.html#p6511</guid>
		</item>
	</channel>
</rss>
