<?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>Signature Scheme Implementation for nrf52 series</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117813/signature-scheme-implementation-for-nrf52-series</link><description>Dear customer support people, 
 I&amp;#39;m trying to employ a particular signature scheme to benchmark it against other more traditional methods on your devices, specifically on a nrf52840DK. Specifically, the signature scheme is BBS, a relatively new method</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jan 2025 13:24:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117813/signature-scheme-implementation-for-nrf52-series" /><item><title>RE: Signature Scheme Implementation for nrf52 series</title><link>https://devzone.nordicsemi.com/thread/517706?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 13:24:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd5eb38a-f55a-42b1-b345-ae996700fa5d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Alessandro,&lt;/p&gt;
&lt;p&gt;I would recomend looking at PSA APIs instead of mbed TLS, as that is what we are supporting going forward, and this is paritcularily relevant if you want to use the nRF54 series devices (you can use mbedTLS / legacy crypto there as well for now, but without hardwrae acceleration). That said, you can find infomration about using mbed TLS with nRF Connect SDK under &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/security/nrf_security/doc/configuration.html#legacy_crypto_support"&gt;Legacy crypto support&lt;/a&gt;, as for APIs, you should refer to the mbedTLS documentation or generic examples, as most is not nRF specific.&lt;/p&gt;
&lt;p&gt;regardign integrating libraries in the SDK, the simplest if it is just a bunch of files, could be to include it directly in the application folder as just a part of the application. You can still keep it in a separate folder, but modify the CMakeLists.txt file to include that folder as well. You can also have a look at &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/application_development/external_lib"&gt;this sample&lt;/a&gt; of addding an external library (this demonstrate a library with a different build system, but that does not have to be the case). Or you can look at how various libraries are added in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Signature Scheme Implementation for nrf52 series</title><link>https://devzone.nordicsemi.com/thread/517493?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 13:55:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e097402-a126-46b9-9f0e-b9c7a122c3f5</guid><dc:creator>alebldn</dc:creator><description>&lt;p&gt;Hi Einar, thanks for your response!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m familiar with the examples you provided: in fact, I&amp;#39;ve been using one of these to leverage high-level APIs to interact with security modules. Unfortunately, if I had to implement things myself I&amp;#39;d have to hack into the lower levels to employ the finite field arithmetic libraries employed by other signature schemes included in the crypto examples you provided. Do you have any suggestions about where could I find more about lower level libraries like mbed_tls? The official site doesn&amp;#39;t really provide much information...&lt;/p&gt;
&lt;p&gt;Other than that, aside the familiarity with specific libraries, are you aware of any guide that could help me integrate libraries that need to be built with CMake (similarly to our projects) into the nrf Connect SDK environment?&lt;/p&gt;
&lt;p&gt;Thank you in advance,&lt;/p&gt;
&lt;p&gt;Alessandro&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Signature Scheme Implementation for nrf52 series</title><link>https://devzone.nordicsemi.com/thread/517490?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 13:47:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9914ae82-cb47-4a02-a701-595c0cd1ad67</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Alessandro,&lt;/p&gt;
&lt;p&gt;I am not familiar with relic or libbbs so I do not have any specific input on that. It seems to me that it is purely software based though, so even if you port it successfully to the nRF you would not benefit from the CryptoCell CC310 crypto accelerator on the nRF52840.&lt;/p&gt;
&lt;p&gt;For using the crypto accelerator and for future-proofing for other nRF devices, I suggest you look at implementing it using PSA crypto APIs. There are several &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/20158058f231395237a6cf40399af2a5c2e826cb/samples/crypto"&gt;crytpo examples&lt;/a&gt; you may find relevant in the SDK, including ECC samples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>