<?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 — Atmel port includes obsolete (?) header asf.h]]></title>
		<link>https://www.wolfssl.com/forums/topic1599-atmel-port-includes-obsolete-header-asfh.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1599.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Atmel port includes obsolete (?) header asf.h.]]></description>
		<lastBuildDate>Tue, 08 Sep 2020 18:13:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Atmel port includes obsolete (?) header asf.h]]></title>
			<link>https://www.wolfssl.com/forums/post5439.html#p5439</link>
			<description><![CDATA[<p>Hi Scoobi_FreeBSD,</p><p>See our &quot;More Downloads&quot; page. <a href="https://www.wolfssl.com/download/downloadMoreForm.php">https://www.wolfssl.com/download/downloadMoreForm.php</a> <br />Microchip_ATECC_Demos.zip</p><p>You are correct that `WOLFSSL_ATMEL` is specific to the ASF and you are not required to set `WOLFSSL_ATMEL` to use the ATECC508A/608A code.</p><div class="codebox"><pre><code>#if defined(WOLFSSL_ATMEL) || defined(WOLFSSL_ATECC508A) || \
    defined(WOLFSSL_ATECC608A) || defined(WOLFSSL_ATECC_PKCB)</code></pre></div><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Tue, 08 Sep 2020 18:13:11 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5439.html#p5439</guid>
		</item>
		<item>
			<title><![CDATA[Atmel port includes obsolete (?) header asf.h]]></title>
			<link>https://www.wolfssl.com/forums/post5435.html#p5435</link>
			<description><![CDATA[<p>When WolfSSL is configured to use the Atmel (now Microchip) hardware cryptographic library <a href="http://ww1.microchip.com/downloads/en/AppNotes/Atmel-8984-CryptoAuth-CryptoAuthLib-ApplicationNote.pdf">cryptoauthlib</a> (<strong>WOLFSSL_ATMEL</strong>), the file #include&#039;s a deprecated file from the cryptoauthlib library - asf.h.</p><div class="codebox"><pre><code>wolfcrypt/src/port/atmel/atmel.c:

#ifdef WOLFSSL_ATMEL
/* remap name conflicts */
#define Aes Aes_Remap
#define Gmac Gmac_Remap
#include &quot;asf.h&quot;
#undef Aes
#undef Gmac
#endif /* WOLFSSL_ATMEL */</code></pre></div><p>&quot;asf.h&quot; apparently stands for <a href="https://www.microchip.com/mplab/avr-support/advanced-software-framework">Atmel&#039;s &quot;Advanced Software Framework&quot;</a>. I do not have this file in my cryptoauthlib library.</p><p>I&#039;m not sure how to conditionally include &quot;asf.h&quot; based on the revision of cryptoauthlib or test for its presence, but I don&#039;t think &quot;asf.h&quot; is necessary to compile WolfSSL with Atmel support.&nbsp; The above code block <em>may</em> be necessary <em>if</em> ASF is included in the user&#039;s cryptoauthlib (somehow).</p>]]></description>
			<author><![CDATA[null@example.com (Scoobi_FreeBSD)]]></author>
			<pubDate>Fri, 04 Sep 2020 13:41:41 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post5435.html#p5435</guid>
		</item>
	</channel>
</rss>
