Cryptographic Acceleration and Assurance Module

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

Cryptographic Acceleration and Assurance Module

ソリューションへジャンプ
2,740件の閲覧回数
ngsari
Contributor II

I like to use CAAM Register interface (IP bus). But there is almost no information in the SECURITY documentation.
(The document is full of how to use those modules but lack of details.)
How can I access those registers with C ? (Or Assembly if I realy have to)
CAAM Status Register
RNG TRNG Status Register
RNG DRNG Status Register

ラベル(5)
1 解決策
1,656件の閲覧回数
matthieugaboria
Contributor II

Hello NG Sari,

Some information about these registers are page 628/629 of the VYBRIDSRM (RNG TRNG Status Register, RNG DRNG Status Register).

The CAAM base address can be found section 2.9 of the same document.

I hope it helps.

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
1,656件の閲覧回数
billpringlemeir
Contributor V

There are also Linux kernel drivers which might also be helpful; it has some sample source.  The same CAAM engine is used on some iMx devices.

1,656件の閲覧回数
jackblather
Senior Contributor I

Bill,

I looked at that link and example source isn't there.

On further research, I understand that the CAAM is accessed via the Linux Crypto drivers. Do you know where I can find examples on how to use this?

Thanks.

0 件の賞賛
返信
1,656件の閲覧回数
billpringlemeir
Contributor V

The link is to a Linux Driver that uses the CAAM.  I don't know what you mean by example.  The CAAM is extremely complex.  The Linux CAAM driver shows how to use the registers (DECOs, Job rings and blobs) to do something.  I referenced it as a working example of how to use the registers; together with the documentation it can be helpful.  The user-space interface will depend on your Linux version.  wikipedia.org, lwn article, and the current Linux crypto api might be useful.  OpenSSL and others may possibly have a configuration to use this.  At least it is possible to implement an OpenSSL crypto interface what would use the CAAM to accelerate things.

0 件の賞賛
返信
1,656件の閲覧回数
ngsari
Contributor II

Thank you Bill. It's very helpfull. That saves me from a lot pain and time :smileyhappy:

0 件の賞賛
返信
1,657件の閲覧回数
matthieugaboria
Contributor II

Hello NG Sari,

Some information about these registers are page 628/629 of the VYBRIDSRM (RNG TRNG Status Register, RNG DRNG Status Register).

The CAAM base address can be found section 2.9 of the same document.

I hope it helps.

0 件の賞賛
返信
1,656件の閲覧回数
ngsari
Contributor II

Thank you so much :smileyhappy:

0 件の賞賛
返信