<?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>Typical/max AES CCM time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22787/typical-max-aes-ccm-time</link><description>In nRF51 PS, I read typical/max time for AES ECB are respectively 8.5 and 17&amp;#181;s.
What would be those values for the whole AES-CCM operation (ie including MIC computation), on nRF51 and nRF52? 
 I&amp;#39;m planning to use AES CCM with timeslot API, if I can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Jun 2017 12:52:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22787/typical-max-aes-ccm-time" /><item><title>RE: Typical/max AES CCM time</title><link>https://devzone.nordicsemi.com/thread/89599?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2017 12:52:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56dd2274-8065-4092-a6ee-ed2b95f592ff</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;we not have any public numbers for the time it takes to encrypt/decrypt + MIC calculation for n number of bytes. However, according to the AES-CCM peripheral description&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;All operations can complete within the
packet RX or TX time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This means that the worst case encrypt/decrypt + MIC calculation will be&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Packet Size&lt;/strong&gt;( overhead( address, header, preamble, CRC) + payload) / &lt;strong&gt;1 Mbps&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can use this to calculate the length of the timeslot.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>