<?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>impact of encryption on battery performance</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21664/impact-of-encryption-on-battery-performance</link><description>I want to use AES ECB block present on nrf51 and nrf52 boards for resolvable private address (RPA) generation. 
 
 
 Are there any measurements about how much battery the AES-ECB block consumes for an operation? 
 
 
 For eg. If the battery life</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Apr 2017 11:33:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21664/impact-of-encryption-on-battery-performance" /><item><title>RE: impact of encryption on battery performance</title><link>https://devzone.nordicsemi.com/thread/85070?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 11:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c24bd35-dbe2-4813-a89a-ebebd41f7e11</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, our SoftDevices enable the Bias Correction of the RNG.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: impact of encryption on battery performance</title><link>https://devzone.nordicsemi.com/thread/85069?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 09:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21c179d4-8aaf-41fb-9dd5-0cd8295c3cd9</guid><dc:creator>Amit Chahar</dc:creator><description>&lt;p&gt;Does softdevice random number generator function use bias correction?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: impact of encryption on battery performance</title><link>https://devzone.nordicsemi.com/thread/85068?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 09:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:014a9995-180b-40fd-9a2b-7927ee322ee0</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Q1: I cannot find any data on this in our internal Product Spec, so I would assume that the current consumption is either identical or lower.&lt;/p&gt;
&lt;p&gt;Q3: Of course, sorry for that. We do not have any measurements showing the current consumption impact of using a RPA. Yes, the RNG is used for that and you can find the Electrical specifications for  it &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/rng.html?cp=2_2_0_25_3#unique_1904866101"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: impact of encryption on battery performance</title><link>https://devzone.nordicsemi.com/thread/85067?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 09:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bb1d36a-9910-4f64-badc-43c94c219c75</guid><dc:creator>Amit Chahar</dc:creator><description>&lt;p&gt;Q1. Can you tell if the current consumption for AES-ECB module on nRF52 would be higher or lower than the current consumption by nRF51 ?&lt;/p&gt;
&lt;p&gt;Q3. RPA means Resolvable Private Address. To generate a RPA, 3 random bytes are needed. I am assuming that softdevice uses RNG for these 3 random bytes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: impact of encryption on battery performance</title><link>https://devzone.nordicsemi.com/thread/85066?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 09:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c19bdf-5733-4edd-8886-386e7a6617e8</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Amit,&lt;/p&gt;
&lt;p&gt;Q1: the run current of the AES ECB peripheral and the time it takes to encrypt a 16byte block on the nRF51 is stated in the nRF51x22 Product Specifications.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/AES_5F00_ECB_5F00_Specs.JPG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Unfortunatley, we do not have any run current measurements for the AES ECB module on the nRF52832, so you will have to measure this.&lt;/p&gt;
&lt;p&gt;Q2: You can calculate the average current consumption of a single AES ECB block encrypt(i.e. 16bytes) by multiplying 550uA*8.5us = 4.675nA&lt;/p&gt;
&lt;p&gt;Q3: RPA? Do you mean the Random Number Generator(RNG)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>