force to use /dev/random for openssl fips module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't know how critical is the DEVRANDOM for openssl-fips, in e_os.h I 
saw this:
----
#define DEVRANDOM "/dev/urandom","/dev/random","/dev/srandom"
----
we have a hardware RNG that is feeding /dev/random via:
----
/sbin/rngd -r /dev/hwrng -W 4000
----
so the /dev/random will never block, I thus change e_os.h to force usage 
of /dev/random(per our fips code reviewer's request, who thinks I need 
change that for fips):
----
#define DEVRANDOM "/dev/random"
----
this looks fine, however I don't know if it's really the right thing to 
do, after this change my system starts to have issues(silent reboot), 
changing this line back everything runs normally.

any help is appreciated.

xxiao



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux