GELI encryption key generation

reenigne

New Member

Reaction score: 1
Messages: 2

I have been digging around the GELI source looking for where the encryption key is generated when 'geli init' is called. For 'geli onetime' I see that arc4rand() is used to generate the data encryption key but I can't find anything for the initialization.

Can anyone point me in the right direction of where to look?
 
OP
OP
R

reenigne

New Member

Reaction score: 1
Messages: 2

Found it

I found it. It also uses arc4rand in the eli_init() function of /src/sbin/geom/class/eli/geom_eli.c
 
Top