<?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>nrf5340 NCS 2.8 RSA 2048 example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117781/nrf5340-ncs-2-8-rsa-2048-example</link><description>I am developing with the nRF5340 using NCS version 2.8 and want to test RSA 2048-bit encryption. However, there is only an example for 4096-bit encryption. Could you explain how to perform 2048-bit encryption?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Jan 2025 12:21:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117781/nrf5340-ncs-2-8-rsa-2048-example" /><item><title>RE: nrf5340 NCS 2.8 RSA 2048 example</title><link>https://devzone.nordicsemi.com/thread/517206?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 12:21:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d514aaef-8273-4e4a-bf03-07e1177449cd</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for reaching us for your questions.&lt;/p&gt;
&lt;p&gt;Make the following change in&amp;nbsp;v2.8.0\nrf\samples\crypto\rsa\prj.conf and change all 4096 to 2048 in v2.8.0\nrf\samples\crypto\rsa\src\main.c should work.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_PSA_WANT_RSA_KEY_SIZE_4096&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_PSA_WANT_RSA_KEY_SIZE_2048&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>