<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Re: IMX8QM HSM SECO implementation</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1359428#M181887</link>
    <description>&lt;P&gt;Based on&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/meta-imx/log/?h=zeus-5.4.70-2.3.3" target="_blank"&gt;https://source.codeaurora.org/external/imx/meta-imx/log/?h=zeus-5.4.70-2.3.3&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Oct 2021 10:13:18 GMT</pubDate>
    <dc:creator>bulat_a</dc:creator>
    <dc:date>2021-10-21T10:13:18Z</dc:date>
    <item>
      <title>IMX8QM HSM SECO implementation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1352707#M181279</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I read the AN12096.pdf, and checked the imx-seco-libs &amp;amp; she_hsm_example sources but there are still some unclear points, could you please clarify them?&lt;/P&gt;&lt;P&gt;". The NVM manager&lt;STRONG&gt; must be only one on the system&lt;/STRONG&gt;, it is subordinated to SECO requests and there is no specific domain in which it should run".&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Only one on the system - on the SoC ? or I can, for example, run 2 Linux (by separating domains A72 and A53) and the system in this context it 2 OS's, thus, I will have 2 thread NVM managers works in parallel in 2 different OS on different domains?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Because I want to have HSM storage per cores/domains (HSM storage for M4_0, another for M4_1, and another for A53 domain, and one more on A72).&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2. How the SECO FW will handle parallel requests to the HSM service? The request from another domain will be blocked until the first one will not complete fully or it can be handled in parallel?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bulat&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 13:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1352707#M181279</guid>
      <dc:creator>bulat_a</dc:creator>
      <dc:date>2021-10-08T13:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM HSM SECO implementation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1359417#M181883</link>
      <description>&lt;P&gt;Could you tell us which version BSP are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 10:01:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1359417#M181883</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2021-10-21T10:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM HSM SECO implementation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1359428#M181887</link>
      <description>&lt;P&gt;Based on&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/meta-imx/log/?h=zeus-5.4.70-2.3.3" target="_blank"&gt;https://source.codeaurora.org/external/imx/meta-imx/log/?h=zeus-5.4.70-2.3.3&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 10:13:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1359428#M181887</guid>
      <dc:creator>bulat_a</dc:creator>
      <dc:date>2021-10-21T10:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM HSM SECO implementation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1361528#M182140</link>
      <description>&lt;P&gt;One important note for you. We &lt;STRONG&gt;DON"T&lt;/STRONG&gt; support HSM API for i.MX8QM device, SHE API can be used in i.MX8QM.&lt;/P&gt;
&lt;P&gt;Customer can try i.MX8QXP C0 or i.MX8DXL if they want to use HSM. &lt;/P&gt;
&lt;P&gt;1.Please just keep one NVM manager for each domains. This single NVM storage session can support the key store from all users. User can open different session from each domain, and one single NVM session is enough for the user case.&lt;/P&gt;
&lt;P&gt;2. There is no parallel in SECO HSM FW, new request will be blocked until SECO complete the previous HSM request.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 09:08:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1361528#M182140</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2021-10-26T09:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM HSM SECO implementation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1361612#M182151</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57740"&gt;@Rita_Wang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply, now it's more clear.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"We&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;DON"T&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;support HSM API for i.MX8QM device, SHE API can be used in i.MX8QM.", now I see in the documentation, I missed that part, thanks! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you know&amp;nbsp;what this is related to?, because looks like some parts between the imx8 family are the same, for example, security subsystem with cortex-m0, I thought the HSM library it's just SW implementation of ROM code that should be common. or there is an HW difference in?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. There is no parallel in SECO HSM FW, a new request will be blocked until SECO completes the previous HSM request.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;There is no parallel in SECO HSM FW" - it's clear, also I'm worried about how the SECO FW will work with 2 SHE storages due to anti-rollback counter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About:&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;User can open different session from each domain, and one single NVM session is enough for the user case."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The NVM session services handles replies from SECO, via RX channel of MUx&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;static&lt;/SPAN&gt; &lt;SPAN&gt;char&lt;/SPAN&gt; &lt;SPAN&gt;SECO_MU_SHE_PATH&lt;/SPAN&gt;&lt;SPAN&gt;[]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"/dev/seco_mu1_ch0"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;static&lt;/SPAN&gt; &lt;SPAN&gt;char&lt;/SPAN&gt; &lt;SPAN&gt;SECO_MU_SHE_NVM_PATH&lt;/SPAN&gt;&lt;SPAN&gt;[]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"/dev/seco_mu1_ch1"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thus, I have to send messages to SECO via seco_mu1_ch0 in each domain, but&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MU1 cannot be shared between 2 OS's to use it&amp;nbsp;simultaneously. (Or, need to find a way to have some global lock between domains).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I guess that I have to assign MU1 to OS1(A53) and MU2 to OS2(A72), for example.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So, I was thinking about fixing the she_hsm library for another OS in that way:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;static&lt;/SPAN&gt; &lt;SPAN&gt;char&lt;/SPAN&gt; &lt;SPAN&gt;SECO_MU_HSM_PATH_PRIMARY&lt;/SPAN&gt;&lt;SPAN&gt;[]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"/dev/seco_mu2_ch0"&lt;/SPAN&gt;&lt;SPAN&gt;; -&amp;gt;&amp;nbsp;static char SECO_MU_SHE_PATH[] = "/dev/seco_mu2_ch0";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;static&lt;/SPAN&gt; &lt;SPAN&gt;char&lt;/SPAN&gt; &lt;SPAN&gt;SECO_MU_HSM_NVM_PATH&lt;/SPAN&gt;&lt;SPAN&gt;[]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"/dev/seco_mu2_ch1"&lt;/SPAN&gt;&lt;SPAN&gt;; -&amp;gt;&amp;nbsp;static char SECO_MU_SHE_NVM_PATH[] = "/dev/seco_mu2_ch1";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;And for M4s&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SECO_MU3 -&amp;gt; to M4_0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SECO_MU4 -&amp;gt; to M4_1&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;so, each domain will have access to the SHE API.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Oct 2021 11:12:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1361612#M182151</guid>
      <dc:creator>bulat_a</dc:creator>
      <dc:date>2021-10-26T11:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM HSM SECO implementation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1429389#M188296</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;One important note for you. We&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;DON"T&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;support HSM API for i.MX8QM device, SHE API can be used in i.MX8QM.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57740"&gt;@Rita_Wang&lt;/a&gt;&amp;nbsp;Could you provide a source for this information? The &lt;STRONG&gt;AN12906 &lt;/STRONG&gt;document&amp;nbsp;says: "&lt;EM&gt;The HSM architecture is compatible with only i.MX 8QXP Rev C0 and i.MX 8DXL.".&amp;nbsp;&lt;/EM&gt;This sounds like that the i.MX8QM does not; however,&lt;/P&gt;&lt;P&gt;- Both the &lt;STRONG&gt;IMX8QMAEC&amp;nbsp;&lt;/STRONG&gt;and&amp;nbsp;the &lt;STRONG&gt;IMX8QMIEC &lt;/STRONG&gt;datasheet&amp;nbsp;document says:&amp;nbsp;&lt;EM&gt;"Dedicated Security Controller for Flashless SHE and HSM support, Trustzone"&amp;nbsp;&lt;/EM&gt;(Page 3, Security row)&lt;BR /&gt;- And the&amp;nbsp;&lt;STRONG&gt;IMX8QMSWSTACKDOC&lt;/STRONG&gt; document says that &lt;EM&gt;"Security firmware supporting HSM, SHE and secure boot"&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So which information is correct?&lt;/P&gt;&lt;P&gt;Sincerely,&lt;BR /&gt;Csongor&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 14:55:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1429389#M188296</guid>
      <dc:creator>Csongor</dc:creator>
      <dc:date>2022-03-16T14:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM HSM SECO implementation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1741990#M214254</link>
      <description>&lt;P&gt;Hi have similar issues running wolfssl echoserver and echoclient, both would open nvm session, and this seems not possible since the channel is fixed to&amp;nbsp;_mu2_ch1&lt;/P&gt;&lt;P&gt;Tried to check hsm lib about nvm, README is mostly blank.&lt;/P&gt;&lt;P&gt;What are "domains" ? I know processes in linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 09:06:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-HSM-SECO-implementation/m-p/1741990#M214254</guid>
      <dc:creator>_angelo_</dc:creator>
      <dc:date>2023-10-18T09:06:41Z</dc:date>
    </item>
  </channel>
</rss>

