secure memory using in application ?

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

secure memory using in application ?

跳至解决方案
1,606 次查看
allen_kim1
Contributor I

Dear Community 

my customer want use secure memory in application 

Enviroment :

   1 : linux 4.1.15  

   2 : imx6 ultra lite 

i know sm_test.c ( drivers/crypto/caam/sm_test.c ) but that is kernel module 

i want example in user application 

is there any sample source in user application  ?

how can i save key into secure memory on user level application ? 

i red below community answer AF_ALG family

https://community.nxp.com/thread/309499#comment-342822 

is there any simple source based on imx6 ?

but i want saving key in secure memory  on user level application 

 

please help us 

标签 (3)
标记 (2)
0 项奖励
回复
1 解答
1,192 次查看
Yuri
NXP Employee
NXP Employee

Hello

  the only available test / example is  sm_test, which  is provided as Linux BSP test.
Please check  drivers/crypto/caam/sm_test.c in BSP sources.

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,193 次查看
Yuri
NXP Employee
NXP Employee

Hello

  the only available test / example is  sm_test, which  is provided as Linux BSP test.
Please check  drivers/crypto/caam/sm_test.c in BSP sources.

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,192 次查看
allen_kim1
Contributor I

Dear Yuri 

Thansk for reply 

you mean that Should i  make kernel-user interface ( between sm_test module and user application ) ?

Thanks BR

0 项奖励
回复
1,192 次查看
Yuri
NXP Employee
NXP Employee

Hello,

   yes, You are right. Basically CryptoDev/OpenSSL with storage  is expected  

under Linux 4.2.

Regards,

Yuri,

0 项奖励
回复
1,192 次查看
allen_kim1
Contributor I

Dear Yuri

thanks for reply

lately BSP version is linux 4.1.15-2.0.0 but you mention 4.2 ? 

please  could you explain more detail  about linux 4.2 ? 

Thanks BR

0 项奖励
回复
1,192 次查看
Yuri
NXP Employee
NXP Employee

Yes, is not supported yet by NXP.

As for Linux 4.2 - I meant mainline one.

~Yuri.

0 项奖励
回复
1,192 次查看
allen_kim1
Contributor I

Dear Yuri

Thanks for your reply

i got it 

Thanks BR

0 项奖励
回复