<?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>nrf52840 hardware accelerated symmetric encryption key derivation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114100/nrf52840-hardware-accelerated-symmetric-encryption-key-derivation</link><description>Hi, im trying to implement hardware accelerated symmetric encyption for bluetooth communication between nrf52840dk and a mobile app. Both the 
 mobile app and nrf52840k will have the secret. Salt (public key) is generated randomly and sent unencrypted</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Aug 2024 16:16:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114100/nrf52840-hardware-accelerated-symmetric-encryption-key-derivation" /><item><title>RE: nrf52840 hardware accelerated symmetric encryption key derivation</title><link>https://devzone.nordicsemi.com/thread/500467?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2024 16:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41c74683-833b-4482-8b9b-40e426079c42</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I got feedback from team&lt;/p&gt;
&lt;p&gt;&lt;em&gt;2. Is there already existing solution in nrf sdk for this that I may have missed? some preshared - key example?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;To make sure we understand the use-case fully, can you please draw a figure of what they want to do?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;3. If I enable both oberon and cryptocell is it possible to use oberon for key derivation only and use cryptocell&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrf/libraries/security/nrf_security/doc/driver_config.html#configuring-multiple-drivers" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/security/nrf_security/doc/driver_config.html#configuring-multiple-drivers" rel="noopener noreferrer" target="_blank"&gt;Feature configurations and driver support&lt;/a&gt;:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;If multiple drivers are enabled, the first ordered item in this table&amp;nbsp;&lt;/em&gt;&lt;br /&gt;&lt;em&gt; takes precedence for an enabled cryptographic feature, unless the driver&lt;/em&gt;&lt;br /&gt;&lt;em&gt; does not enable or support it.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;for hardware accelerated encryption/decryption of communication packets?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;4. Should I use nrfcrypto library instead of psa?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Definetly not. Use PSA Crypto APIs.&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrf/libraries/security/nrf_security/doc/driver_config.html#configuring-multiple-drivers" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/security/nrf_security/doc/driver_config.html#configuring-multiple-drivers" rel="noopener noreferrer" target="_blank"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 hardware accelerated symmetric encryption key derivation</title><link>https://devzone.nordicsemi.com/thread/499507?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 10:17:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7c70ace-e2df-439f-bf8c-c6bf1482d14e</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have been working on your case. I will get back to you shortly.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;br /&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 hardware accelerated symmetric encryption key derivation</title><link>https://devzone.nordicsemi.com/thread/499251?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2024 15:15:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5defae1-dd9f-4f30-ac2d-675548c77f00</guid><dc:creator>p1ng</dc:creator><description>&lt;p&gt;had to replace&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;psa_set_key_type&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;key_attributes&lt;/span&gt;&lt;span&gt;, PSA_KEY_USAGE_ENCRYPT &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;span&gt; PSA_KEY_USAGE_DECRYPT);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;with&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;psa_set_key_usage_flags&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;key_attributes&lt;/span&gt;&lt;span&gt;, PSA_KEY_USAGE_ENCRYPT &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;span&gt; PSA_KEY_USAGE_DECRYPT);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;was probably copied wrong chatpt...&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>