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
解決済! 解決策の投稿を見る。
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
Dear Yuri
Thansk for reply
you mean that Should i make kernel-user interface ( between sm_test module and user application ) ?
Thanks BR
Hello,
yes, You are right. Basically CryptoDev/OpenSSL with storage is expected
under Linux 4.2.
Regards,
Yuri,
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
Yes, is not supported yet by NXP.
As for Linux 4.2 - I meant mainline one.
~Yuri.
Dear Yuri
Thanks for your reply
i got it
Thanks BR