<?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 — General Inquiries]]></title>
		<link>https://www.wolfssl.com/forums/</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-forum5.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent topics at wolfSSL - Embedded SSL Library.]]></description>
		<lastBuildDate>Mon, 19 Jan 2026 16:09:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[please consider adding a "watchdog reset callback" [new feature]]]></title>
			<link>https://www.wolfssl.com/forums/topic2458-please-consider-adding-a-watchdog-reset-callback-new-feature-new-posts.html</link>
			<description><![CDATA[<p>We&#039;re using WolfSsl 5.8.0 as TLS client on a simple 32bit MCU which is pretty slow.<br />The MCU has no HW crypto accelerator whatsoever.<br />I&#039;m talking about a system with ~ 60 Dhrystone MIPS.</p><p>TLS1.3 (and ECC) is a mandatory requirement. </p><p>We found our TLS connection fails because the MCU resets due to a watchdog reset.<br />It happens when WolfSsl verifies the (server) ECC certificate, this is part of the TLS<br />handshake which is part of the TLS connection setup which is triggered by<br />our application exchanging data (with wolfSSL_write).<br />What happens in detail is that, in our case:</p><p>DoProcessReplyEx -&gt; DoTls13HandShakeMsg -&gt; DoTls13HandShakeMsgType -&gt; DoTls13CertificateVerify -&gt; EccVerify</p><p>takes quite a long time (~ 10 seconds).</p><p>Maybe this is because we&#039;re letting WolfSsl alloc memory dynamically. Also, we&#039;ve noticed the<br />wolfcrypt ECC crypto logic/functions (e.g. ecc_verify_hash) are quite &quot;heavy&quot;.</p><p>Of course the watchdog reset is our problem, and so we fixed it for our system/platform.<br />But since our HW/board and bootloader is final we could not adapt the watchdog timer. So, we<br />had to add some &quot;watchdog resets&quot; in the WolfSsl/Wolfcrypt code.</p><p>I can imagine we&#039;re not the only ones having this issue, and afaik. there is no way for a user<br />to make WolfSsl/WolfCrypt call some user provided watchdog reset function.</p><p>I guess it&#039;d be good to add it to WolfSsl, afterall, you guys know where &quot;heavy&quot; and possible slow<br />processing might occur.</p>]]></description>
			<author><![CDATA[null@example.com (nvbolhuis)]]></author>
			<pubDate>Mon, 19 Jan 2026 16:09:55 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic2458-please-consider-adding-a-watchdog-reset-callback-new-feature-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[is "on-demand root CA certificate loading" a good idea?]]></title>
			<link>https://www.wolfssl.com/forums/topic2416-is-ondemand-root-ca-certificate-loading-a-good-idea-new-posts.html</link>
			<description><![CDATA[<p>Hello WolfSsl community,</p><p>We&#039;re using WolfSsl 5.8.0 as TLS client on a simply MCU which is very limited on<br />memory space and less limited on program/flash space.</p><p>Because of this, and for several other reasons as well, I do not want to use<br />wolfSSL_CTX_load_verify_buffer_ex(... format=SSL_FILETYPE_ASN1, userChain=1 ...)<br />to load all root CA certificates to be able to verify the server certificate chain (SSL_VERIFY_PEER).</p><p>Btw. <a href="https://curl.se/docs/caextract.html">https://curl.se/docs/caextract.html</a> shows there are &gt;100 root CA certificates to have<br />in the system &quot;local trust store&quot;. Some of them aren&#039;t relevant, but I guess maybe 50-80 ones<br />are (the system is quite generic and used internationally).</p><p>So, I thought about and implemented &quot;on-demand root CA certificate loading&quot;.<br />It works as follows:</p><p>1. create an SKI-indexed list of (the most important) root CA certificates in DER format<br />2. the list will be part of the FW-image which resides on flash (and on MCU program flash during execution)<br />3. GetCA will be changed to search the list, add a certificate with wolfSSL_CTX_load_verify_buffer and try again (=2nd attempt) if the cert. can not be found the 1st attempt.</p><p>Since it is an SKI (Subject Key Identifier) indexed list and an SKI is assumed to be 20 bytes <br />the limitations are obvious. There is no support for certificates without SKI and/or truncated SKI.<br />I believe this is acceptable.</p><p>I&#039;d like to ask: is there anything fundamentally wrong with the above concept?</p><p>Thanks for your thoughts!</p>]]></description>
			<author><![CDATA[null@example.com (nvbolhuis)]]></author>
			<pubDate>Thu, 13 Nov 2025 09:24:14 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic2416-is-ondemand-root-ca-certificate-loading-a-good-idea-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Porting wolfSSL to ch32v307]]></title>
			<link>https://www.wolfssl.com/forums/topic2276-porting-wolfssl-to-ch32v307-new-posts.html</link>
			<description><![CDATA[<p>Hi,</p><p>I am working on a project trying to port wolfSSL 4.4 to ch32v307, one RISC-V MCU designed by WCH company. This embed board will work as one ssl client. The mcu has its own protocol library for tcp/udp communication task. I copied wolfssl/wolfcrypt source and header files to mcu project, using user-defined setting file for wolfSSL. Now the compilation is successful and firmware can run in embed board. But from the debug message it is failed during SSL handshake. By wireshark tool, I can observe that ssl client send Client Hello to ssl server and server returns Server Hello, but it has problem when paring the Server Hello packet. I debugged the wolfSSL program, its call stack is like this:</p><p>ssl.c wolfSSL_connect()<br />internal.c ProcessReply()<br />internal.c GetInputData()<br />internal.c wolfSSLReceive()<br />wolfio.c EmbedReceive()<br />wolfio.c wolfIO_Recv()</p><p>From the log the function wolfIO_Recv() reads the whole Server Hello packet which is 1427 bytes, but the wolfSSL expects 5 bytes at first time, then parse the remaining contents of Server Hello. I mean it seems that wolfSSL is trying to parse Server Hello packet by two parts, but wolfIO_Recv() read the packet by one calling.</p><p>Here is the log information (some are wolfSSL messages, some are from my mcu project.)</p><p>wolfSSL Entering wolfSSL_Init<br />wolfSSL Entering wolfCrypt_Init<br />wolfSSL Entering TLSv1_2_client_method_ex<br />wolfSSL Entering wolfSSL_CTX_new_ex<br />wolfSSL Entering wolfSSL_CertManagerNew<br />wolfSSL Leaving WOLFSSL_CTX_new, return 0<br />wolfSSL Entering wolfSSL_CTX_set_verify<br />WCHNET_SocketCreat 0<br />wolfSSL Entering SSL_new<br />wolfSSL Leaving SSL_new, return 0<br />wolfSSL Entering SSL_set_fd<br />wolfSSL Entering SSL_set_read_fd<br />wolfSSL Leaving SSL_set_read_fd, return 1<br />wolfSSL Entering SSL_set_write_fd<br />wolfSSL Leaving SSL_set_write_fd, return 1<br />ssl:20000404<br />MACAddr:200003f8<br />maclen:20017fcc<br />PHY Link Success<br />TCP Connect Success<br />wolfSSL Entering SSL_connect()<br />wolfSSL Entering SendClientHello<br />Adding signature algorithms extension<br />growing output buffer</p><p>Signature Algorithms extension to write<br />Point Formats extension to write<br />Supported Groups extension to write<br />Encrypt-Then-Mac extension to write<br />EMS extension to write<br />sz:142<br />@sz:142 sent:142<br />Shrinking output buffer</p><p>wolfSSL Leaving SendClientHello, return 0<br />enter solfSSL_ETHRx<br />recv data len:1427</p><p>connect state: CLIENT_HELLO_SENT<br />ProcessReply<br />AA<br />GetInputData, size:5</p><p>EmbedReceive: 5<br />wolfIO_Recv: 1427 flag:0<br />@sz:1427 recvd:1427<br />buf:16 03 03 05 FFFFFF8E<br />wolfSSL error occurred, error = -376</p><p>Could anyone give me some suggestions for this problem?</p><p>Does wolfSSL really need to parse Server Hello packet by two parts/calling wolfIO_Recv() twice?<br />Or my user-defined setting header file for wolfSSL has something wrong?</p><p>Thanks,<br />Rick</p>]]></description>
			<author><![CDATA[null@example.com (gyjin20)]]></author>
			<pubDate>Mon, 10 Feb 2025 15:22:05 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic2276-porting-wolfssl-to-ch32v307-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Switching from TLS_AES_128_CCM_SHA256 to TLS_AES_128_CCM_8_SHA256]]></title>
			<link>https://www.wolfssl.com/forums/topic2274-switching-from-tlsaes128ccmsha256-to-tlsaes128ccm8sha256-new-posts.html</link>
			<description><![CDATA[<p>Firstly I am totally new to TLS.</p><p>We are switching from TLS_AES_128_CCM_SHA256 to TLS_AES_128_CCM_8_SHA256 for a little better performance.<br />We are using wolfssl 5.7.6, and not really using the whole code but cut down as required. and we are not building the library as such but using it directly by attaching it to a package.</p><p>I have done&nbsp; 2 things until now in my <strong>user_settings.h</strong> file, added the second line as I believe the first line was responsible for TLS_AES_128_CCM_8_SHA256 implementation&nbsp; <br />#define HAVE_AESCCM<br /><strong>#define HAVE_AESCCM_8</strong> //(newly added by me, Not sure if this is a correct define for CCM_8 for this cipher).</p><p>and in my code I have Changed,<br />&nbsp; &nbsp;//ret = wolfSSL_CTX_set_cipher_list(ctx, &quot;TLS_AES_128_CCM_SHA256&quot;);<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<strong>ret = wolfSSL_CTX_set_cipher_list(ctx, &quot;TLS_AES_128_CCM_8_SHA256&quot;);</strong><br />I have turned the debugger of the wolfssl and its giving me that handshake is complete but my comms is restarting again after few seconds without throwing any errors.</p><p><strong>Questions:-</strong><br />1.What changes do I have to do for maybe auth, keyexchange and for cipher suite to get this worked.<br />2.In general Requirements for TLS_AES_128_CCM_8_SHA256</p><p>Again the current impl is working fine with TLS_AES_128_CCM_SHA256 need to do some tweaks for TLS_AES_128_CCM_8_SHA256<br />Please ask me as much questions as you want because I may not have added enough information to overview.</p><p><strong>Code:-<br /></strong><br />&nbsp; &nbsp;int ret = 0;<br />&nbsp; &nbsp;int sz = 0;</p><p>&nbsp; &nbsp;int MAX_CONCURRENT_IO = 0;</p><p>&nbsp; &nbsp;ctx = NULL;</p><p>&nbsp; &nbsp;initializeSSL();</p><p>&nbsp; &nbsp;short unsigned int minDhKey = 128;<br />&nbsp; &nbsp;wolfSSL_CTX_SetMinDhKey_Sz(ctx, minDhKey);</p><p>&nbsp; &nbsp;WOLFSSL_METHOD* method;</p><p>&nbsp; &nbsp;/* Get encryption method based on TLS version */</p><p>&nbsp; &nbsp;method = wolfTLSv1_3_server_method();</p><p>&nbsp; &nbsp;/* Allocate wolfSSL_CTX, cipher list, cert and key */</p><p>&nbsp; &nbsp;if ( (ctx = wolfSSL_CTX_new(method)) == NULL)<br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; // error loading ctx<br />&nbsp; &nbsp; &nbsp; PARA_LOG(LOG_ID_SC, &quot;WolfSSL_CTX_new error\n&quot;);<br />&nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp;//ret = wolfSSL_CTX_set_cipher_list(ctx, &quot;TLS_AES_128_CCM_SHA256&quot;);<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;ret = wolfSSL_CTX_set_cipher_list(ctx, &quot;TLS_AES_128_CCM_8_SHA256&quot;);<br />&nbsp; &nbsp;printf(&quot;-------------------------Loading Cipher onto ret---------------------------------------------&quot;);<br />&nbsp; &nbsp;if (ret != SSL_SUCCESS) <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; // error loading private key from buffer<br />&nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;-------------------------1Error Loading Cipher onto ret---------------------------------------------&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;PARA_LOG(LOG_ID_SC, &quot;Error Cipher List: %i\n&quot;, ret);<br />&nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp;wolfSSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, 0);</p><p>&nbsp; &nbsp;ret = wolfSSL_CTX_load_verify_buffer(ctx, serv_ecc_der_256,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sizeof_serv_ecc_der_256, SSL_FILETYPE_ASN1); <br />&nbsp; &nbsp;//printf(ret);<br />&nbsp; &nbsp;if (ret != SSL_SUCCESS)&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; // error loading certificate from buffer.</p><p>&nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;-------------------------2 Error Loading Certificate onto ret---------------------------------------------&quot;);<br />&nbsp; &nbsp; &nbsp; PARA_LOG(LOG_ID_SC, &quot;Error Loading client buffer.\n&quot;);<br />&nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp;ret = wolfSSL_CTX_use_certificate_buffer(ctx, serv_ecc_der_256,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sizeof_serv_ecc_der_256, WOLFSSL_FILETYPE_ASN1);</p><p>&nbsp; &nbsp;if (ret != SSL_SUCCESS) <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; // error loading certificate from buffer</p><p>&nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;-------------------------3 Error use Certificate onto ret---------------------------------------------&quot;);<br />&nbsp; &nbsp; &nbsp; PARA_LOG(LOG_ID_SC, &quot;Error Loading Certificate buffer.\n&quot;);<br />&nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp;ret = wolfSSL_CTX_use_PrivateKey_buffer(ctx, ecc_key_der_256,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sizeof_ecc_key_der_256, WOLFSSL_FILETYPE_ASN1);</p><p>&nbsp; &nbsp;if (ret != SSL_SUCCESS) <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; // error loading private key from buffer<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;-------------------------3 Error use private key onto ret---------------------------------------------&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;PARA_LOG(LOG_ID_SC, &quot;Error Loading Private Key buffer: %i\n&quot;, ret);<br />&nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp;createNewSession();<br />&nbsp; &nbsp;}</p><p>Thank you in advance!!</p>]]></description>
			<author><![CDATA[null@example.com (sadanand.s.kolhe)]]></author>
			<pubDate>Fri, 07 Feb 2025 20:04:00 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic2274-switching-from-tlsaes128ccmsha256-to-tlsaes128ccm8sha256-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[mutual authentication]]></title>
			<link>https://www.wolfssl.com/forums/topic2211-mutual-authentication-new-posts.html</link>
			<description><![CDATA[<p>Hello,<br />I just joined the community and have a question.</p><p>I understand that &quot;mutual authentication&quot; involves both sides of an SSL/TLS connection sending the certificate chain during the handshake and verifying the counterparty&#039;s chain.<br />So when does that happen?</p>]]></description>
			<author><![CDATA[null@example.com (toni992)]]></author>
			<pubDate>Wed, 30 Oct 2024 04:11:48 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic2211-mutual-authentication-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[non-blocking usage, e.g. with WOLFSSL_SP_ARM_CORTEX_M_ASM]]></title>
			<link>https://www.wolfssl.com/forums/topic2101-nonblocking-usage-eg-with-wolfsslsparmcortexmasm-new-posts.html</link>
			<description><![CDATA[<p>We are attempting to integrate WolfSSL on our automotive product using an NXP S32K344 CPU (Arm Cortex M7). This CPU has hardware support for some cryptographic functions, but we are not using these (yet).</p><p>It is important for our application that no call to the WolfSSL library blocks for too long. We therefore want to use as much as possible of the asynchronous features. Another restriction of our setup is that we use static memory allocation.</p><p>First we perform the following initialization steps:<br />- call wolfSSL_init();<br />- call wolfSSL_CTX_load_static_memory() to configure memory and initialize a WolfSSL context.<br />- call wolfSSL_CTX_load_verify_buffer_ex() to load a self-signed CA certificate (filetype ASN1)</p><p>Then we want to verify a certificate against the CA that has just been loaded. Ideally this could be done by using wolfSSL_CertManagerVerifyBuffer, but that doesn&#039;t work since it does not internally handle the WC_PENDING_E return value as a special case. Therefore, we do the following steps instead:</p><p>- call wc_InitDecodedCert to initialize a DecodedCert instance &quot;decoded_certificate&quot; containing our certificate.<br />- set &quot;decoded_certificate.sigCtx.devId&quot; to the value 0.<br />- call wc_ParseCert, expect return value WC_PENDING_E<br />- call wolfAsync_EventInit to initialize &quot;decoded_certificate.sigCtx.asyncDev-&gt;event&quot;</p><p>Then repeatedly call wolfAsync_EventPoll on &quot;decoded_certificate.sigCtx.asyncDev-&gt;event&quot;.</p><p>(1) Is this the intended usage of the API? It appears unlogical that we need to access the fields of &quot;decoded_certificate.sigCtx&quot; directly, but I can not find a way to use asynchronous ECC computations without doing this.</p><p>Despite making the ECC computations asynchronous the call to wc_ParseCert is still too slow for us. This is potentially caused by the repeated computation of SHA256 hashes. We can install a callback handler using option WOLF_CRYPTO_CB, but as far as we can see it is not allowed for the hash function callback to return WC_PENDING_E.</p><p>(2) Is it correct that any hash function callback provided through &quot;wc_CryptoCb_RegisterDevice&quot; must be blocking?</p><p>(3) It appears like we could improve the performance a lot by using the WOLFSSL_SP_ARM_CORTEX_M_ASM option. However, the non-blocking implementation is not available. Concretely, we are missing the definition of struct sp_256_ecc_mulmod_8_ctx and the function sp_256_ecc_mulmod_8_nb (wolfcrypt + wolfasynccrypt v5.6.6).</p>]]></description>
			<author><![CDATA[null@example.com (siewie)]]></author>
			<pubDate>Tue, 02 Apr 2024 11:22:19 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic2101-nonblocking-usage-eg-with-wolfsslsparmcortexmasm-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[public and private keys of size less than 72 bytes]]></title>
			<link>https://www.wolfssl.com/forums/topic1992-public-and-private-keys-of-size-less-than-72-bytes-new-posts.html</link>
			<description><![CDATA[<p>I have the PFX file that currently generates the Digital signature, private key and public key. However, the generated RSA keys from the PFX files are 256 bytes in length. </p><p>I want to have the public and private keys of less than 72 bytes in size. </p><p>Is there any option that i can generate the keys(less than 72 bytes) using the PFX file. if this is not possible, please provide any alternate ways to achieve this objective.</p><p>is there a way to generate keys from PFX file using ECC instead of RSA?</p>]]></description>
			<author><![CDATA[null@example.com (akimoorthy)]]></author>
			<pubDate>Thu, 30 Mar 2023 12:23:23 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1992-public-and-private-keys-of-size-less-than-72-bytes-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[ECCN Clasification]]></title>
			<link>https://www.wolfssl.com/forums/topic1970-eccn-clasification-new-posts.html</link>
			<description><![CDATA[<p>Outside of the normal banned ITAR countries, does Wolfcrypt FIPS 140-2 require anything other than EAR99 classification? Specifically, selling into European NATO countries.<br />Thanks;</p>]]></description>
			<author><![CDATA[null@example.com (jobryansr)]]></author>
			<pubDate>Tue, 07 Mar 2023 14:40:20 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1970-eccn-clasification-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Linker error after enabling AES GCM Streaming]]></title>
			<link>https://www.wolfssl.com/forums/topic1804-linker-error-after-enabling-aes-gcm-streaming-new-posts.html</link>
			<description><![CDATA[<p>Hello,</p><p>I have integrated the wolfssl library version &quot;4_8_0_stable&quot; into my application and configured the wolfssl with the option as &quot;./configure --enable-aesgcm-stream&quot;. After configuring, i could notice that the macro &quot;WOLFSSL_AESGCM_STREAM&quot; is defined in&nbsp; &quot;wolfssl\options.h&quot; file. I&#039;m trying to build the wolfssl into my application using the &quot;CMakeLists.txt&quot;. As part of the build, &quot;wolfcrypt/test/test.c&quot; file is getting compiled and ends with the below linker error.</p><p>wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10130: undefined reference to `wc_AesGcmEncryptInit&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10133: undefined reference to `wc_AesGcmEncryptUpdate&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10136: undefined reference to `wc_AesGcmEncryptFinal&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10145: undefined reference to `wc_AesGcmDecryptInit&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10148: undefined reference to `wc_AesGcmDecryptUpdate&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10151: undefined reference to `wc_AesGcmDecryptFinal&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10160: undefined reference to `wc_AesGcmEncryptInit&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10168: undefined reference to `wc_AesGcmEncryptUpdate&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10176: undefined reference to `wc_AesGcmEncryptUpdate&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10181: undefined reference to `wc_AesGcmEncryptFinal&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10192: undefined reference to `wc_AesGcmDecryptInit&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10200: undefined reference to `wc_AesGcmDecryptUpdate&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10208: undefined reference to `wc_AesGcmDecryptUpdate&#039;<br />external/wolfssl_4_8_0_stable/wolfcrypt/test/test.c:10213: undefined reference to `wc_AesGcmDecryptFinal&#039;</p><p>Have attached the file &quot;wolfssl\options.h&quot; for reference. Someone could please help me in resolving this error.</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (raghu)]]></author>
			<pubDate>Thu, 02 Sep 2021 14:44:47 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1804-linker-error-after-enabling-aes-gcm-streaming-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Setting RSA key exchange as cipher suite for context in python2.7 wrap]]></title>
			<link>https://www.wolfssl.com/forums/topic1798-setting-rsa-key-exchange-as-cipher-suite-for-context-in-python27-wrap-new-posts.html</link>
			<description><![CDATA[<p>Hi,<br />I am working on a university project trying to understand previous versions of WolfSSL. Specifically WolfSSL 0.1.2.<br />I am currently working with python 2.7 (since the build for was depreciated in python3) in a Linux enviornment.<br />I ran simple client-server codes to play with and see how things work and everything was fine.<br />As part of my project, I want to check specifically communication with the cipher suite TLS_RSA_WITH_AES_256_CBC_SHA.<br />I tried using the context.set_ciphers() function on the server-side, and in various ways, and nothing worked.<br />When I say nothing worked, I get the error:<br />`wolfssl.exceptions.SSLError: Unnable to set cipher list`<br />At first, I thought that it maybe is not supported in this version of WolfSSL, but when analyzing the communication that did work, I saw that Server Hello sent TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384. I tried using set_cipher() on this, expecting everything to work since it was what the server used by default, however I got the same error.<br />Thank you in advance.</p>]]></description>
			<author><![CDATA[null@example.com (DLLegend)]]></author>
			<pubDate>Fri, 27 Aug 2021 20:13:47 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1798-setting-rsa-key-exchange-as-cipher-suite-for-context-in-python27-wrap-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Import ecc key is hanging/returning err after compression]]></title>
			<link>https://www.wolfssl.com/forums/topic1732-import-ecc-key-is-hangingreturning-err-after-compression-new-posts.html</link>
			<description><![CDATA[<p>Hello geeks,</p><p>We are using wolfssl in our project which is based on Silabs BLE mcu (BGM210PA32).</p><p>Initially we were using the wc_ecc_export_x963 and wc_ecc_import_x963, and the export and import was working fine.</p><p>Now when I use the export with compression wc_ecc_export_x963_ex ( it is successfully compressing to 33bytes) and then during the import the program is getting hanged indefinitely. Also sometimes I observed the error,<br />WC_HW_E&nbsp; = -248,&nbsp; /* Error with hardware crypto use */</p><p>I am quite sure the controller we use has Wolfssl Hardware acceleration support, but still couldn&#039;t understand why we get the -248 err.</p><p>Could you please comment on the hanging issue we observe while using the enabling the compression api.</p><p>For your info, these api&#039;s we use in our project to import and export:<br />wc_ecc_init()<br />wc_ecc_make_key_ex()<br />wc_ecc_export_x963_ex()<br />wc_ecc_import_x963</p><p>Thanks in advance.</p>]]></description>
			<author><![CDATA[null@example.com (ddnr)]]></author>
			<pubDate>Mon, 26 Apr 2021 17:29:46 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1732-import-ecc-key-is-hangingreturning-err-after-compression-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Migrate]]></title>
			<link>https://www.wolfssl.com/forums/topic1637-migrate-new-posts.html</link>
			<description><![CDATA[<p>I run this <a href="https://darkweblive.net">darkweb</a> news website. I am trying to migrate to Wolf SSL. How can I achieve that?</p>]]></description>
			<author><![CDATA[null@example.com (andrewyang)]]></author>
			<pubDate>Sat, 21 Nov 2020 05:24:04 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1637-migrate-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[[Simple Query ] Is the wolfSSL library include ECDSA algorithm ?]]></title>
			<link>https://www.wolfssl.com/forums/topic1618-simple-query-is-the-wolfssl-library-include-ecdsa-algorithm-new-posts.html</link>
			<description><![CDATA[<p>Hi wolfSSL team,</p><p>Is there any module in which we can make use of ECDSA with SHA256 for signature generation, which is required for the project which I&#039;m working presently.</p><p>Note: I&#039;ve gone through ECC algorithm, but specifically I&#039;m asking about ECDSA now.</p><p>Thanks in advance.</p>]]></description>
			<author><![CDATA[null@example.com (thippeswamy_dr)]]></author>
			<pubDate>Tue, 13 Oct 2020 09:10:15 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1618-simple-query-is-the-wolfssl-library-include-ecdsa-algorithm-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[How to pass User defined 'Random Number' for signature generation]]></title>
			<link>https://www.wolfssl.com/forums/topic1616-how-to-pass-user-defined-random-number-for-signature-generation-new-posts.html</link>
			<description><![CDATA[<p>Hi Guys,</p><p>In my use case, I need to pass a particular number as the Random-number to the signature generation function, which is wc_SignatureGenerate( )<br />Function parameters are : -<br />hash_type: WC_HASH_TYPE_SHA256<br />signature_type: WC_SIGNATURE_TYPE_ECC <br />Signature length used: 60 bytes</p><p>For example Random Number = 0x1111111111111111111111111111111111111111111111111111111111111111.</p><p>Can someone please guide me in achieving this! That would be helpful.</p><p>Thanks in advance,<br />Thippeswamy D R</p>]]></description>
			<author><![CDATA[null@example.com (thippeswamy_dr)]]></author>
			<pubDate>Fri, 09 Oct 2020 06:20:58 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1616-how-to-pass-user-defined-random-number-for-signature-generation-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Building for embedded RISC-V platform]]></title>
			<link>https://www.wolfssl.com/forums/topic1604-building-for-embedded-riscv-platform-new-posts.html</link>
			<description><![CDATA[<p>Hello,</p><p>I am attempting to build wolfSSL and the associated tests for a platform running a minimalistic kernel (implements some system calls and sets up virtual memory) with a RISC-V arch and newlib toolchain. The library needs to be compiled statically. I am cross-compiling this on an x86 machine.</p><p>I&#039;m encountering some build errors for the wolfcrypt/test/testwolfcrypt binary:</p><p>tls13.c:(.text+0x2f96): undefined reference to `__errno_location&#039;<br />integer.c:(.text+0x3912): undefined reference to `__ctype_toupper_loc&#039;<br />.... and these same errors but for other files as well.</p><p>Here&#039;s the configuration options used:</p><p>./configure --enable-static CFLAGS=&quot;-I$RISCV/sysroot/usr/include -I$RISCV/riscv64-unknown-elf/include -DWOLFSSL_USER_IO -Os&quot; CPPFLAGS=&quot;-I./&quot; --host=riscv64 CC=riscv64-unknown-elf-gcc AR=riscv64-unknown-elf-ar RANLIB=riscv64-unknown-elf-ranlib LD=riscv64-unknown-elf-gcc --prefix=$HOME/tools/wolfssl LDFLAGS=&quot;-L$RISCV/riscv64-unknown-elf/lib -lc -lgloss -lstdc++&quot; --enable-filesystem=no --enable-singlethreaded --enable-oldtls=no --enable-tlsv12=no --enable-asyncthreads=no --enable-asm=no</p><p>Are these errors related to libc? I&#039;m configuring with newlib&#039;s c library, and not sure what the problem might be.</p><p>Is there an additional configuration option needed, or is there somehow a library inconsistency problem?</p><p>Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (kbarb)]]></author>
			<pubDate>Mon, 14 Sep 2020 05:45:49 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/topic1604-building-for-embedded-riscv-platform-new-posts.html</guid>
		</item>
	</channel>
</rss>
