<?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>Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126998/is-it-possible-to-use-the-kmu-or-other-secure-area-in-the-nrf9160-to-store-encryption-keys</link><description>I recently had a question about AES encryption on the nRF9160 and about how to store 32-byte encryption keys. The ticket was closed after I got the following answer: &amp;quot; we don&amp;#39;t have support for keys stored in the KMU using PSA Crypto on 91-series&amp;quot;. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Mar 2026 21:32:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126998/is-it-possible-to-use-the-kmu-or-other-secure-area-in-the-nrf9160-to-store-encryption-keys" /><item><title>RE: Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/thread/562360?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2026 21:32:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc0a87cc-4724-475b-9c21-6b6afde8d309</guid><dc:creator>Spi</dc:creator><description>&lt;p&gt;Thanks for your answer. I looked at the SDK V2.6 version of persistent_key_usage sample and I didn&amp;#39;t understand it. What is the use of a random encryption key? To me it makes decryption very difficult when you don&amp;#39;t know what the original encryption key was.&amp;nbsp; Either way, we gave up on this very complicated way of doing things and found a much simpler solution that we understand and control and most importantly, know the encryption key so that we can also decrypt the encrypted data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/thread/562351?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2026 16:41:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c4c2310-54de-44ca-8cd9-ce3d68cb67a5</guid><dc:creator>Michal</dc:creator><description>[quote user="Spi"]I looked at the persistent_key_usage sample and it appears that it might only work for 128-bit keys because the psa_set_key_id() call can only specify a single KMU slot.&amp;nbsp; And the hw_unique_key API doesn&amp;#39;t appear to support the ability to read keys.&amp;nbsp; I[/quote]
&lt;p&gt;This sample shouldn&amp;#39;t use KMU, but Internal Trusted Storage though?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.2.2/page/nrf/samples/crypto/persistent_key_usage/README.html"&gt;https://docs.nordicsemi.com/bundle/ncs-3.2.2/page/nrf/samples/crypto/persistent_key_usage/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Are you sure that you are looking at the correct thing?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/thread/561736?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2026 16:24:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:274205dc-d575-45f5-a1a4-aa54304868c2</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Thank you for the information.&lt;/p&gt;
&lt;p&gt;I will look more into the issue after the weekend.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/thread/561541?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2026 20:54:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd0841e7-c878-493b-9dd2-5c9f18136b13</guid><dc:creator>Spi</dc:creator><description>&lt;p&gt;Thanks. I looked at the persistent_key_usage sample and it appears that it might only work for 128-bit keys because the psa_set_key_id() call can only specify a single KMU slot.&amp;nbsp; And the hw_unique_key API doesn&amp;#39;t appear to support the ability to read keys.&amp;nbsp; I will take a closer look at manually driving the KMU registers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/thread/561528?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2026 16:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e87320a-163d-4223-940c-c5833ca8c397</guid><dc:creator>Spi</dc:creator><description>&lt;p&gt;Thanks. I think I might have seen that link before, but I&amp;#39;ll take another look.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/thread/561527?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2026 16:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d910db3f-0a48-449a-8c83-eefc537580f0</guid><dc:creator>Spi</dc:creator><description>&lt;p&gt;For use-case, our application has to encrypt using AES-GCM with 256-bit keys. We have the prototype functionality working using a key stored in I2C EEPROM that we read into RAM and then call psa_import_key(). We would prefer to store the keys in a more secure manner.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/thread/561525?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2026 16:17:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8b1fa9f-df44-41df-8138-fdb364ba8b4d</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;If using TF-M with ITS is an option, then we can recommend using it instead.&lt;/p&gt;
&lt;p&gt;Here is a sample that showcases it:&amp;nbsp;https://docs.nordicsemi.com/bundle/ncs-3.2.2/page/nrf/samples/crypto/persistent_key_usage/README.html&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/thread/561515?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2026 15:26:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90073614-62a6-4349-9e72-7027b8696f91</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Sorry, I just saw that yes, you should be able to combine the KMU keys, as said on top here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf9160/page/kmu.html"&gt;https://docs.nordicsemi.com/bundle/ps_nrf9160/page/kmu.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To my knowledge you can use ARM CryptoCell 310 included in the nRF9160, so please take a look at its capabilities here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf9160/page/cryptocell.html"&gt;https://docs.nordicsemi.com/bundle/ps_nrf9160/page/cryptocell.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The catch is that you may possibly have to implement drivers for whatever you need specifically on your own.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll double check that and get back to you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you also tell me more about your use case?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/thread/561396?ContentTypeID=1</link><pubDate>Tue, 17 Feb 2026 17:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93624b5d-91f6-47e6-8072-e81e2cc186cb</guid><dc:creator>Spi</dc:creator><description>&lt;p&gt;Thank you for your response.&amp;nbsp; How many KMU keys are there? I can combine two 16-byte keys to make one 32-byte key.&amp;nbsp; What are the API functions to read/write the KMU keys?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use the KMU (or other secure area??) in the nRF9160 to store encryption keys?</title><link>https://devzone.nordicsemi.com/thread/561096?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2026 11:45:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:556f39be-f579-457b-9eb1-05077a682b41</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;So in general, KMU has only support for 128-bit keys, which is 16-byte.&lt;/p&gt;
&lt;p&gt;Also, you should be able to reopen that ticket and continue there I think?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>