<?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>Error in integration of nrf_cc3xx_platform library in different OS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90333/error-in-integration-of-nrf_cc3xx_platform-library-in-different-os</link><description>Hello, 
 Does nrf_cc3xx_platform_init takes care of initialization of the cryptocell hardware and also initialization of rng, ecb, ccm peripherals?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Aug 2022 13:58:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90333/error-in-integration-of-nrf_cc3xx_platform-library-in-different-os" /><item><title>RE: Error in integration of nrf_cc3xx_platform library in different OS</title><link>https://devzone.nordicsemi.com/thread/380162?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 13:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02b85e47-2f8e-4eaa-b28f-91219353b3c8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t support the library in non-NCS environments, unfortunately.&lt;/p&gt;
&lt;p&gt;In our SDK, we use the MbedTLS repository to provide the high-level interfaces (for the mbedtls_* APIs and for the psa_* APIs). We build the MbedTLS codebase and integrate them with our binary libraries. Because we do this integration the APIs provided by the binary libraries need to be compatible with the MbedTLS version that we use in our SDK. This is what the sentence that you are referring to means, it is a way to say that &amp;quot;we are compatible with this MbedTLS version&amp;quot;.&lt;/p&gt;
&lt;p&gt;The integration is not very simple and it is not a matter of integrating a single file.&lt;/p&gt;
&lt;p&gt;On the other hand, the integration is open source and it can be found in nrf_security:&amp;nbsp;&lt;a title="https://github.com/nrfconnect/sdk-nrfxlib/tree/main/nrf_security" href="https://github.com/nrfconnect/sdk-nrfxlib/tree/main/nrf_security" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrfxlib/tree/main/nrf_security&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And in the cmake logic here:&amp;nbsp;&lt;a title="https://github.com/nrfconnect/sdk-nrfxlib/tree/main/crypto" href="https://github.com/nrfconnect/sdk-nrfxlib/tree/main/crypto" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrfxlib/tree/main/crypto&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in integration of nrf_cc3xx_platform library in different OS</title><link>https://devzone.nordicsemi.com/thread/380042?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 07:29:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ace25611-c854-42a8-a37b-375b26151995</guid><dc:creator>ske</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;We have integrated the nrf_cc3xx_platform and nrf_cc3xx_mbedcrypto library to different OS and not using nrf-connect-sdk.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Would like to confirm if integrating these two libraries with psa/crypto.h header included be sufficient to call psa_crypto_init() API.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As this link&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/crypto/nrf_cc310_mbedcrypto/CHANGELOG.html"&gt;Library built against Mbed TLS version 3.0.0&lt;/a&gt;&amp;nbsp;suggests that these libraries are built with mbedtls library.&lt;/p&gt;
&lt;p&gt;We are using latest versions of&amp;nbsp;&amp;nbsp;&lt;span&gt;nrf_cc3xx_platform and nrf_cc3xx_mbedcrypto libraries.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in integration of nrf_cc3xx_platform library in different OS</title><link>https://devzone.nordicsemi.com/thread/380039?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 07:21:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b60e6587-e9f9-4a1c-b028-2a2a7980c4a1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What NCS version are you using? The&amp;nbsp;&lt;span&gt;compatibility with Mbed TLS 3.0.0 is from NCS v1.9.0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you include&amp;nbsp;&lt;/span&gt;psa/crypto.h&lt;span&gt;&amp;nbsp;as &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/f18f6929e239f01125d349dc8543c940b45b2001/samples/keys/hw_unique_key/src/main.c#L12"&gt;this sample&lt;/a&gt;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in integration of nrf_cc3xx_platform library in different OS</title><link>https://devzone.nordicsemi.com/thread/380030?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 06:37:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31f52d9f-9f62-46dd-b6ff-7b6035a987bf</guid><dc:creator>ske</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you please help and confirm our understanding that&amp;nbsp;&lt;a class="reference internal" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/crypto/doc/nrf_cc310_platform.html"&gt;nrf_cc3xx_platform library&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a class="reference internal" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/crypto/doc/nrf_cc310_mbedcrypto.html"&gt;nrf_cc3xx_mbedcrypto library&lt;/a&gt;&amp;nbsp;are built with mbedtls library 3.0.0?&lt;br /&gt;This is based on information we got from this link&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/crypto/nrf_cc310_mbedcrypto/CHANGELOG.html"&gt;Library built against Mbed TLS version 3.0.0&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But when we try to call APIs like psa_crypto_init() after including&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a class="reference internal" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/crypto/doc/nrf_cc310_platform.html"&gt;nrf_cc3xx_platform library&lt;/a&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;a class="reference internal" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/crypto/doc/nrf_cc310_mbedcrypto.html"&gt;nrf_cc3xx_mbedcrypto library&lt;/a&gt;&lt;span&gt;&amp;nbsp;we see undefined reference error.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in integration of nrf_cc3xx_platform library in different OS</title><link>https://devzone.nordicsemi.com/thread/378699?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2022 11:42:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7b47736-30f4-4d20-b97c-04e2d8006047</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The other blocks of the CryptoCell (ECB, CCM) do not need a specific initialization like the RNG block, they are enabled and initialized by the functions which use them.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>