<?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 — How to ECDH using wolfssl API ? ( encryption & decryption.)]]></title>
		<link>https://www.wolfssl.com/forums/topic1250-how-to-ecdh-using-wolfssl-api-encryption-decryption.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1250.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to ECDH using wolfssl API ? ( encryption & decryption.).]]></description>
		<lastBuildDate>Thu, 13 Aug 2020 22:45:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to ECDH using wolfssl API ? ( encryption & decryption.)]]></title>
			<link>https://www.wolfssl.com/forums/post5395.html#p5395</link>
			<description><![CDATA[<p>Please checkout:</p><p>wc_ecc_encrypt(): <a href="https://www.wolfssl.com/doxygen/group__ECC.html#gaf5c0c73b9dd43f4101afdca32b9795b2">https://www.wolfssl.com/doxygen/group__ … a32b9795b2</a><br />wc_ecc_decrypt(): <a href="https://www.wolfssl.com/doxygen/group__ECC.html#ga1d79bc0005249de9da2ad9804aca27e6">https://www.wolfssl.com/doxygen/group__ … 804aca27e6</a></p><br /><p>- KH</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Thu, 13 Aug 2020 22:45:11 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5395.html#p5395</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to ECDH using wolfssl API ? ( encryption & decryption.)]]></title>
			<link>https://www.wolfssl.com/forums/post5393.html#p5393</link>
			<description><![CDATA[<p>I know this is an old thread, but follow up question:</p><p>Once the shared secret is created, how do you encrypt/decrypt with the wolfssl api?</p>]]></description>
			<author><![CDATA[null@example.com (sahl.john)]]></author>
			<pubDate>Thu, 13 Aug 2020 18:32:20 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5393.html#p5393</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to ECDH using wolfssl API ? ( encryption & decryption.)]]></title>
			<link>https://www.wolfssl.com/forums/post4094.html#p4094</link>
			<description><![CDATA[<p>Hi kjjy7,</p><p>You would use the function:</p><div class="codebox"><pre><code>wc_ecc_shared_secret
Parameter 1: your static private key
Parameter 2: Public key from the end entity used to generate the shared secret when combined with your private key
Parameter 3: an output buffer to store the shared secret
Parameter 4: the size of the output buffer when passed in, gets updated by calling function to indicate size of shared secret.</code></pre></div><p>Example:</p><div class="codebox"><pre><code>unsigned char* sharedOutBuf[512]; // size assumes a 256-bit curve field, adjust if using large curve field to (curve_fieldSz*2)
word32 sOutBSz = 512;


ret = wc_ecc_shared_secret(&amp;userA_priv, &amp;userB_pub, sharedOutBuf, &amp;sOutBSz);</code></pre></div><p>Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Tue, 14 Aug 2018 15:04:51 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4094.html#p4094</guid>
		</item>
		<item>
			<title><![CDATA[How to ECDH using wolfssl API ? ( encryption & decryption.)]]></title>
			<link>https://www.wolfssl.com/forums/post4088.html#p4088</link>
			<description><![CDATA[<p>I don&#039;t know how to make ECDH using wolfssl api. </p><p>especially, encryption and decryption. </p><p>give me answer, plz.</p><p>Is there any ECDH examples using wolfssl api</p><p>regards</p>]]></description>
			<author><![CDATA[null@example.com (kjjy7)]]></author>
			<pubDate>Tue, 07 Aug 2018 06:15:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4088.html#p4088</guid>
		</item>
	</channel>
</rss>
