LIBHSE

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LIBHSE

1,777 次查看
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,706 次查看
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,723 次查看
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,720 次查看
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,729 次查看
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,725 次查看
ashwini2024
Contributor II

Thank you @chenyin_h for your help.

标记 (1)
0 项奖励
回复

1,761 次查看
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,759 次查看
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 项奖励
回复