<?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>Is fast 4096 bit asymmetric encryption in the pipeline?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25681/is-fast-4096-bit-asymmetric-encryption-in-the-pipeline</link><description>We are using the NRF52840 as a basis for BLE-based secure IoT network. I know that the Crypto library enables hardware-accelerated encryption/decryption. However, as far as I understand, the maximum key length is 512 bits? 
 I wanted to ask if Nordic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Oct 2017 08:17:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25681/is-fast-4096-bit-asymmetric-encryption-in-the-pipeline" /><item><title>RE: Is fast 4096 bit asymmetric encryption in the pipeline?</title><link>https://devzone.nordicsemi.com/thread/101155?ContentTypeID=1</link><pubDate>Fri, 06 Oct 2017 08:17:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:158acf70-8bf9-4f9f-9148-b956a85a475b</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Yes, there are SW implementations which probably fits into flash and RAM and it will work. However performance will be poor and if you plan to do more than few such RSA operations per one transaction then it can take seconds and minutes...&lt;/p&gt;
&lt;p&gt;Google some references (which should show you that changing from RSA to ECC or better some standard ECC+AES scheme on your backend might be the only option;) like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://crypto.stackexchange.com/questions/29843/rsa-signature-verification-implementation-on-cortex-m0"&gt;crypto.stackexchange.com/.../rsa-signature-verification-implementation-on-cortex-m0&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://csrc.nist.gov/csrc/media/events/lightweight-cryptography-workshop-2015/documents/presentations/session7-vincent.pdf"&gt;csrc.nist.gov/.../session7-vincent.pdf&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is fast 4096 bit asymmetric encryption in the pipeline?</title><link>https://devzone.nordicsemi.com/thread/101154?ContentTypeID=1</link><pubDate>Fri, 06 Oct 2017 07:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4ce2dd0-1779-4672-9239-d69c8365fada</guid><dc:creator>meetandyhere</dc:creator><description>&lt;p&gt;Yes, we are using RSA. The 4096-bit key requirement comes from our cloud. And true, large payloads do use symmetric encryption. Maybe my 500KB example was a bit exaggerated. It would be a payload that is small enough to pass through asymmetric crypto without prohibitive delays. The use case is the NRF52840 BLE exchanging authentication information (typically JSON string) with a smartphone. Would 4096-bit RSA for small payloads be feasible on the NRF52840?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is fast 4096 bit asymmetric encryption in the pipeline?</title><link>https://devzone.nordicsemi.com/thread/101156?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 19:22:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb11c775-30e6-47ab-bea4-480eb742d1fa</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;(cannot agree more)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is fast 4096 bit asymmetric encryption in the pipeline?</title><link>https://devzone.nordicsemi.com/thread/101153?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 18:08:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8abdf4ca-a6dc-4a96-be47-1c374bdfd1eb</guid><dc:creator>Krzysztof Zaraska</dc:creator><description>&lt;p&gt;Errr... you don&amp;#39;t encrypt the payload with asymmetric cypher. You encrypt the payload with a symmetric cypher like AES using a random key, and then use asymmetric cypher to encrypt the AES key. Also, 4096-bit key size suggests you are using RSA. Why not switch to ECC? Both faster and smaller key size for the same security.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is fast 4096 bit asymmetric encryption in the pipeline?</title><link>https://devzone.nordicsemi.com/thread/101157?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 11:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d7dbbcc-cb3b-4c16-ba70-c2626d6c40c8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nRF52840 IC has the most advanced support for hardware accelerated cryptographic services, using the ARM TrustZone CryptoCell 310. The CryptoCell support RSA asymmetric encryption with up to 2048 bit key size, but not 4096 bit. What type of cryptographic routines are you looking for? You can test the CryptoCell using the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/cryptocell_example.html?cp=4_0_0_4_2_1"&gt;CryptoCell examples in the SDK&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>