<?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>Using secure DFU bootloader and Crypto in Application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75975/using-secure-dfu-bootloader-and-crypto-in-application</link><description>Hello, 
 
 We are trying to use the Cryptocell as used in example nrf_crypto_aes_cbc_with_padding along with Secure DFU. However, when the application loads the crypto engine no longer works the Cryptocell seems to return only zero&amp;#39;s. Closing and reopening</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Jun 2021 11:56:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75975/using-secure-dfu-bootloader-and-crypto-in-application" /><item><title>RE: Using secure DFU bootloader and Crypto in Application</title><link>https://devzone.nordicsemi.com/thread/313646?ContentTypeID=1</link><pubDate>Fri, 04 Jun 2021 11:56:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3b29b7b-141d-4b1f-9db0-442815353541</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi RJ,&lt;/p&gt;
[quote user=""]We are trying to use the Cryptocell as used in example nrf_crypto_aes_cbc_with_padding along with Secure DFU.[/quote]
&lt;p&gt;There should not be a problem combining CryptoCell and the SoftDevice (and that is done in the BLE examples that use LE Secure Connections), so this should work.&lt;/p&gt;
[quote user=""]However, when the application loads the crypto engine no longer works the Cryptocell seems to return only zero&amp;#39;s.[/quote]
&lt;p&gt;Can you explain in detail which function call you refer to and what (output data I assume) is only zero? Can you also show the code you use in this case and how you reproduce the issue? Please include the sdk_config.h as well so I see how you configured nRF Crypto. Are you using the CryptoCell library with or without interrupts?&lt;/p&gt;
[quote user=""]Closing and reopening the crypto engine causes a soft device error. Can you please advise on what might be causing this?[/quote]
&lt;p&gt;Can you explain with reference to code how you close and open the crypto engine, and which SoftDevice error/assert you get.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>