CAAM secure storage via user space

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAAM secure storage via user space

2,914件の閲覧回数
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,317件の閲覧回数
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,317件の閲覧回数
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,317件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  

  sorry - no examples.

Regards,

Yuri.

0 件の賞賛

1,317件の閲覧回数
noammoshe
Contributor II

Can you at least point out to the API?

0 件の賞賛