<?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>cc310 integration guide</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84409/cc310-integration-guide</link><description>Hello ! 
 I have found that AES operations are fastest if cc310 is used directly : examples/crypto/nrf_cc310/aes 
 Do you have any integration guide for library what use on top of cc310 crypto accelerator ? 
 Do you need any special memory allocators</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Feb 2022 10:35:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84409/cc310-integration-guide" /><item><title>RE: cc310 integration guide</title><link>https://devzone.nordicsemi.com/thread/352014?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 10:35:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb69ea5a-0059-4043-945d-55c6fa4447df</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;I need fast API&amp;nbsp; without any malloc and etc. It should be possible to call those from SWI/ISR context.&lt;/p&gt;
&lt;p&gt;They should be asynchronous in best case&lt;/p&gt;
&lt;p&gt;Looks like direct cc310 is the best what I can find as part of SDK right now.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cc310 integration guide</title><link>https://devzone.nordicsemi.com/thread/351875?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 15:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a8f9dae-ad8a-41c7-aaa9-14e27b0ae660</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;p&gt;I have found that AES operations are fastest if cc310 is used directly :&amp;nbsp;examples/crypto/nrf_cc310/aes&lt;/p&gt;
&lt;p&gt;Do you have any integration guide for library what use on top of cc310 crypto accelerator ?&lt;/p&gt;[/quote]
&lt;p&gt;We highly recommend that you use CC310 through the nrf_crypto library, and not with the ARM CC310 library API directly. nrf_crypto implements lots of&amp;nbsp;parameter&amp;nbsp;checks that is not present in cc310 library, so it is more robust against wrong usage. We do not have any other integration guide than the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__cryptocell__api.html"&gt;API documentation&lt;/a&gt;.&lt;/p&gt;
[quote user=""]Do you need any special memory allocators or all input/output/internal buffers are static and fully visible in example source code ?[/quote]
&lt;p&gt;See&amp;nbsp;&lt;a title="Memory management in nrf_crypto" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_crypto_mem_management.html?cp=8_1_3_11_13"&gt;Memory management in nrf_crypto&lt;/a&gt;.&lt;/p&gt;
[quote user=""]I can see enabling of CC310 interrupts are used but all APIs are synchronous and blocked. But can CC310 be used asynchronously&amp;nbsp; ?[/quote]
&lt;p&gt;You asked this in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84400/nrf_crypto-asynchronous-operations"&gt;another ticket&lt;/a&gt;. There is no need to ask the same question in multiple threads.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>