<?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>nrf91 Ciphers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77548/nrf91-ciphers</link><description>Hello, 
 What are all the supported cipher suites for the nrf9160? Per your documentation, it seems AES 128 is supported but not AES 256. But, based on some testing with slightly modifying the https example, I was able to verify that AES-256 was used</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Jul 2021 13:06:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77548/nrf91-ciphers" /><item><title>RE: nrf91 Ciphers</title><link>https://devzone.nordicsemi.com/thread/320915?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 13:06:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77bc76bc-e0d8-48ad-b91f-cfe6abfce713</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello again Aziz,&lt;/p&gt;
&lt;p lang="en-GB"&gt;In general, the modem does not prevent any private keys. You can use the &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/security/cmng.html"&gt;Credential storage management %CMNG&lt;/a&gt; AT command to write, read and delete private keys.&lt;/p&gt;
&lt;p lang="en-GB"&gt;When opening a TLS connection, the appropriate type/tag pair(s) is used in the TLS attach procedure and TLS negotiation with the server.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Example:&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT%CMNG=0,100,2,&amp;quot;put private key data here&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;The client writes a private key to the modem (&lt;strong&gt;&amp;lt;type&amp;gt;&lt;/strong&gt; is 2, private key in ASCII format, &lt;strong&gt;&amp;lt;sec_tag&amp;gt;&lt;/strong&gt; is 100, can be any wanted). This sec tag and private key&amp;nbsp;can then be used for&amp;nbsp;&lt;span&gt;negotiation&lt;/span&gt; in TLS attach procedure.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Max length of key/cert data that can be written to memory is about ~8k (contains some header info so actual cert/key data cannot be full 8k).&lt;/p&gt;
&lt;p lang="en-GB"&gt;I hope I could answer your question.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf91 Ciphers</title><link>https://devzone.nordicsemi.com/thread/320798?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 05:41:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff48e04e-b1d7-47b3-9f64-118d5304f6c4</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Regarding the keys I’m not sure, so I have to ask our modem team. This might take a while though due to vacation period here in Norway, but I will come back to you as soon as possible.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf91 Ciphers</title><link>https://devzone.nordicsemi.com/thread/320469?ContentTypeID=1</link><pubDate>Fri, 16 Jul 2021 14:07:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cfe5de4-0686-4680-a3d8-8abdcc221033</guid><dc:creator>Aziz</dc:creator><description>&lt;p&gt;Thanks this is great. What about supported private keys type/length?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf91 Ciphers</title><link>https://devzone.nordicsemi.com/thread/320398?ContentTypeID=1</link><pubDate>Fri, 16 Jul 2021 10:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5936f0be-6de0-44ac-8d2b-6c302e309773</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Aziz,&lt;/p&gt;
&lt;p lang="en-GB"&gt;you can find our supported cipher suites &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF9160-DK/Download"&gt;here&lt;/a&gt;&amp;nbsp;(see Feature Brief → TLS Cipher suites).&lt;/p&gt;
&lt;p lang="en-GB"&gt;We support the following ones:&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;pre class="ui-code" data-mode="text"&gt;mbed TLS Name / NIST Name               Value
TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384 {0xC0,0x24}
TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA    {0xC0,0x0A}
TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256 {0xC0,0x23}
TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA    {0xC0,0x09}
TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA      {0xC0,0x14}
TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256   {0xC0,0x27}
TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA      {0xC0,0x13}
TLS-PSK-WITH-AES-256-CBC-SHA            {0x00,0x8D}
TLS-PSK-WITH-AES-128-CBC-SHA256         {0x00,0xAE}
TLS-PSK-WITH-AES-128-CBC-SHA            {0x00,0x8C}
TLS-PSK-WITH-AES-128-CCM-8              {0xC0,0xA8}&lt;/pre&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;For all other suites, we do not have official support.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>