<?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>topic Re: Security Engine of LS1021A in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Security-Engine-of-LS1021A/m-p/460723#M580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enabling cryptodev driver alone does not offload crypto jobs to the&lt;/P&gt;&lt;P&gt;hardware. You should also enable the hardware (CAAM in your case) &lt;/P&gt;&lt;P&gt;driver. Suggestions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use NXP QorIQ SDK:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Frun-time-software%2Flinux-sdk%2Flinux-sdk-for-qoriq-processors%3ASDKLINUX" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Follow the SDK documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Ffreescale.sdlproducts.com%2FLiveContent%2Fcontent%2Fen-US%2FQorIQ_SDK%2FGUID-70AB1917-E7BD-45DB-924C-7545993E6F7E" rel="nofollow" target="_blank"&gt;https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-70AB1917-E7BD-45DB-924C-7545993E6F7E&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Ffreescale.sdlproducts.com%2FLiveContent%2Fcontent%2Fen-US%2FQorIQ_SDK%2FGUID-FD8EAB86-C554-4D24-9B50-F1DA6462F298" rel="nofollow" target="_blank"&gt;https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-FD8EAB86-C554-4D24-9B50-F1DA6462F298&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 13:02:19 GMT</pubDate>
    <dc:creator>bpe</dc:creator>
    <dc:date>2016-05-30T13:02:19Z</dc:date>
    <item>
      <title>Security Engine of LS1021A</title>
      <link>https://community.nxp.com/t5/Layerscape/Security-Engine-of-LS1021A/m-p/460722#M579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently being developed based on LS1021A-IoT.&lt;BR /&gt;I have a difficulty with respect to Security engine.&lt;BR /&gt;I try to change the api using security engine instead using S/W openssl.&lt;BR /&gt;It applied as follows, but there is little change in speed.&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:root@OpenWrt:/"&gt;root@OpenWrt:/&lt;/A&gt;# modprobe cryptodev&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ] cryptodev: driver 1.8 loaded&lt;BR /&gt;&lt;A href="mailto:root@OpenWrt:/"&gt;root@OpenWrt:/&lt;/A&gt;# openssl engine&lt;BR /&gt;(cryptodev) BSD cryptodev engine&lt;BR /&gt;(dynamic) Dynamic engine loading support&lt;/P&gt;&lt;P&gt;What went wrong? Or seek advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 09:51:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Security-Engine-of-LS1021A/m-p/460722#M579</guid>
      <dc:creator>tecuelee</dc:creator>
      <dc:date>2016-05-30T09:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Security Engine of LS1021A</title>
      <link>https://community.nxp.com/t5/Layerscape/Security-Engine-of-LS1021A/m-p/460723#M580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enabling cryptodev driver alone does not offload crypto jobs to the&lt;/P&gt;&lt;P&gt;hardware. You should also enable the hardware (CAAM in your case) &lt;/P&gt;&lt;P&gt;driver. Suggestions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use NXP QorIQ SDK:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Frun-time-software%2Flinux-sdk%2Flinux-sdk-for-qoriq-processors%3ASDKLINUX" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Follow the SDK documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Ffreescale.sdlproducts.com%2FLiveContent%2Fcontent%2Fen-US%2FQorIQ_SDK%2FGUID-70AB1917-E7BD-45DB-924C-7545993E6F7E" rel="nofollow" target="_blank"&gt;https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-70AB1917-E7BD-45DB-924C-7545993E6F7E&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Ffreescale.sdlproducts.com%2FLiveContent%2Fcontent%2Fen-US%2FQorIQ_SDK%2FGUID-FD8EAB86-C554-4D24-9B50-F1DA6462F298" rel="nofollow" target="_blank"&gt;https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-FD8EAB86-C554-4D24-9B50-F1DA6462F298&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 13:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Security-Engine-of-LS1021A/m-p/460723#M580</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2016-05-30T13:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Security Engine of LS1021A</title>
      <link>https://community.nxp.com/t5/Layerscape/Security-Engine-of-LS1021A/m-p/460724#M581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;P{font-size:14px; line-height:16em; margin-left:0; margin-top:0;&lt;/P&gt;&lt;P&gt;margin-right:0; margin-bottom:0; font-family:맑은 고딕;}&lt;/P&gt;&lt;P&gt;Dear bpe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thank you for your quick reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My situation is the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# modprobe cryptodev&lt;/P&gt;&lt;P&gt; cryptodev: driver 18 loaded&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# openssl version&lt;/P&gt;&lt;P&gt;OpenSSL 101g 7 Apr 2014&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# openssl engine&lt;/P&gt;&lt;P&gt;(cryptodev) BSD cryptodev engine&lt;/P&gt;&lt;P&gt;(dynamic) Dynamic engine loading support&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# modprobe tcrypt&lt;/P&gt;&lt;P&gt;modprobe: FATAL: Module tcrypt not found&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# grep tls /proc/crypto&lt;/P&gt;&lt;P&gt;name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/P&gt;&lt;P&gt;tls10(hmac(sha1),cbc(aes))&lt;/P&gt;&lt;P&gt;driver&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : tls10-hmac-sha1-cbc-aes-caam&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# cat /proc/interrupts | grep -i qman&lt;/P&gt;&lt;P&gt;root@OpenWrt:/#&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# cat /proc/interrupts | grep jr&lt;/P&gt;&lt;P&gt;135:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GIC 135&amp;nbsp; 1710000jr&lt;/P&gt;&lt;P&gt;136:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GIC 136&amp;nbsp; 1720000jr&lt;/P&gt;&lt;P&gt;137:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GIC 137&amp;nbsp; 1730000jr&lt;/P&gt;&lt;P&gt;138:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GIC 138&amp;nbsp; 1740000jr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I check the CAAM features on LS1021A-IoT platforms?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I use the Security engine acceleration with OpenSSL, cryptodev,&lt;/P&gt;&lt;P&gt;CAAM?&lt;/P&gt;&lt;P&gt;My company is a company that specializes in the development api&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps, is there any sample application that can use CAAM features?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tecue Lee&lt;/P&gt;&lt;P&gt;JEENWOO R&amp;amp;amp;D Manager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 07:05:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Security-Engine-of-LS1021A/m-p/460724#M581</guid>
      <dc:creator>tecuelee</dc:creator>
      <dc:date>2016-05-31T07:05:32Z</dc:date>
    </item>
  </channel>
</rss>

