s32k1 csec trng prng

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k1 csec trng prng

2,038 Views
AmitoYao
Contributor II

I want to know  how to generate the trng and prng for s32k144.

Their is only one api called CSEC_DRV_GenerateRND in the sdk drivers.

How to generate the trng and prng separately ? Could you give me a code sample? Thank you.

0 Kudos
Reply
3 Replies

2,024 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Amito,

it's not possible to access TRNG and PRNG separately. There's only one command CMD_RND which is used by SDK function CSEC_DRV_GenerateRND. That's all you can use.

Regards,

Lukas

0 Kudos
Reply

2,018 Views
AmitoYao
Contributor II

Hi Lukas

If there is only one command CMD_RND, then how to get  the trng and prng separately?

0 Kudos
Reply

2,003 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

You can get PRNG only. It is not possible to get TRNG.

Regards,

Lukas

0 Kudos
Reply