Key Generation

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

Key Generation

815 Views
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.

Tags (2)
0 Kudos
2 Replies

507 Views
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 Kudos

507 Views
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 Kudos