<?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: HOW TO INTEGRATE AND USE HSE API in S32G</title>
    <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1988348#M11594</link>
    <description>&lt;P&gt;Hi, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234952"&gt;@ashwini2024&lt;/a&gt; &lt;/P&gt;
&lt;P&gt;I noticed that you have created another post for this topic, I will update the status there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2024 01:53:00 GMT</pubDate>
    <dc:creator>chenyin_h</dc:creator>
    <dc:date>2024-11-06T01:53:00Z</dc:date>
    <item>
      <title>HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1974893#M11271</link>
      <description>&lt;P&gt;I am using bsp 40 and s32g399ardb3 board.&lt;BR /&gt;I have enabled hse and sd card boot mode is successful.[A core as a standalone.]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashwini2024_0-1729062126826.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304939iC3D0045DDE7385F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashwini2024_0-1729062126826.png" alt="ashwini2024_0-1729062126826.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now i am supposed to use the hse api to perform hashing on A53 core and other cryptographic operations.&lt;BR /&gt;I am referring to the HSE_DEMOAPP_S32G3XX_0_2_22_0 provided by NXP.&lt;BR /&gt;How should i move further should i create a custom application or how can i integrate this into my yocto package and compile the main.c ?&lt;BR /&gt;Could u please provide some assistance.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 07:05:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1974893#M11271</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-10-16T07:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1975781#M11295</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234952"&gt;@ashwini2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for you post.&lt;/P&gt;
&lt;P&gt;From my understanding, you may want to develop your own code from Linux user space, right?&lt;/P&gt;
&lt;P&gt;The HSE DEMO APP is the software packages release by NXP to demostrate the functionality of HSE running on M7 core side, sorry that it could not be directly integrated to Yocto RootFS or your own application targetted running under Linux user space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 07:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1975781#M11295</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-10-17T07:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1975783#M11296</link>
      <description>&lt;P&gt;Thank you for the reply.&lt;BR /&gt;Could i use the apis and the c code present in that folder and integrate with my yocto package ?&lt;BR /&gt;Or could you let me know any other alternative which could be used for generating the hash?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 07:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1975783#M11296</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-10-17T07:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1976525#M11314</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234952"&gt;@ashwini2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;Maybe part of the functions that from upper level could be only a reference, but the demo app is targeted running on M7 cores, the APIs are different with the application running on Linux, as a result, it could not be directly referenced for Linux level development from my view.&lt;/P&gt;
&lt;P&gt;For Linux based development, the reference code NXP provided is the BSP,&amp;nbsp; which included the HSE driver for Linux, in order to develop your own crypto application, I suggest reading on this part of code for your reference.&lt;/P&gt;
&lt;P&gt;Furthermore, since you are interested in the hash, the following code could be a good reference.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-auto-linux/pkcs11-hse/blob/release/bsp41.0/examples/pkcs-msg-digest/pkcs-msg-digest.c" target="_blank"&gt;https://github.com/nxp-auto-linux/pkcs11-hse/blob/release/bsp41.0/examples/pkcs-msg-digest/pkcs-msg-digest.c&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 02:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1976525#M11314</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-10-18T02:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1977092#M11325</link>
      <description>&lt;P&gt;In my yocto bsp 40 i have files like af alg and kernel crypto apis already present in my package. Could you let me know how i could use these files inorder to invoke those apis and compute the hash for the task. The folder structure is as follows and u can look into it&amp;nbsp; &lt;A href="https://github.com/nxp-auto-linux/linux/blob/release/bsp41.0-6.6.25-rt/drivers/crypto/hse/hse-ahash.c#L140" target="_blank"&gt;https://github.com/nxp-auto-linux/linux/blob/release/bsp41.0-6.6.25-rt/drivers/crypto/hse/hse-ahash.c#L140&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 12:25:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1977092#M11325</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-10-18T12:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1977910#M11347</link>
      <description>&lt;P&gt;Hello， &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234952"&gt;@ashwini2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for you reply.&lt;/P&gt;
&lt;P&gt;As far as I know, we did not have such document that directly fulfill your requirement. I apologize.&lt;/P&gt;
&lt;P&gt;From my experience, I understanding that you are willing to develop you own code under Linux with HSE's involvement. I have the following two suggestions for your development:&lt;/P&gt;
&lt;P&gt;1. If you are willing to develop kernel driver/kernel module, theoretically you may directly use the hash API of HSE driver for your own use.&lt;/P&gt;
&lt;P&gt;2. If you are willing to develop a Linux user space code, you may reference the pkcs11-hse project from the path I shared, combine the chapter 10 of BSP 41.0 UM,&amp;nbsp; your own user application could directly use the common openssl API to finally access the HSE.&lt;/P&gt;
&lt;P&gt;I hope it will help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 07:46:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1977910#M11347</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-10-21T07:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1978033#M11351</link>
      <description>&lt;P&gt;Could you give me the steps on how can i proceed with the first option?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 09:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1978033#M11351</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-10-21T09:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1978044#M11353</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/nxp-auto-linux/linux/blob/release/bsp41.0-6.6.25-rt/crypto/algif_hash.c" target="_blank"&gt;https://github.com/nxp-auto-linux/linux/blob/release/bsp41.0-6.6.25-rt/crypto/algif_hash.c&lt;/A&gt;&lt;BR /&gt;How can i use this .These above files are present in my yocto package and it generated a .so file How do i use it how can i go further ?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 09:17:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1978044#M11353</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-10-21T09:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1978684#M11362</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234952"&gt;@ashwini2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;As stated before, the 1st option may be theoretically implemented, there should be addtional development work based on current BSP, but I feel sorry that there are not example code nor document related that done by NXP, the users have to study and develop it themselves.&lt;/P&gt;
&lt;P&gt;For the second option, the current BSP could support it by using openssl applications.&lt;/P&gt;
&lt;P&gt;For the file you mentioned, as displayed from the Makefile "obj-$(CONFIG_CRYPTO_USER_API_HASH) += algif_hash.o", it is user-spaces interface for hash algorithms, while enabled, from my view, this application could be run in user space and directly use the hash algorithms to calculate Hash from kernel functions, it is not to directly use the HSE to offload the Hash operation but using the CPU to calculate the Hash via A53 cores.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 02:09:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1978684#M11362</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-10-22T02:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1978787#M11363</link>
      <description>&lt;P&gt;Thank you.&lt;BR /&gt;Could u please let me know where i can find the hse_interface.h file&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 05:17:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1978787#M11363</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-10-22T05:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1978821#M11364</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234952"&gt;@ashwini2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;The file you mentioned could be found from the interface directory of HSE firmware installation path. you may find it once finish installing the HSE FW package which could be downloaded from your account or the following path:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/app-autopackagemgr/automotive-software-package-manager:AUTO-SW-PACKAGE-MANAGER" target="_blank"&gt;https://www.nxp.com/app-autopackagemgr/automotive-software-package-manager:AUTO-SW-PACKAGE-MANAGER&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope it will help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 06:10:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1978821#M11364</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-10-22T06:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1979098#M11371</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;BR /&gt;I want hse to compute the hash Could you give me a pathway how that could be done?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 09:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1979098#M11371</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-10-22T09:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1979645#M11385</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234952"&gt;@ashwini2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply.&lt;/P&gt;
&lt;P&gt;About your new question, from my experience, as I have listed before, two path that may fulfill your requirements:&lt;/P&gt;
&lt;P&gt;1. If you are willing to develop kernel driver/kernel module, theoretically you may directly use the hash API of HSE driver for your own use, no document nor example code existed, you may have to learn the HSE kernel driver in details and develop your own kernel code to use the Hash APIs from the following:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-auto-linux/linux/blob/release/bsp41.0-6.6.25-rt/drivers/crypto/hse/hse-ahash.c" target="_blank"&gt;https://github.com/nxp-auto-linux/linux/blob/release/bsp41.0-6.6.25-rt/drivers/crypto/hse/hse-ahash.c&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. If you are willing to develop a Linux user space code, you may reference the pkcs11-hse project from the path I shared, combine the chapter 10 of BSP 41.0 UM, your own user application could directly use the common openssl API to finally access the HSE. The advantage of this way is that there are already BSP UM existed, you may learn it and use the openssl application to directly call the existing functions, for them to do the hash by the HSE, but you may have to reference the current openssl application to learn how to integrate it to your own user space application. &lt;/P&gt;
&lt;P&gt;I hope the information above could help on your questions.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 02:10:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1979645#M11385</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-10-23T02:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1981140#M11433</link>
      <description>&lt;P&gt;#include &amp;lt;stdio.h&amp;gt;&lt;BR /&gt;#include &amp;lt;string.h&amp;gt;&lt;BR /&gt;#include &amp;lt;sys/socket.h&amp;gt;&lt;BR /&gt;#include &amp;lt;linux/if_alg.h&amp;gt;&lt;BR /&gt;#include &amp;lt;unistd.h&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int main() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int sockfd, hashfd;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct sockaddr_alg sa = {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .salg_family = AF_ALG,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .salg_type = "hash",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .salg_name = "sha256"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sockfd = socket(AF_ALG, SOCK_SEQPACKET, 0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bind(sockfd, (struct sockaddr *)&amp;amp;sa, sizeof(sa));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hashfd = accept(sockfd, NULL, 0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char *data = "test data";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(hashfd, data, strlen(data));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char hash[32];&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; read(hashfd, hash, 32);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; close(hashfd);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; close(sockfd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Hash: ");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i = 0; i &amp;lt; 32; i++) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("%02x", hash[i]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;The above is the code i have used to compute hashing. But it uses the computer for computing the hash.I want the cryptographic operation to get offloaded to the hse engine how can i do that How could i modify the code to include that?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 10:03:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1981140#M11433</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-10-24T10:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1982567#M11473</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234952"&gt;@ashwini2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for you reply.&lt;/P&gt;
&lt;P&gt;I could understand that you want to develop user space application to calculate hash the would be offloaded to the HSE.&lt;/P&gt;
&lt;P&gt;But since it is a specific request and no example existed, directly supporting to write it is beyond our forum support scope, I do apologize for your inconvenience. Currently:&lt;/P&gt;
&lt;P&gt;1. The Hash computing is supported by HSE.&lt;/P&gt;
&lt;P&gt;2. There is no examples that could direct fulfill your needs, you may have to develop it yourself.&lt;/P&gt;
&lt;P&gt;3. As is shown in Chapter 10 of BSP UM, the PKCS11 and HSE driver are supported, it could be a valuable reference to develop your own user space application, currently, the HSE could be loaded as a openssl engine, the corresponding openssl operations could be done by HSE instead of using the CPU.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 02:32:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1982567#M11473</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-10-28T02:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1987701#M11589</link>
      <description>&lt;P&gt;How could i do the 3 point u mentioned could you please elaborate more ?&lt;BR /&gt;THank you.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 06:35:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1987701#M11589</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-11-05T06:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1987705#M11590</link>
      <description>&lt;P&gt;How do i load the hse as an openssl engine ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 06:37:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1987705#M11590</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-11-05T06:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1988348#M11594</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234952"&gt;@ashwini2024&lt;/a&gt; &lt;/P&gt;
&lt;P&gt;I noticed that you have created another post for this topic, I will update the status there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 01:53:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1988348#M11594</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-11-06T01:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1992006#M11671</link>
      <description>&lt;P&gt;q1)The first option, can u tell me how hse driver is integrated and how can i use it ?How do i enable the driver ?&lt;BR /&gt;q2)To access the headers in the kernel source it is possible only through a kernel driver module is that correct ?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 13:49:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1992006#M11671</guid>
      <dc:creator>ashwini2024</dc:creator>
      <dc:date>2024-11-11T13:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO INTEGRATE AND USE HSE API</title>
      <link>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1992372#M11675</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234952"&gt;@ashwini2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for you reply.&lt;/P&gt;
&lt;P&gt;1. The HSE driver is enabled when builing the BSP following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenyin_h_0-1731378229633.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309880i1DDB1A2C14B1A22F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chenyin_h_0-1731378229633.png" alt="chenyin_h_0-1731378229633.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It is under driver/crypto/hse/, you may read the code for details for how it integrated to the corresponding kernel, there are not detailed document to introduce the source code of it.&lt;/P&gt;
&lt;P&gt;2. I understand that you indeed want to implement a user application taking use of HSE directly, accordng to the BSP UM, it is supported.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenyin_h_1-1731378731751.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309883iC495A1F24E0A1A5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chenyin_h_1-1731378731751.png" alt="chenyin_h_1-1731378731751.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I suggest reference this part to write your own application.&lt;/P&gt;
&lt;P&gt;In order for best tracking the issue, I suggest discussing it in the other thread, sorry for your inconvenience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 02:38:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/HOW-TO-INTEGRATE-AND-USE-HSE-API/m-p/1992372#M11675</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-11-12T02:38:19Z</dc:date>
    </item>
  </channel>
</rss>

