<?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 — Compiling for Android with TLS1.3 support]]></title>
		<link>https://www.wolfssl.com/forums/topic1577-compiling-for-android-with-tls13-support.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1577.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Compiling for Android with TLS1.3 support.]]></description>
		<lastBuildDate>Tue, 04 Aug 2020 10:24:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Compiling for Android with TLS1.3 support]]></title>
			<link>https://www.wolfssl.com/forums/post5383.html#p5383</link>
			<description><![CDATA[<p>I am actually using the wolfjsse provider, so I don&#039;t call any native function directly.</p>]]></description>
			<author><![CDATA[null@example.com (he1n)]]></author>
			<pubDate>Tue, 04 Aug 2020 10:24:34 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5383.html#p5383</guid>
		</item>
		<item>
			<title><![CDATA[Re: Compiling for Android with TLS1.3 support]]></title>
			<link>https://www.wolfssl.com/forums/post5381.html#p5381</link>
			<description><![CDATA[<p>@he1n,</p><p>Which client_method() are you using?</p><p>wolfSSLv23_client_method() -&gt; starts with highest protocol version and downgrades if server doesn&#039;t support that version<br />wolfTLSv1_2_client_method() -&gt; Only supports TLS 1.2<br />wolfTLSv1_3_client_method() -&gt; Only supports TLS 1.3<br />... etc.</p><p>- KH</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Mon, 03 Aug 2020 17:08:59 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5381.html#p5381</guid>
		</item>
		<item>
			<title><![CDATA[Re: Compiling for Android with TLS1.3 support]]></title>
			<link>https://www.wolfssl.com/forums/post5365.html#p5365</link>
			<description><![CDATA[<p>Update: I managed to get a successfull build by also adding one of theese (or both):<br /></p><div class="codebox"><pre><code>-DHAVE_AEAD
-DWOLFSSL_SESSION_EXPORT</code></pre></div><p>However, when I try to connect, I get the following exception now:</p><div class="codebox"><pre><code>E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-1
    Process: com.example.sslplayground, PID: 27160
    javax.net.ssl.SSLHandshakeException: received alert fatal error (error code: -313)
    at com.wolfssl.provider.jsse.WolfSSLSocket.startHandshake(WolfSSLSocket.java:611)
    ...</code></pre></div><p>Also, when I inspect the supported protocols during runtime, I see that TLS1.3 is listed. However, when I look at the supported/enabled cipher suites, the ciphersuites required by TLS1.3 are not listed?</p><p>Warm regards<br />he1n</p>]]></description>
			<author><![CDATA[null@example.com (he1n)]]></author>
			<pubDate>Wed, 22 Jul 2020 08:42:52 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5365.html#p5365</guid>
		</item>
		<item>
			<title><![CDATA[Re: Compiling for Android with TLS1.3 support]]></title>
			<link>https://www.wolfssl.com/forums/post5364.html#p5364</link>
			<description><![CDATA[<p>Hi Kaleb,</p><p>I have added the macros you listed, but unfortunately I still get:<br /></p><div class="codebox"><pre><code>/Users/he1n/ExampleApp/wolfssl/src/tls13.c:1669:64: error: no member named &#039;aead_enc_imp_IV&#039; in &#039;struct Keys&#039;</code></pre></div><p>Warm regards<br />he1n</p>]]></description>
			<author><![CDATA[null@example.com (he1n)]]></author>
			<pubDate>Wed, 22 Jul 2020 08:16:40 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5364.html#p5364</guid>
		</item>
		<item>
			<title><![CDATA[Re: Compiling for Android with TLS1.3 support]]></title>
			<link>https://www.wolfssl.com/forums/post5363.html#p5363</link>
			<description><![CDATA[<p>Hi he1n,</p><p>Can you try adding these macros to the build:</p><div class="codebox"><pre><code>-DWOLFSSL_TLS13
-DHAVE_TLS_EXTENSIONS
-DHAVE_SUPPORTED_CURVES
-DHAVE_ECC
-DHAVE_HKDF
-DHAVE_FFDHE_8192
-DWC_RSA_PSS</code></pre></div><p>If those don&#039;t solve it I will ask our android expert to take a look!</p><p>Warm Regards,</p><p>K</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Tue, 21 Jul 2020 22:16:18 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5363.html#p5363</guid>
		</item>
		<item>
			<title><![CDATA[Compiling for Android with TLS1.3 support]]></title>
			<link>https://www.wolfssl.com/forums/post5362.html#p5362</link>
			<description><![CDATA[<p>Hello,</p><p>I am currently trying to use WolfSSL in an Android App. I have used this example: <a href="https://github.com/wolfSSL/wolfssl-examples/tree/master/android/wolfssljni-ndk-gradle.">https://github.com/wolfSSL/wolfssl-exam … dk-gradle.</a></p><p>This works fine, but I would like to adjust it to also allow Tls 1.3. When I compile the library from the command line, i can enable it via &quot;./configure --enable-tls13 &amp;&amp; make&quot; and the build runs successfully. However, I was not successful in adjusting the CMakeLists.txt in a way that enables Tls 1.3. I tried -DHAVE_TLS13 and other flags that seem to be required, but the build keeps crashing due to some obscure error messages like &quot;error: no member named &#039;aead_enc_imp_IV&#039; in &#039;struct Keys&#039;&quot; or other ones, depending on the flags I add. Can someone tell me how I can get a running configuration? I am not that experienced in Android developement and using cmake, so I am a bit lost here.</p>]]></description>
			<author><![CDATA[null@example.com (he1n)]]></author>
			<pubDate>Tue, 21 Jul 2020 11:54:55 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5362.html#p5362</guid>
		</item>
	</channel>
</rss>
