<?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>Verify the use of CryptoCell</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107855/verify-the-use-of-cryptocell</link><description>At the moment I am working on encryption/decryption via PSA ChaCha20 on the nRF52840-DK. As a basis I used the ChaCha Poly1305 Sample. I adjusted it to only use ChaCha20 without Poly1305: 
 
 After that i added some code in order to measure the encryption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Feb 2024 10:10:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107855/verify-the-use-of-cryptocell" /><item><title>RE: Verify the use of CryptoCell</title><link>https://devzone.nordicsemi.com/thread/467106?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2024 10:10:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38081963-97d3-4df8-a505-8f75da88c8a2</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="NicolasK."]The small data blocks&amp;nbsp;don&amp;#39;t seem to be the causing factor for the longer duration. It seems to be the ChaCha20 encryption itself that is slower with CryptoCell. I tested the AES-CBC sample and the duration with CryptoCell is 1/5 of the time compared to Oberon.[/quote]
&lt;p&gt;Thank you for this update.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify the use of CryptoCell</title><link>https://devzone.nordicsemi.com/thread/466887?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 08:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:993d6dad-d2ba-4d6e-98f4-a57389ccd088</guid><dc:creator>NicolasK.</dc:creator><description>&lt;p&gt;So we did some more testing. The rom_report (found in Visual Studio Code SC memory report) did help to see if CryptoCell is being used.&lt;/p&gt;
&lt;p&gt;The small data blocks&amp;nbsp;don&amp;#39;t seem to be the causing factor for the longer duration. It seems to be the ChaCha20 encryption itself that is slower with CryptoCell. I tested the AES-CBC sample and the duration with CryptoCell is 1/5 of the time compared to Oberon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify the use of CryptoCell</title><link>https://devzone.nordicsemi.com/thread/466594?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 16:36:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:474b5953-b8c8-432c-b12c-5162de16578f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;ul&gt;&lt;li&gt;&lt;span&gt;Am I using CryptoCell for the en-/decryption?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;How do I check this properly?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;For checking if CryptoCell is used, you could use rom_report or tfm_rom_report and check for cc3xx_ prefixed APIs on a driver level.&amp;nbsp;&lt;/p&gt;
[quote user=""]Why is Oberon faster?[/quote]
&lt;p&gt;Oberon does not have single usage requirement (in contrast to CryptoCell hardware). This means that it does not have to wait to get a single access. Additionally, CryptoCell takes longer time for initialization if the content that is going to be encrypted is small. On larger blocks of data, CryptoCell is much faster.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>