CAAM secure storage via user space

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

CAAM secure storage via user space

3,343 次查看
noammoshe
Contributor II

Hi,
I want to use the CAAM secure storage to save data (passwords, keys, ...). I did some reading and I saw in:

      iMX6 (CAAM, TrustZone) Hardware Security Blocks Use. 
      Non Volatile Memory in CAAM (iMX6) 
      CAAM operation failure with secure memory 

that the secure storage access is only via kernel space. How do I get to the secure storage from user space and preform something simple as saving data?

Thanks in advance. 

标签 (2)
标记 (2)
4 回复数

1,746 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  You may try using the CAAM secure storage in user space with the same descriptors as kernel does.

Have a great day,
Yuri

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

1,746 次查看
noammoshe
Contributor II

Can you supply an example? the only examples (or theory) I found was using the CAAM in user space via AF_ALG or cryptodev (ioctl) but in both there isn't an option to access the secure storage.  

0 项奖励
回复

1,746 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  

  sorry - no examples.

Regards,

Yuri.

0 项奖励
回复

1,746 次查看
noammoshe
Contributor II

Can you at least point out to the API?

0 项奖励
回复