<?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>How to enable QSPI encryption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83447/how-to-enable-qspi-encryption</link><description>Hello, 
 Does the nRF Connect SDK support enabling QSPI encrytpion (DMA, XIP)? 
 I see there are two functions in the nrfx_qspi.c that do this: nrfx_qspi_xip_encrypt and nrfx_qspi_dma_encrypt . But the Zepher driver in nrf_qspi_nor.c doesn&amp;#39;t reference</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jan 2022 08:26:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83447/how-to-enable-qspi-encryption" /><item><title>RE: How to enable QSPI encryption</title><link>https://devzone.nordicsemi.com/thread/347081?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 08:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42bae835-11f0-42c3-8891-f49c48ae3b61</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Great!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable QSPI encryption</title><link>https://devzone.nordicsemi.com/thread/347026?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 22:24:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53d90e0c-f80d-424d-b3e1-fde6073c0f65</guid><dc:creator>rtscts</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Elfving,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for the clarification. I thought Zephyr would be placing its constraints here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I modified the nrf_qspi_nor init function to call the *_encrypt().&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable QSPI encryption</title><link>https://devzone.nordicsemi.com/thread/346931?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 12:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:510aee81-96e5-4890-8099-83eace399107</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;The Zephyr flash API does not currently provide any method of configuring encryption for transfers performed with the flash chip, hence the nrf_qspi_nor driver does not call nrfx_qspi_dma_encrypt() or nrfx_qspi_xip_encrypt(). But it should be possible to call those functions outside of the driver, after the driver is initialized but before any transfer is performed, to enable encryption for DMA and/or XIP transfers (nothing needs to be changed in the driver itself).&lt;/p&gt;
&lt;p&gt;Could this be a solution for you?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable QSPI encryption</title><link>https://devzone.nordicsemi.com/thread/346823?ContentTypeID=1</link><pubDate>Sun, 09 Jan 2022 22:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6c922e6-249a-48da-82d1-3e15cd5e286f</guid><dc:creator>rtscts</dc:creator><description>&lt;p&gt;Forgot to mention, I&amp;#39;m using nRF5340 device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>