Gratuitous gcry_fast_random_poll

Nikos Mavroyanopoulos nmav at
Wed May 5 22:21:56 CEST 2004

On Wednesday 05 May 2004 21:57, Florian Weimer wrote:

> > This call to fast_random_poll() is there on purpose as the comment
> > describes.  Without that people will very likely forget to add a
> > couple of poll clals and we better make sure that they are at least
> > used from time to time.
> Sorry, those people won't be able to write decent crypto software
> anyway. 8-/ Maybe it's better to check that the appropriate minimum
> number of calls is being made and abort() if necessary.
Well since this function is neither documented nor exported,  you shouldn't
expect anyone to call it. An exported random pool initialization function 
would help here.

Nikos Mavroyanopoulos

More information about the Gcrypt-devel mailing list