s32k1 csec trng prng

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

s32k1 csec trng prng

2,042 次查看
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 项奖励
回复
3 回复数

2,028 次查看
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 项奖励
回复

2,022 次查看
AmitoYao
Contributor II

Hi Lukas

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

0 项奖励
回复

2,007 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

Regards,

Lukas

0 项奖励
回复