LIBHSE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LIBHSE

1,774件の閲覧回数
ashwini2024
Contributor II

I am using bsp 40. I am getting the following error when i try to encrypt and decrypt data using libhse. Is it because there is a need to explicitly allocate buffers in HSE reserved memory?


ashwini2024_0-1731995073172.png

 

0 件の賞賛
返信
7 返答(返信)

1,703件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @ashwini2024 

Thanks for your reply.

Seems you were working based on the libhse, I've finished the example code for you, and updated it in your case, you may reference it directly.

 

BR

Chenyin

0 件の賞賛
返信

1,720件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @ashwini2024 

You are very welcome.

I found a bug during the test this afternoon, and plan to fix it soon, I could confirm that your case will be updated by tomorrow.

You may check the sample/procedure in your support portal.

Sorry for your inconvenience.

 

BR

Chenyin

0 件の賞賛
返信

1,717件の閲覧回数
ashwini2024
Contributor II

root@s32g399ardb3:/usr/bin# ./hse-encrypt 
[   35.001646] hse-uio 40210000.mu0b: device hse-uio v2.1 open, instances: 1
libhse: i[   35.009096] hse-uio 40210000.mu0b: device hse-uio v2.1 released, instances: 0
nitialized, firmware status 0x0920
libhse: service response 0x33D6D4F1 on channel 1
libhse: read reply failed on channel 1
DEMO: hash request failed: error 14
libhse: closed


I am getting the above error.

0 件の賞賛
返信

1,726件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @ashwini2024 

Sure, I have basically finished the development of it based on the examples of libpkcs, once finished the test, I will update the procedure of building, integrating, excecuting to the support case you created.

I suggest checking the status of your case late today or tomorrow.

 

BR

Chenyin

0 件の賞賛
返信

1,722件の閲覧回数
ashwini2024
Contributor II

Thank you @chenyin_h for your help.

タグ(1)
0 件の賞賛
返信

1,758件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @ashwini2024 

Thanks for the post and sorry for the late reply.

I suggest developing the code based on libpkcs for hash related operation.

And I will update your support case in 1-2 days with examples based on libpkcs. you may check the status there no later than this Thursday.

 

BR

Chenyin

0 件の賞賛
返信

1,756件の閲覧回数
ashwini2024
Contributor II

If it's not too much trouble, could you also kindly share the complete procedure for how the code can be integrated into the system, compiled, and executed?

This would help me better understand the implementation process and ensure I can execute it correctly without missing any steps.

Thank you in advance for your time and support!



0 件の賞賛
返信