<?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>Configuration Conflicts with OSDP and NRF Security</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106532/configuration-conflicts-with-osdp-and-nrf-security</link><description>Issue: 
 We are attempting to implement NRF and OSDP into a Zephyr project. In order for NRF to be, properly, included this requires a configuration statement in the prj.conf for nrf security (CONFIG_NRF_SECURITY) . And in order to leverage the OSDP library</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Dec 2023 14:51:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106532/configuration-conflicts-with-osdp-and-nrf-security" /><item><title>RE: Configuration Conflicts with OSDP and NRF Security</title><link>https://devzone.nordicsemi.com/thread/460177?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 14:51:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ba2b98-cfed-4815-92e0-9ffbf742a9b4</guid><dc:creator>rwoodward-lb</dc:creator><description>&lt;p&gt;That solved the problem. Im no longer getting any build errors.&lt;br /&gt;Thank you, so much!&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration Conflicts with OSDP and NRF Security</title><link>https://devzone.nordicsemi.com/thread/460107?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 10:54:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a7ca896-d02c-490d-9cfa-0680d1aec3c1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The initial reason I couldn&amp;#39;t reproduce the error was that I had disabled CONFIG_OSDP_SC_ENABLED to allow me to build the original sample without considering what this option actually did (i.e., enabling encryption support).&lt;/p&gt;
&lt;p&gt;To fix these compile errors I had to cherry pick the commits from this PR:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/66258"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/66258&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ncs/v2.5.0/zephyr$ git remote add arkwad https://github.com/arkwad/zephyr.git
/ncs/v2.5.0/zephyr$ git remote fetch arkwad
/ncs/v2.5.0/zephyr$ git cherry-pick a30723d52fe4bb3afd605af5b204bbbcfad759b5
/ncs/v2.5.0/zephyr$ git cherry-pick 5fd916aa8f855c8d03652f7d8ed7bbd773b42d12&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After applying this fix, I was able to reproduce the same build error because&amp;nbsp;&lt;span&gt;CONFIG_OSDP_SC_ENABLED is selecting the Zephyr mbedtls module here:&lt;/span&gt;&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/b3979ec709df026fc655286f1a58be30b0f688e0/subsys/mgmt/osdp/Kconfig#L71"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/b3979ec709df026fc655286f1a58be30b0f688e0/subsys/mgmt/osdp/Kconfig#L71&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to comment the lines shown below&amp;nbsp;in&amp;nbsp;/v2.5.0/zephyr/subsys/mgmt/osdp/Kconfig and see if it fixes the problem:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;config OSDP_SC_ENABLED
	bool &amp;quot;OSDP Secure Channel&amp;quot;
	depends on CSPRING_ENABLED
	default y
	#select CRYPTO
	#select CRYPTO_MBEDTLS_SHIM
	#select MBEDTLS
	#select MBEDTLS_CIPHER_CCM_ENABLED
	help
	  Secure the OSDP communication channel with encryption and mutual
	  authentication.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration Conflicts with OSDP and NRF Security</title><link>https://devzone.nordicsemi.com/thread/459993?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 17:12:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf36f7d1-8526-4df9-b9f7-9a78e2424be0</guid><dc:creator>rwoodward-lb</dc:creator><description>&lt;p&gt;I downloaded the&amp;nbsp;&lt;strong&gt;2.5.0 SDK&amp;nbsp;&lt;/strong&gt;this morning and attempted the, peripheral_device sample, build again. Unfortunately, there was no change.&lt;br /&gt;&lt;br /&gt;I tried to add these statements to the&amp;nbsp;&lt;strong&gt;prj.config:&lt;/strong&gt;&lt;/p&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;CONFIG_NRF_SECURITY&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;CONFIG_PSA_WANT_ALG_CCM&lt;/span&gt;&lt;span&gt;=y&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Here is an image of the&amp;nbsp;&lt;strong&gt;prj.config&amp;nbsp;&lt;/strong&gt;file:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/prj-config.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I initially was using 2.4.99-dev2, I switched over to 2.5.0 this morning. Im getting the same results.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is an image of the build attempt on&amp;nbsp;&lt;strong&gt;2.5.0&lt;/strong&gt;&lt;br /&gt;&lt;img style="max-height:207px;max-width:632px;" height="207" src="https://devzone.nordicsemi.com/resized-image/__size/1264x414/__key/communityserver-discussions-components-files/4/2.5.0-error.png" width="632" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration Conflicts with OSDP and NRF Security</title><link>https://devzone.nordicsemi.com/thread/459918?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 12:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7cc5b3b-b545-42c2-adba-046b1ac5acf2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Which version of the nRF Connect SDK are you using? I tried to reproduce this by building the /zephyr/samples/subsys/mgmt/osdp/peripheral_device sample with CONFIG_NRF_SECURITY enabled in SDK v.2.5.0, but did not get any build errors. Please try to add CONFIG_PSA_WANT_ALG_CCM=y to your build and see if you receive the same linker errors.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>