<?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>S32GのトピックRe: openssl offload crypto to hse</title>
    <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1718609#M4709</link>
    <description>&lt;P&gt;Hi,NXP&lt;/P&gt;&lt;P&gt;this maybe secure boot problem,&amp;nbsp;we have already resolved it&lt;/P&gt;&lt;P&gt;following your last prompts, I tried adding several algorithms:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8d115cc5-8da7-410d-bfa6-b262415a24f1.jpg" style="width: 743px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/239952i639ADB5A59B36A85/image-dimensions/743x403?v=v2" width="743" height="403" role="button" title="8d115cc5-8da7-410d-bfa6-b262415a24f1.jpg" alt="8d115cc5-8da7-410d-bfa6-b262415a24f1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Testing found no effect, the interrupt about hse in /proc/interrupt did not change;&lt;/P&gt;&lt;P&gt;Is it related to the following implementation? the afalg_ciphers function only aes&amp;nbsp;algorithms&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="62e1a461-b22c-46e6-843d-9c1de0c36e31.jpg" style="width: 731px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/239954iCB12EF6C71026E43/image-dimensions/731x459?v=v2" width="731" height="459" role="button" title="62e1a461-b22c-46e6-843d-9c1de0c36e31.jpg" alt="62e1a461-b22c-46e6-843d-9c1de0c36e31.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; How should I modify can use other algorithms link AES offload to hse?&lt;/P&gt;&lt;P&gt;Looking forward to your reply, Thanks!!!&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 08:42:10 GMT</pubDate>
    <dc:creator>eone</dc:creator>
    <dc:date>2023-09-07T08:42:10Z</dc:date>
    <item>
      <title>openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1695417#M4260</link>
      <description>&lt;P&gt;Hi,NXP&lt;/P&gt;&lt;P&gt;i am using BSP36.0 on s32g274ardb2, when try use openssl offload crypto operation to hse, its not&amp;nbsp;take effect;What should I do to make it effective?&lt;/P&gt;&lt;P&gt;Here are some outputs:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eone_0-1690769670083.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234244iFA105532382A0CF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eone_0-1690769670083.png" alt="eone_0-1690769670083.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 02:15:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1695417#M4260</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-07-31T02:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1696087#M4271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The available information on regards HSE under Linux for S32G platform is the one provided under the BSP User Manual. As for OpenSSL, the following information is seen under the User Manual:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1690827580506.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234403iB75DAFC7326DD817/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1690827580506.png" alt="DanielAguirre_0-1690827580506.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For which, some pre-requisites are mentioned. Have you followed them? There is also an example available:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_1-1690827638374.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234404i5B2846E0DA65D6F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_1-1690827638374.png" alt="DanielAguirre_1-1690827638374.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Have you taken a look into it?&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 18:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1696087#M4271</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-07-31T18:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1696249#M4278</link>
      <description>&lt;P&gt;yes, i use pkcs11-tool and hse_demo success, aes and rsa work success through HSE.&lt;/P&gt;&lt;P&gt;can i use openssl user api to call hse? thats&amp;nbsp;"S32G Vehicle Integration Platform (GoldVIP) User Manual" 18.1 phrase mentioned, offload crypto opera to HSE.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 02:12:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1696249#M4278</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-08-01T02:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1696856#M4294</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback.&lt;/P&gt;
&lt;P&gt;HSE can offload cryptographic operations through the kernel Crypto API, as said under the BSP User Manual:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1690904048205.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234588i731EC58C037C6C29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1690904048205.png" alt="DanielAguirre_0-1690904048205.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We do not see any other mention about OpenSSL aside from the information provided before. But again, HSE requires the usage of the kernel Crypto API if you want to offload the cryptographic operations.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 15:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1696856#M4294</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-08-01T15:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1700922#M4389</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;I am now tring to use hse crypto APIs by openssl on S32G.&lt;BR /&gt;I take "Linux BSP 36.0 User Manual for S32G2 platforms" section 10 as reference, and make linux kernel menuconfig as below(choose MU1):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a68f6ab2-2d69-46c2-8783-c5b5ff43695e.jpg" style="width: 698px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235512i8A0AD63EDB2860ED/image-dimensions/698x84?v=v2" width="698" height="84" role="button" title="a68f6ab2-2d69-46c2-8783-c5b5ff43695e.jpg" alt="a68f6ab2-2d69-46c2-8783-c5b5ff43695e.jpg" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When power on S32G_RDB2, the kernel log shows "hse 40211000.mu1b: MU interface not active",how can I fix it?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ee2a9bca-29ff-452e-89cf-c662ade0d81e.jpg" style="width: 710px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235513i3E94CF28F44E47B1/image-dimensions/710x417?v=v2" width="710" height="417" role="button" title="ee2a9bca-29ff-452e-89cf-c662ade0d81e.jpg" alt="ee2a9bca-29ff-452e-89cf-c662ade0d81e.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;By the way，the HSE firmware is HSE_FW_S32G2_0_1_0_5. Does this firmware activate MU1 correctly？&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 08:34:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1700922#M4389</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-08-08T08:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1702347#M4415</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Are you writing any commands after you enable MU1 under menuconfig?&lt;/P&gt;
&lt;P&gt;We have the following commands provided by the internal team:&lt;/P&gt;
&lt;P&gt;"NOTICE: Reset status: Power-On Reset&lt;BR /&gt;NOTICE: BL2: v2.5(release):bsp36.0_cd-2.5&lt;BR /&gt;NOTICE: BL2: Built : 10:52:45, Mar 16 2023&lt;BR /&gt;NOTICE: BL2: Booting BL31&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;U-Boot 2020.04 (Mar 16 2023 - 10:49:34 +0800)&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;[ 0.894802] hse 40211000.mu1b: MU interface not active&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;root@s32g274ardb2:~# ls&lt;BR /&gt;hse-encrypt hse-secboot hse-sysimg pkcs-key-provision pkcs-keyop&lt;BR /&gt;root@s32g274ardb2:~# ldconfig -l /usr/lib/libpkcs-hse.so&lt;BR /&gt;root@s32g274ardb2:~# ldconfig -l /usr/lib/libcrypto.so.1.1&lt;BR /&gt;root@s32g274ardb2:~# ldconfig -l /usr/lib/libhse.so.1.0&lt;BR /&gt;root@s32g274ardb2:~# ldconfig -l /usr/lib/libp11.so.3.4.3&lt;BR /&gt;root@s32g274ardb2:~# ./hse-secboot -h&lt;/P&gt;
&lt;P&gt;format HSE key catalogs or set up HSE-based advanced secure boot&lt;/P&gt;
&lt;P&gt;Usage:&lt;/P&gt;
&lt;P&gt;./hse-secboot [-h] [-f|s] [-k keypath] [-d devpath]&lt;/P&gt;
&lt;P&gt;-h: display this help string&lt;BR /&gt;-f: format key catalogs&lt;BR /&gt;requires -d&lt;BR /&gt;mutually exclusive with -s&lt;BR /&gt;-o: force overwrite of HSE key catalog&lt;BR /&gt;-s: set up advanced secure boot&lt;BR /&gt;requires -d and -k&lt;BR /&gt;mutually exclusive with -f&lt;BR /&gt;-k: specify full path to PEM format key file&lt;BR /&gt;-d: specify full path to SD device (e.g. /dev/sdb)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;root@s32g274ardb2:~# ./hse-secboot -f -d /dev/mmcblk0&lt;BR /&gt;[INFO] Formatting HSE key catalog&lt;BR /&gt;hse: device initialized, status 0x0920&lt;BR /&gt;[INFO] Retrieving IVT from device /dev/mmcblk0&lt;BR /&gt;[INFO] Enabling MUs&lt;BR /&gt;[INFO] Formatting NVM and RAM key catalogs&lt;BR /&gt;[INFO] Retrieving SYSIMG size&lt;BR /&gt;[INFO] Publishing SYSIMG&lt;BR /&gt;[INFO] Writing SYSIMG to /dev/mmcblk0&lt;BR /&gt;root@s32g274ardb2:~# NOTICE: Reset status: Power-On Reset&lt;BR /&gt;NOTICE: BL2: v2.5(release):bsp36.0_cd-2.5&lt;BR /&gt;NOTICE: BL2: Built : 10:52:45, Mar 16 2023&lt;BR /&gt;NOTICE: BL2: Booting BL31&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;[ 0.894824] hse 40211000.mu1b: premium firmware, version 1.0.1&lt;BR /&gt;[ 0.901025] hse 40211000.mu1b: registered algs sha1,hmac(sha1)&lt;BR /&gt;[ 0.907198] hse 40211000.mu1b: registered algs sha224,hmac(sha224)&lt;BR /&gt;[ 0.913718] hse 40211000.mu1b: registered algs sha256,hmac(sha256)&lt;BR /&gt;[ 0.920235] hse 40211000.mu1b: registered algs sha384,hmac(sha384)&lt;BR /&gt;[ 0.922555] mmc0: SDHCI controller on 402f0000.mmc [402f0000.mmc] using ADMA&lt;BR /&gt;[ 0.930734] hse 40211000.mu1b: registered algs sha512,hmac(sha512)&lt;BR /&gt;[ 0.940252] hse 40211000.mu1b: registered alg ctr(aes)&lt;BR /&gt;[ 0.945651] hse 40211000.mu1b: registered alg cbc(aes)&lt;BR /&gt;[ 0.951007] hse 40211000.mu1b: registered alg ecb(aes)&lt;BR /&gt;[ 0.956409] hse 40211000.mu1b: registered alg cfb(aes)&lt;BR /&gt;[ 0.961761] hse 40211000.mu1b: registered alg ofb(aes)&lt;BR /&gt;[ 0.967133] hse 40211000.mu1b: registered alg gcm(aes)&lt;BR /&gt;[ 0.972530] hse 40211000.mu1b: registered hwrng-hse&lt;BR /&gt;[ 0.977527] hse 40211000.mu1b: device ready, status 0x4B20&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 19:57:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1702347#M4415</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-08-09T19:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1702636#M4419</link>
      <description>&lt;P&gt;hi, NXP, thank you for your reply.&lt;BR /&gt;Follow the instructions you provided, MU1 is actived and algorithm successfully registered&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="527a93e1-d52e-4c15-9575-2fca81b452c5.png" style="width: 717px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235895i773F86DDA0518FC8/image-dimensions/717x269?v=v2" width="717" height="269" role="button" title="527a93e1-d52e-4c15-9575-2fca81b452c5.png" alt="527a93e1-d52e-4c15-9575-2fca81b452c5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I tested using OpenSSL with af_alg engine, I found that only aes_cbc could call HSE!!! aes_ctr and sha256 may not taken effect&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5c25310a-5226-48b7-8e69-23c6e13e9127.jpg" style="width: 724px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235896iBD15884EDD4B2FD9/image-dimensions/724x259?v=v2" width="724" height="259" role="button" title="5c25310a-5226-48b7-8e69-23c6e13e9127.jpg" alt="5c25310a-5226-48b7-8e69-23c6e13e9127.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What should I do to call all algorithm operations registered with HSE through OpenSSL?&lt;BR /&gt;thanks, Looking forward to your reply.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 05:25:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1702636#M4419</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-08-10T05:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1703109#M4443</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. Let us verify if it possible and how.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 15:38:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1703109#M4443</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-08-10T15:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1703732#M4455</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have received the following update:&lt;/P&gt;
&lt;P&gt;"That's because the (default) af-alg engine only supports the algorithm AES-CBC, please check source code of AF-ALG engine in OpenSSL.&lt;BR /&gt;For example, for OpenSSL 3.0.7 version, in the source file engines\e_afalg.c, you can find the supported NIDs:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;static int afalg_cipher_nids[] = {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NID_aes_128_cbc,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NID_aes_192_cbc,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NID_aes_256_cbc,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;};&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;In order to support other algorithms, you need to enable that in the engine. Unfortunately, we don't have sample code for this."&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 20:45:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1703732#M4455</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-08-11T20:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1706493#M4488</link>
      <description>&lt;P&gt;Hi，NXP&lt;/P&gt;&lt;P&gt;I am verifying the operation you mentioned，When I execute the following command：&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ldconfig -l /usr/lib/libpkcs-hse.so.1.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldconfig -l /usr/lib/libcrypto.so.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldconfig -l /usr/lib/libhse.so.1.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldconfig -l /usr/lib/libp11.so.3.4.3&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;hse-secboot -f -d /dev/mmcblk0&lt;/P&gt;&lt;P&gt;The following error occurred after restarting the machine：&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="58ba5722-013b-475f-8ea4-6adbd872cf63.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236859i0F55A6EACBC702F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="58ba5722-013b-475f-8ea4-6adbd872cf63.jpg" alt="58ba5722-013b-475f-8ea4-6adbd872cf63.jpg" /&gt;&lt;/span&gt;&lt;P&gt;It didn't appear before, how should I solve this problem?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Aug 2023 09:25:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1706493#M4488</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-08-17T09:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1706932#M4496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We seem to be a little bit confused. We are seeing that in a previous post, you executed these commands and there was no problem, or so it seems.&lt;/P&gt;
&lt;P&gt;Can you help us elaborate more on this situation? Was this a clean build?&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 19:18:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1706932#M4496</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-08-17T19:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1711280#M4559</link>
      <description>&lt;P&gt;For authenticating kernel from uboot, I am using FIT image containing RSA private key and loading&amp;nbsp; image using bootm command.&lt;BR /&gt;currently I am storing&amp;nbsp; public key certificate for authentication of FIT image to be loaded in device tree,&lt;BR /&gt;can i store public key certificate for verification in hse NVM key catalog/ RAM key catalog instead of device tree for authentication of kernel from uboot using FIT image.???&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205137"&gt;@Daniel-Aguirre&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 07:12:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1711280#M4559</guid>
      <dc:creator>lakshaypiplani</dc:creator>
      <dc:date>2023-08-25T07:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1718523#M4707</link>
      <description>&lt;P&gt;Hi,NXP&lt;/P&gt;&lt;P&gt;following your prompts, I tried adding several algorithms:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8d115cc5-8da7-410d-bfa6-b262415a24f1.jpg" style="width: 743px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/239952i639ADB5A59B36A85/image-dimensions/743x403?v=v2" width="743" height="403" role="button" title="8d115cc5-8da7-410d-bfa6-b262415a24f1.jpg" alt="8d115cc5-8da7-410d-bfa6-b262415a24f1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Testing found no effect, the interrupt about hse in /proc/interrupt did not change;&lt;/P&gt;&lt;P&gt;Is it related to the following implementation? the afalg_ciphers function only aes&amp;nbsp;algorithms&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="62e1a461-b22c-46e6-843d-9c1de0c36e31.jpg" style="width: 731px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/239954iCB12EF6C71026E43/image-dimensions/731x459?v=v2" width="731" height="459" role="button" title="62e1a461-b22c-46e6-843d-9c1de0c36e31.jpg" alt="62e1a461-b22c-46e6-843d-9c1de0c36e31.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; How should I modify can use other algorithms link AES offload to hse?&lt;/P&gt;&lt;P&gt;Looking forward to your reply, Thanks!!!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 07:32:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1718523#M4707</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-09-07T07:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1718609#M4709</link>
      <description>&lt;P&gt;Hi,NXP&lt;/P&gt;&lt;P&gt;this maybe secure boot problem,&amp;nbsp;we have already resolved it&lt;/P&gt;&lt;P&gt;following your last prompts, I tried adding several algorithms:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8d115cc5-8da7-410d-bfa6-b262415a24f1.jpg" style="width: 743px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/239952i639ADB5A59B36A85/image-dimensions/743x403?v=v2" width="743" height="403" role="button" title="8d115cc5-8da7-410d-bfa6-b262415a24f1.jpg" alt="8d115cc5-8da7-410d-bfa6-b262415a24f1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Testing found no effect, the interrupt about hse in /proc/interrupt did not change;&lt;/P&gt;&lt;P&gt;Is it related to the following implementation? the afalg_ciphers function only aes&amp;nbsp;algorithms&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="62e1a461-b22c-46e6-843d-9c1de0c36e31.jpg" style="width: 731px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/239954iCB12EF6C71026E43/image-dimensions/731x459?v=v2" width="731" height="459" role="button" title="62e1a461-b22c-46e6-843d-9c1de0c36e31.jpg" alt="62e1a461-b22c-46e6-843d-9c1de0c36e31.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; How should I modify can use other algorithms link AES offload to hse?&lt;/P&gt;&lt;P&gt;Looking forward to your reply, Thanks!!!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 08:42:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1718609#M4709</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-09-07T08:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1719714#M4730</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. Since the following was told before:&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;In order to support other algorithms, you need to enable that in the engine. Unfortunately, we don't have sample code for this."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We may not be able to provide the specific modifications required, under this channel.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Still, we will verify if we can provide the required modifications. In the meantime, we can recommend either looking into our available Partners (link:&amp;nbsp;&lt;A href="https://www.nxp.com/design/partner-marketplace/partner-directory:PARTNER_DIRECTORY" target="_blank"&gt;Partner Directory | NXP Semiconductors&lt;/A&gt;) or contacting your local NXP FAE, since you are looking for SW customization, which is not commonly supported under the NXP online service/community. We do apologize.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please, let us know.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 19:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1719714#M4730</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-09-08T19:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1719915#M4734</link>
      <description>&lt;P&gt;Thank you for your reply,&amp;nbsp; Looking forward to your feedback&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 02:19:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1719915#M4734</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-09-11T02:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1720598#M4745</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have received the following update:&lt;/P&gt;
&lt;P&gt;"Your modifications doesn't help much. You need to implement mechanisms in the engine code for new algorithms, to offload OpenSSL cryptographic operations to corresponding kernel crypto API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to sample code in OpenSSL source code (engines/), or some open source projects on github. For example:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/cotequeiroz/afalg_engine" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/cotequeiroz/afalg_engine&lt;/A&gt;."&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 20:47:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1720598#M4745</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-09-11T20:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1721611#M4762</link>
      <description>&lt;P&gt;hi,NXP&lt;/P&gt;&lt;P&gt;I tested the openssl software and AF_ALG engine (offload HSE), and found that the performance was worse after using the AF_ALG engine (offload HSE), Can you tell me why?&lt;/P&gt;&lt;P&gt;Here are the test data:&lt;/P&gt;&lt;P&gt;I used openssl's own performance testing command, the AF_ALG engine was not used on the left, and used on the right. I checked and found that there was indeed an increase in HSE interrupts when use AF_ALG.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="b61be108-26aa-4c83-92a8-373e1ca54b8a.jpg" style="width: 744px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/240701i3FD7433ADC53072F/image-dimensions/744x134?v=v2" width="744" height="134" role="button" title="b61be108-26aa-4c83-92a8-373e1ca54b8a.jpg" alt="b61be108-26aa-4c83-92a8-373e1ca54b8a.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; This is test of hash,&amp;nbsp;left use openssl EVP api and right use kernel socket&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5c88b2f2-7199-4468-9d7f-5c9523967298.jpg" style="width: 706px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/240704i66200E0C9ECA686E/image-dimensions/706x131?v=v2" width="706" height="131" role="button" title="5c88b2f2-7199-4468-9d7f-5c9523967298.jpg" alt="5c88b2f2-7199-4468-9d7f-5c9523967298.jpg" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="58bdafb3-3c60-4464-943f-9c50a0f42db0.jpg" style="width: 701px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/240705i1EE5795201826E67/image-dimensions/701x156?v=v2" width="701" height="156" role="button" title="58bdafb3-3c60-4464-943f-9c50a0f42db0.jpg" alt="58bdafb3-3c60-4464-943f-9c50a0f42db0.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="80b27cbe-7079-442c-b4a5-08f32ffc8c54.jpg" style="width: 746px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/240702i6923A9383A168BDC/image-dimensions/746x181?v=v2" width="746" height="181" role="button" title="80b27cbe-7079-442c-b4a5-08f32ffc8c54.jpg" alt="80b27cbe-7079-442c-b4a5-08f32ffc8c54.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 03:54:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1721611#M4762</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-09-13T03:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1722451#M4779</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for the information. Could be that there is bottleneck when sending the information to offload with HSE.&amp;nbsp;Could be that the offload still requires some optimization.&lt;/P&gt;
&lt;P&gt;Still, we will confirm if this behavior is expected or not. Can you help us with the measurements of the 16, 64, 256 and 1024 bytes? Unless we are not understanding the tables you have shared, we find that the first has different lengths than the second one.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 23:16:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1722451#M4779</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-09-13T23:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: openssl offload crypto to hse</title>
      <link>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1722651#M4780</link>
      <description>&lt;P&gt;hi，NXP&lt;/P&gt;&lt;P&gt;the first data table is the performance test that comes with OpenSSL: the amount of data that can be encrypted per second, which clearly shows that pure software has a higher than offloading throughput compared to HSE.&lt;/P&gt;&lt;P&gt;The second table shows my time consumption testing of the interface. I did not test according to the bytes provided by OpenSSL, but calculated a byte change myself, which is consistent with the throughput results. The time consumption of pure software interfaces is much lower than that of HSE&amp;nbsp; hardware offload.&lt;/P&gt;&lt;P&gt;If that's the case, using HSE offload sacrificing performance. According to the link you provided, the performance of hardware processing large bytes should be better than that of software?&lt;/P&gt;&lt;P&gt;and then, Can I use HSE to accelerate openssl software algorithm operations?&lt;/P&gt;&lt;P&gt;thanks!!!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 02:18:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/openssl-offload-crypto-to-hse/m-p/1722651#M4780</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-09-14T02:18:18Z</dc:date>
    </item>
  </channel>
</rss>

