Skip to content

random: Get maximum 32B of entropy at once in FIPS Mode

Jakub Jelen requested to merge jjelen/libgcrypt-mirror:getrandom32 into master

The limitation of our current kernel patch guarantees that only 32B of strong random data can be gathered using getrandom().

  • random/rndgetentropy.c (_gcry_rndgetentropy_gather_random): In fips mode, gather max 32 B of strong entroly for initialization.

Signed-off-by: Jakub Jelen jjelen@redhat.com

Merge request reports