<?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>CryptoCell CC310 AES CCM* arbitrary Nonce</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31216/cryptocell-cc310-aes-ccm-arbitrary-nonce</link><description>Hello all, Nordic Team 
 i&amp;#39;ve a question regarding the format of the nonce used within CryptoCell Library v0.9.0.a 
 What i&amp;#39;ve learned so far is, that CRYS_AESCCMstar requires a nonce where the length of authentication tag can be derived. I don&amp;#39;t find</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 May 2018 12:38:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31216/cryptocell-cc310-aes-ccm-arbitrary-nonce" /><item><title>RE: CryptoCell CC310 AES CCM* arbitrary Nonce</title><link>https://devzone.nordicsemi.com/thread/134177?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 12:38:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c2d76ba-3d55-41e1-b658-5f82a18890f3</guid><dc:creator>chris-ho</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/eith"&gt;Einar Thorsrud&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;the test vectors mentioned from &lt;a href="https://devzone.nordicsemi.com/members/holmgren"&gt;Rune Holmgren&lt;/a&gt; are working but if you modify the nonce in those vectors, especially last byte &lt;strong&gt;CRYS_AESCCMStar &lt;/strong&gt; returns error code 0x00F0150C which resolves in CRYS_AESCCM_ILLEGAL_PARAMETER_SIZE_ERROR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CryptoCell CC310 AES CCM* arbitrary Nonce</title><link>https://devzone.nordicsemi.com/thread/134173?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 12:31:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de5571d7-0a49-45c8-819f-a716b278dee2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are right that&amp;nbsp;TSCH mode it not supported in the CryptoCell library in SDK 15 (0.9.9). We are looking into this so&amp;nbsp;we may add support in a future SDK release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CryptoCell CC310 AES CCM* arbitrary Nonce</title><link>https://devzone.nordicsemi.com/thread/134133?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 08:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39cf20e4-603a-4399-b011-2facb88e23b5</guid><dc:creator>chris-ho</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/holmgren"&gt;Rune Holmgren&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I figured out that the updated SDK v 15.0 seems only support the nonce format described in Chapter 9.3.2.1 of 802.15.4 -2015 (see Attachements) can you confirm that? Are there any plans to support the TSCH mode also with a future release? or is there a chance to get a patch or quick fix for that?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1527753547599v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1527753560510v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CryptoCell CC310 AES CCM* arbitrary Nonce</title><link>https://devzone.nordicsemi.com/thread/125803?ContentTypeID=1</link><pubDate>Fri, 23 Mar 2018 16:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c10b45d-5b5b-44d7-bdbe-de7ce6c7bb16</guid><dc:creator>Rune Holmgren</dc:creator><description>&lt;p&gt;Version 0.9.9 of the nrf_cc310 runtime library now supports all security levels described in the chapter &lt;strong&gt;7.3.4.2 c data output&lt;/strong&gt; in the &lt;strong&gt;IEEE Std 802.15.4&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/2122.svg" title="Tm"&gt;&amp;#x2122;&lt;/span&gt;-2011 Low-Rate Wireless Personal Area Networks (LR-WPANs)&lt;/strong&gt; standard. This version of the nrf_cc310 runtime library will be part of the upcoming nRF5 SDK 15.0.0 release.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please refer to table in the spec&lt;strong&gt;: &amp;nbsp;Table 56 c data for all security levels&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/357x291/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d74a28f88a36471db6afadf88d0885ea/fig1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Previously the nrf_cc310 runtime library only supported security level 4-7, but with version &amp;nbsp;0.9.9 of the nrf_cc310 runtime library security levels 0-3 is also supported. This includes the security levels &lt;strong&gt;None&lt;/strong&gt;, &lt;strong&gt;MIC-32&lt;/strong&gt;, &lt;strong&gt;MIC-64&lt;/strong&gt; and &lt;strong&gt;MIC-128&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that the nrf_cc310 runtime library and nrf_crypto_aead APIs still supports the &lt;strong&gt;deprecated security level 4&lt;/strong&gt; according to &lt;strong&gt;IEEE Std 802.15.4&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/2122.svg" title="Tm"&gt;&amp;#x2122;&lt;/span&gt;-2015: IEEE Standard for Low-Rate Wireless Networks&lt;/strong&gt;. This mode has been deprecated according to the standard&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please refer to &lt;strong&gt;Table 9-4 – c data for all security levels&lt;/strong&gt; where mode 4 is removed&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/368x282/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d74a28f88a36471db6afadf88d0885ea/fig2.jpg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For reference (from the standard):&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;In previous version of the standard, security level 4 was a level which provided only data confidentiality but without data authenticity. This security level is deprecated and shall not be used in implementation compliant with this standard.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Security level 4 has NOT been explicitly removed from the nrf_cc310 runtime library or the nrf_crypto_aead APIs&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Examples and verification&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Examples of usage of the AES CCM* mode can be seen in the nrf_crypto_aead APIs which is added in the upcoming nRF5 SDK 15.0.0 release. These APIs use the nrf_cc310 runtime library as a portable cryptographic backend.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have also provide added AES CCM* mode verification using standardized test vectors from &lt;strong&gt;IEEE P802.15-4/0537r2: Formal Specification of the CCM* Mode of Operation&lt;/strong&gt; &amp;nbsp;as well as custom vectors in an tailor made verification application that is using the &amp;nbsp;nrf_crypto_aead APIs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>