<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to use CC310 ChaChaPoly with zero-length data or adata?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43098/how-to-use-cc310-chachapoly-with-zero-length-data-or-adata</link><description>Hello there, 
 It seems the CC310 backend for ChaChaPoly does not allow zero-length data or adata (associated data). I am implementing a protocol that requires this (Wireguard, based on the Noise-IK handshake), 
 I have tried removing the error checks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Mar 2020 14:19:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43098/how-to-use-cc310-chachapoly-with-zero-length-data-or-adata" /><item><title>RE: How to use CC310 ChaChaPoly with zero-length data or adata?</title><link>https://devzone.nordicsemi.com/thread/238554?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 14:19:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6170516d-57a6-4397-8171-da2b75677bfd</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It does not seem like it is supported yet, but I have bumped the internal feature request. You should probably not expect an update soon, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use CC310 ChaChaPoly with zero-length data or adata?</title><link>https://devzone.nordicsemi.com/thread/238416?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 02:37:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:419c7e9c-1804-4f7a-aa67-4857bb8f718f</guid><dc:creator>Dirbaio</dc:creator><description>&lt;p&gt;Hello! Any updates on this? As it stands now, this is a non-starter to use CC310 to implement&amp;nbsp;WireGuard, because the protocol itself requires zero-length data and adata.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use CC310 ChaChaPoly with zero-length data or adata?</title><link>https://devzone.nordicsemi.com/thread/168485?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 13:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8454b871-db3a-4f46-a04f-0471fadb7a01</guid><dc:creator>Dirbaio</dc:creator><description>&lt;p&gt;Yes, the issue is with CRYS_CHACHA_POLY. &lt;/p&gt;
&lt;p&gt;It&amp;#39;d be great if this was supported. I understand that it&amp;#39;s ARM IP (not Nordic) so that might make things more complicated...&lt;/p&gt;
&lt;p&gt;Thanks! :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use CC310 ChaChaPoly with zero-length data or adata?</title><link>https://devzone.nordicsemi.com/thread/168456?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 13:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f9fff7f-9832-4bc4-ac0d-4de949e224d1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume you are referring to the&amp;nbsp;CRYS_CHACHA_POLY() function? You are right that this does not allow you to use zero data or adata. I have created an internal ticket so that this can be investigated. You should not expect any updates soon though, and it might not be possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>