<?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>Mbedtls compilation with DES enabled by default</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95049/mbedtls-compilation-with-des-enabled-by-default</link><description>Hello, 
 
 I&amp;#39;m developing with nRF5280-DK, using Zephyr-OS with mbedtls for the cryptography, and I need to have DES and 3DES enabled by default. 
 I tried to set in the prj.conf file : CONFIG_MBEDTLS_CIPHER_DES_ENABLED=y , but it&amp;#39;s not working and each</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Dec 2022 15:05:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95049/mbedtls-compilation-with-des-enabled-by-default" /><item><title>RE: Mbedtls compilation with DES enabled by default</title><link>https://devzone.nordicsemi.com/thread/401764?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 15:05:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fac2bec5-7b01-42d1-8efb-d50c69b1e532</guid><dc:creator>jb73</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thank you for the response,&lt;/p&gt;
&lt;p&gt;indeed that&amp;#39;s what I see in VS Code, &lt;strong&gt;MBEDTLS_CIPHER_DES_ENABLED&lt;/strong&gt; is already configured in my case in Kconfig.tls-generic.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Jean-Baptiste&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mbedtls compilation with DES enabled by default</title><link>https://devzone.nordicsemi.com/thread/401717?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 13:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b04b6669-12e0-4a18-be64-28a3e6539bfd</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Jean-Baptiste,&lt;/p&gt;
&lt;p&gt;DES is not supported nor tested in the nRF Connect SDK, and so this will never match the criteria in&amp;nbsp;zephyr/modules/mbedtls/Kconfig.tls-generic. Therefor it will be set to 0, and you should see a warning similar to this if you check the prj.conf in VS Code:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_MBEDTLS_CIPHER_DES_ENABLED was assigned the value y, but got the value n. Missing dependencies:
(!(NRF_SECURITY || NORDIC_SECURITY_BACKEND) &amp;amp;&amp;amp; MBEDTLS_BUILTIN &amp;amp;&amp;amp; MBEDTLS_CFG_FILE = &amp;quot;config-tls-generic.h&amp;quot; &amp;amp;&amp;amp; MBEDTLS) || (!(NRF_SECURITY || NORDIC_SECURITY_BACKEND) &amp;amp;&amp;amp; MBEDTLS_BUILTIN &amp;amp;&amp;amp; MBEDTLS_CFG_FILE = &amp;quot;config-tls-generic.h&amp;quot; &amp;amp;&amp;amp; MBEDTLS &amp;amp;&amp;amp; 0)&lt;/pre&gt;I did not get a chances to test this myself, but it should be possible to modify&amp;nbsp;Kconfig.tls-generic to allow&amp;nbsp;CONFIG_MBEDTLS_CIPHER_DES_ENABLED.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>