<?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>AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52508/aes-encryption-decryption-nrf91-and-the-cryptocell</link><description>I was looking for more information about hardware accelerated AES128 functions in the nRF9160. We want to encrypt and decrypt data using this and was wondering if there are API&amp;#39;s or examples using hardware accelerated features of the nRF91. 
 A search</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jan 2020 06:33:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52508/aes-encryption-decryption-nrf91-and-the-cryptocell" /><item><title>RE: AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/thread/228926?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 06:33:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6d27bb0-e4c1-45de-b787-2e3e834b18e5</guid><dc:creator>jli157@intel</dc:creator><description>&lt;p&gt;Thanks! I see the macro `&lt;span&gt;MBEDTLS_CTR_DRBG_ENABLED` could be defined in&amp;nbsp;&lt;/span&gt;pro.conf. However, I can&amp;#39;t find its definition in your examples. Anyway, I see the whole examples and will take a try again. Thank you!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/thread/227584?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 08:12:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c4e58c1-cd01-4e74-ba7d-32034cdfef16</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you make any progress these last two weeks?&lt;/p&gt;
&lt;p&gt;If not, the&amp;nbsp;CONFIG_MBEDTLS_CTR_DRBG_ENABLED is set via Kconfig, so typically prj.conf, as is the case in the PR I linked to. You can see an example of usage of&amp;nbsp;mbedtls_ctr_drbg_init()&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1030/files#diff-33f76c6779efc5e0b00596f33d375f8eR68"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/thread/226591?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 14:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:803c1dc6-0af3-4598-9f62-fe0c030c1d6b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I need to look into this. The holiday season is upon us, so unfortunately I will probably not be able to get back to you regarding this until beginning of January.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/thread/226456?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 02:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d591cf50-1d2e-41e8-a995-268353c4eacb</guid><dc:creator>jli157@intel</dc:creator><description>&lt;p&gt;Hi Einar, one question about how to use the library: I&amp;#39;m trying to use entropy functions and I need to call the function `&lt;span&gt;mbedtls_ctr_drbg_init`. However, I can&amp;#39;t find the place&amp;nbsp;for&amp;nbsp;defining the macro `CONFIG_MBEDTLS_CTR_DRBG_ENABLED` in the test code. &amp;nbsp;Also, it seems I need to define my mutex functions and call the function `mbedtls_threading_set_alt` to set them to the mbedtls library. However, I can&amp;#39;t find a any code defining these&amp;nbsp;mutex&amp;nbsp;functions and calling the&amp;nbsp;function `mbedtls_threading_set_alt`. &amp;nbsp;Can you explain how I&amp;nbsp;use the entropy&amp;nbsp;functions? Thank you!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/thread/225476?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 21:10:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da380099-6f3a-442f-ac38-035dc2b40b2c</guid><dc:creator>jli157@intel</dc:creator><description>&lt;p&gt;The pull request is very helpful as a reference! I&amp;#39;ll take a look and come back upon further questions. Thank you very much!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/thread/225309?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 08:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c4c53ac-58df-4c03-8b80-0c1be459df6b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I suggest you look at &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1030"&gt;this pull request&lt;/a&gt;&amp;nbsp;which has low-level crypto tests to see how to use the low-level API, which should show you how to do SHA256 etc.&lt;/p&gt;
&lt;p&gt;Regarding the crypto components from the nRF5 SDK, these do not have any dependencies to the SoftDevice. However,&amp;nbsp; there may be some issues using it together with Zephyr, since that is not tested.&lt;/p&gt;
&lt;p&gt;You are right that there is support for nRF52840 in nRF Connect SDK and Zephyr, my point was just that it is not currently officially supported. So you should not make any assumptions about the quality etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/thread/225252?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 22:01:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf65d1fe-1f94-490f-82f6-169e0b340a25</guid><dc:creator>jli157@intel</dc:creator><description>&lt;p&gt;By reading the internal code, I didn&amp;#39;t see the sdk excludes NRF52840 from being supported. Also, I tried a very simple sha256 hash example with mbedtls as the front-end and it works on NRF52840. So, I can assume the sdk still works &amp;nbsp;for NRF52840&amp;nbsp;even though it doesn&amp;#39;t get technical support, right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Another way I can imagine is directly to use the crypto component from NRF52 sdk. However, I&amp;#39;m not sure if that component is independent from Soft Device since I&amp;#39;m using zephyr as the operating system for the device. Can you confirm if the crypto component is an independent one which doesn&amp;#39;t need soft device?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/thread/225076?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 08:08:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a41daee0-f06a-4b55-8ab9-ce7b806e3976</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please note that the nRF52 series is not officially supported in the nRF Connect SDK today.&lt;/p&gt;
&lt;p&gt;The bootloader does not currently use the nrf_security module since that would increase the size, and we try to keep the bootloader size down. We are planning to add an example for using nrf_security&amp;nbsp;along with improved documentation in the future, but it might take some time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/thread/224828?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 01:32:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63f997ce-49e4-42d6-8746-62b5a660bcdd</guid><dc:creator>jli157@intel</dc:creator><description>&lt;p&gt;Hi Einar, I&amp;#39;m also interested in how to use CC310 from&amp;nbsp;NRF52840. However, by checking the documentation you mentioned, &amp;nbsp;it is suggested to use `&lt;span class="std std-ref"&gt;&lt;a class="reference internal" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/nrf_security/doc/nrf_security.html#nrf-security-readme"&gt;Nordic security module&lt;/a&gt;` instead of c310_mbedcrypto directly. Do you have any example showing how to use the module for a simple application, such as going through app configuration, &amp;nbsp;initialization, using several functions, and de-initialization? &amp;nbsp;I found the boot loader library in `nrf/subsys/bootloader` is using cc310 but it doesn&amp;#39;t decently&amp;nbsp;demonstrate how to use the APIs from Nordic Security module. So, any samples showing how to use the module will be much appreciated.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="std std-ref"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="std std-ref"&gt;Thank you!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AES Encryption/Decryption nRF91 and the CRYPTOCELL</title><link>https://devzone.nordicsemi.com/thread/211520?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 11:40:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67e55566-4294-4ab4-acb1-b1eda9841d0f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There are no examples specifically for the CC310 peripheral in nRF91 in nRF Connect SDK. However, it is supported, though the SW support lacks a bit in maturity. The CC310 should be used with mbed TLS as a frontend, via &lt;a href="https://github.com/NordicPlayground/nrfxlib/tree/master/crypto/nrf_cc310_mbedcrypto"&gt;nrf_cc310_mbedcrypto&lt;/a&gt;&amp;nbsp;(documentation &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/crypto/doc/nrf_cc310_mbedcrypto.html"&gt;here&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>