Key Generation

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

Key Generation

1,649 次查看
apoorvabhatia
Contributor III

Hi,

I am working on iMX6 and have written the code to generate the random numbers. Now, I need to generate the keys and store them (but not perform any encryption yet). Like for Random Number Generation we have, we had RNG. Do we have a similar thing for generation of keys? (i.e. like I know the keys are generated when encryption is being performed using any of the algorithms. But is it possible to only generate a key without using any encryption algorithm?)
I hope my query is clear. :smileyhappy:

Thanks.

标记 (2)
0 项奖励
回复
2 回复数

1,341 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Apoorva

I think one can look at SDK (caam_test.c)

i.MX 6Series Platform SDK : Bare-metal SDK

also i.MX_6_Linux_Reference_Manual.pdf sect.51.5 API Interface Level

from L3.0.35_4.1.0_LINUX_DOCS

gives option with usage caamrng module and /dev/hw_random

Best regards

igor

0 项奖励
回复

1,341 次查看
apoorvabhatia
Contributor III

Basically, does key derivation function (KDF) which will derive the key from the Master key is provided by CAAM or do we have to write it at software level?

0 项奖励
回复