<?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>Thread PSKc calculation fails in SDK 2.6.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109869/thread-pskc-calculation-fails-in-sdk-2-6-0</link><description>When compiling Thread CLI sample with default configuration the CLI command: &amp;gt;&amp;gt; ot dataset pskc -p 123456 returns: Error 27: NotCapable Debugging discovers that &amp;quot; otPlatCryptoPbkdf2GenerateKey (...)&amp;quot; is not properly implemented when OPENTHREAD_CONFIG_CRYPTO_LIB</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Apr 2024 13:03:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109869/thread-pskc-calculation-fails-in-sdk-2-6-0" /><item><title>RE: Thread PSKc calculation fails in SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/479229?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 13:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c024f030-46a8-405e-acc2-be8dd066fd0b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/14869"&gt;https://github.com/nrfconnect/sdk-nrf/pull/14869&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/pull/1631"&gt;https://github.com/nrfconnect/sdk-zephyr/pull/1631&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread PSKc calculation fails in SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/479050?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 16:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6deb521-a0e6-4598-a285-6e01fa526194</guid><dc:creator>Max Peter</dc:creator><description>&lt;p&gt;Thank you. Looking forward to receiving further input.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread PSKc calculation fails in SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/477510?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 10:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2683c49-dd47-4a04-bb36-9e65d1af7e08</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Thread developers asked me to make an internal ticket so they could look into this as a potential issue. So you know there are some work being done on this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread PSKc calculation fails in SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/477479?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 08:13:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2da45ad-d68d-4527-bb75-3b3fb79410b9</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Yes, you are correct, that is the change here.&lt;/p&gt;
[quote user="Max Peter"]&lt;span&gt;&amp;gt;&amp;gt; The default cryptography backend for Thread is now Arm PSA Crypto API instead of Mbed TLS, which was used in earlier versions.&lt;/span&gt;[/quote]
&lt;p&gt;For the PSA Crypto API, see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/security/nrf_security/doc/driver_config.html#feature-configurations-and-driver-support"&gt;developer.nordicsemi.com/.../driver_config.html&lt;/a&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/security/nrf_security/doc/driver_config.html#feature-configurations-and-driver-support"&gt;Feature configurations and driver support&lt;/a&gt; for how to configure features.&lt;/p&gt;
&lt;p&gt;I am guessing you need something from &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/security/nrf_security/doc/driver_config.html#key-derivation-function-configurations"&gt;Key derivation function configurations&lt;/a&gt;, for example CONFIG_PSA_WANT_ALG_PBKDF2_HMAC.&lt;/p&gt;
[quote user="Max Peter"]Now that&amp;nbsp;&lt;span&gt;o&lt;/span&gt;&lt;span&gt;tPlatCryptoPbkdf2GenerateKey(..) is also used inside the Thread stack it may also impact the integrity of the Thread stack.&lt;/span&gt;[/quote]
&lt;p&gt;I will mention this to our Thread developers, so they know about this, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread PSKc calculation fails in SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/477400?ContentTypeID=1</link><pubDate>Sat, 06 Apr 2024 11:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b1a301d-f900-4637-a5a0-b693aafbb06c</guid><dc:creator>Max Peter</dc:creator><description>&lt;p&gt;The new default setting is:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;gt;&amp;gt; The default cryptography backend for Thread is now Arm PSA Crypto API instead of Mbed TLS, which was used in earlier versions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;See:&amp;nbsp;&lt;a id="" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/releases_and_maturity/releases/release-notes-2.6.0.htm"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/releases_and_maturity/releases/release-notes-2.6.0.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;o&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;tPlatCryptoPbkdf2GenerateKey(..) did work in SDK 2.5.x and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;My use case is using&amp;nbsp;&lt;span&gt;o&lt;/span&gt;&lt;span&gt;tPlatCryptoPbkdf2GenerateKey(..) for key deviation on applikation level.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Now that&amp;nbsp;&lt;span&gt;o&lt;/span&gt;&lt;span&gt;tPlatCryptoPbkdf2GenerateKey(..) is also used inside the Thread stack it may also impact the integrity of the Thread stack.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread PSKc calculation fails in SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/476792?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 09:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:616d0dee-582c-4390-a822-74586dc0cb42</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]which is the new default setting in SDK 2.6.0.[/quote]
&lt;p&gt;Does this mean that what you do worked before?&lt;/p&gt;
[quote user=""]&amp;gt;&amp;gt; ot dataset pskc -p 123456[/quote]
&lt;p&gt;What is your end goal?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>