<?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>Zephyr bus fault when using PSA crypto with CC310 and Openthread L2 layer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98717/zephyr-bus-fault-when-using-psa-crypto-with-cc310-and-openthread-l2-layer</link><description>Hello, 
 
 I am migrating an application based on the old Nordic SDK16 to the NCS Zephyr SDK. 
 My workspace is using Zephyr commit f8f11338, nrfconnect/mbedtls commit de1b3f57, and nrfconnect/sdk-nrf commit f06fb7d3. My application utilizes openthread</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Aug 2024 12:22:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98717/zephyr-bus-fault-when-using-psa-crypto-with-cc310-and-openthread-l2-layer" /><item><title>RE: Zephyr bus fault when using PSA crypto with CC310 and Openthread L2 layer</title><link>https://devzone.nordicsemi.com/thread/496964?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 12:22:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cf2f9f4-561a-4acd-ad6b-29f25fd669d4</guid><dc:creator>Utkarsh</dc:creator><description>&lt;p&gt;Any update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bus fault when using PSA crypto with CC310 and Openthread L2 layer</title><link>https://devzone.nordicsemi.com/thread/436454?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 11:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19c4cc1d-de0b-4256-8b6e-8a7eb3df7664</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Neal,&lt;/p&gt;
&lt;p&gt;Amanda is on vacation and I have been assigned the case for the time being. I have asked internally for the updates and will get back to you once I hear from them. But this might take a while as we are currently short staffed due to the summer holidays here in Norway.&lt;/p&gt;
&lt;p&gt;Thank you very much for your patience and understanding.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bus fault when using PSA crypto with CC310 and Openthread L2 layer</title><link>https://devzone.nordicsemi.com/thread/435046?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 15:13:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b40dc35-e04d-4a97-99d1-caaec7009e97</guid><dc:creator>nealjack</dc:creator><description>&lt;p&gt;This issue is still present on 2.4.0. Does Nordic have any plans or ideas on how to resolve this? Our development is stalled as we require cryptographic operations in tandem with Openthread networking.&lt;/p&gt;
&lt;p&gt;This problem can be replicated with the nrf/crypto/ecdsa sample with this configuration:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# The Zephyr CMSIS emulation assumes that ticks are ms, currently
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000

CONFIG_MAIN_STACK_SIZE=8192
CONFIG_HEAP_MEM_POOL_SIZE=8192

# Enable logging
CONFIG_CONSOLE=y
CONFIG_LOG=y

# Enable nordic security backend and PSA APIs
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y

CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=8192

CONFIG_NETWORKING=y
CONFIG_NET_L2_OPENTHREAD=y

CONFIG_CC3XX_BACKEND=y
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bus fault when using PSA crypto with CC310 and Openthread L2 layer</title><link>https://devzone.nordicsemi.com/thread/426157?ContentTypeID=1</link><pubDate>Thu, 18 May 2023 15:17:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94d73fbb-f410-46b1-b8ae-70b08283c1ba</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Seems Openthread does not support PSA API and probably for this reason, it caused the issue with the configuration. Unfortunately, the team doesn&amp;#39;t have a solution currently, but&amp;nbsp;I suggest you try to check your application on the &lt;a title="https://github.com/nrfconnect/sdk-nrf/releases/tag/v2.4.0-rc1" href="https://github.com/nrfconnect/sdk-nrf/releases/tag/v2.4.0-rc1" rel="noopener noreferrer" target="_blank"&gt;v2.4.0-rc1&lt;/a&gt; tag or once the final tag v2.4.0 is released.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;-Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bus fault when using PSA crypto with CC310 and Openthread L2 layer</title><link>https://devzone.nordicsemi.com/thread/426151?ContentTypeID=1</link><pubDate>Thu, 18 May 2023 14:20:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f10ef10f-cf57-46aa-a081-fbea72c06188</guid><dc:creator>nealjack</dc:creator><description>&lt;p&gt;Do you have any updates regarding this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bus fault when using PSA crypto with CC310 and Openthread L2 layer</title><link>https://devzone.nordicsemi.com/thread/420819?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 14:19:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dd83899-1e9d-4771-ad18-501363feb0f2</guid><dc:creator>nealjack</dc:creator><description>&lt;p&gt;I wrote too soon. The patch just fixes the key generation issue with oberon. Generating a hash and signing a hash still results in a -134 error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bus fault when using PSA crypto with CC310 and Openthread L2 layer</title><link>https://devzone.nordicsemi.com/thread/420803?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 13:52:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbbfeba6-2e3f-49a5-9be1-21725983fe8e</guid><dc:creator>nealjack</dc:creator><description>&lt;p&gt;I can confirm that the patch included by&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/zcornelius"&gt;zcornelius&lt;/a&gt;&amp;nbsp;in this linked post fixes the generate keys error (-134) that I mentioned. &lt;br /&gt;Both the modified crypto samples as well as my own application no longer exhibit the error when using the oberon backend.&lt;br /&gt;&lt;br /&gt;I am still experiencing the bus fault when enabling the crypto cell with&amp;nbsp;CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr bus fault when using PSA crypto with CC310 and Openthread L2 layer</title><link>https://devzone.nordicsemi.com/thread/420542?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2023 14:24:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2defc91e-c418-4bf7-a9ba-555d3ad6a37f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are looking into the issue. It would take time to investigate the issue. I would update the case later if I have anything to share.&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><item><title>RE: Zephyr bus fault when using PSA crypto with CC310 and Openthread L2 layer</title><link>https://devzone.nordicsemi.com/thread/420340?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2023 17:20:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cd3c57d-b638-4e1b-9231-4975f65c0d4a</guid><dc:creator>nealjack</dc:creator><description>&lt;p&gt;This problem is likely related to this one:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/96872/psa-crypto-features-not-enabled-when-config_mbedtls_legacy_crypto_c-is-enabled"&gt;devzone.nordicsemi.com/.../psa-crypto-features-not-enabled-when-config_mbedtls_legacy_crypto_c-is-enabled&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>