SAHARA PRNG

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

SAHARA PRNG

1,415件の閲覧回数
vbhat
Contributor I


Hi,

I'm trying to generate some random numbers using the SAHARA lite on iMX51. When I try to generate the random number, there is an error in the ERROR STATUS register with 'error source' set to 3. (invalid descriptor pointer / length).

The descriptor which I load looks like this :

Header --> Desc #18

Len1  -> Number of random bytes needed

Ptr1 --> Pointer to link node

Len2 --> 0

Ptr2  --> NULL

Next --> NULL.

Link Node :

len --> num of bytes needed

ptr --> pointer to the data buffer

next --> NULL

Is the descriptor format correct? There's no example in the security manual.

Thanks

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

1,243件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  You may look at NXP Linux BSP, using it as an example.

In particular, please take a look at Chapter 23 [Symmetric/Asymmetric
Hashing and Random Accelerator (Sahara) Drivers] of "mx51_linux.pdf",

which describes main features of the driver and its sources.

http://www.nxp.com/webapp/Download?colCode=IMX51_ER1011_LINUXDOCS_BUNDLE&Parent_nodeId=1276656133953...

Summary page :

i.MX51 Software & Development Tool Resources|NXP

Have a great day,
Yuri

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

0 件の賞賛
返信