secure memory using in application ?

cancel
Showing results for 
Search instead for 
Did you mean: 

secure memory using in application ?

Jump to solution
490 Views
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 

Labels (3)
Tags (2)
0 Kudos
1 Solution
76 Views
Yuri
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
6 Replies
77 Views
Yuri
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
76 Views
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 Kudos
76 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

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

under Linux 4.2.

Regards,

Yuri,

0 Kudos
76 Views
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 Kudos
76 Views
Yuri
NXP TechSupport
NXP TechSupport

Yes, is not supported yet by NXP.

As for Linux 4.2 - I meant mainline one.

~Yuri.

0 Kudos
76 Views
allen_kim1
Contributor I

Dear Yuri

Thanks for your reply

i got it 

Thanks BR

0 Kudos