<?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>Provisioning a X25519 key pair in KMU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128869/provisioning-a-x25519-key-pair-in-kmu</link><description>ncs\v3.4.0\nrf\scripts\generate_psa_key_attributes.py doesn&amp;#39;t seem to support X25519 PsaKeyType and allowing it to be used with ECDH algorithm. Is this just functionality that is not just added or is there any specific reason for not allowing it ? I tried</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Aug 2026 07:16:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128869/provisioning-a-x25519-key-pair-in-kmu" /><item><title>RE: Provisioning a X25519 key pair in KMU</title><link>https://devzone.nordicsemi.com/thread/569901?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2026 07:16:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50c08f65-87bc-40a9-be61-dc7f22915628</guid><dc:creator>Ramakrishnan</dc:creator><description>&lt;p&gt;Okay.&amp;nbsp; That&amp;#39;s helpful. Thank you for trying it out and confirming.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provisioning a X25519 key pair in KMU</title><link>https://devzone.nordicsemi.com/thread/569879?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2026 14:30:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a0f16a9-49b7-4f0c-8da1-e7dac1c392a9</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The developer added test vectors for x25519 and successfully ran a few ECDH KMU tests on nRF54L15. This confirms that nrfutil-provisioned x25519 KMU keys are working as expected. Note that it&amp;#39;s only tested RAW keys with PERSISTENCE_DEFAULT.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In &lt;code&gt;generate_psa_key_attributes.py,&lt;/code&gt;&amp;nbsp;add:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6082.image-_2800_1_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7853.image-_2800_2_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;To generate the key, call the script like this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;python3 generate_psa_key_attributes.py --id 5 --type ECC_KEY_PAIR_MONTGOMERY --key-bits 255 --algorithm ECDH --location LOCATION_CRACEN_KMU --persistence PERSISTENCE_DEFAULT --cracen-usage RAW --key 0xa546e36bf0527c9d3b16154b82465edd62144c0ac1fc5a18506a2244ba449ac4 --file out.txt --usage DERIVE&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The used key_pair is taken from RFC-7748&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We will create a PR that updates the &lt;code&gt;generate_psa_key_attributes.py&lt;/code&gt; to include x25519 for ECDH sometime this sprint (next 2 weeks).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provisioning a X25519 key pair in KMU</title><link>https://devzone.nordicsemi.com/thread/569826?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2026 18:57:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccefaf72-4bff-4b5a-9d8d-08b4e70b9fea</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let me check with the team, then update the case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>