>On 17/07/14 04:26, Bob Beck wrote:
>> Steve, sorry, but GNU/kFreeBSD is not going to happen right now. We
>> are too busy with other things.
>
>I understand, actually I wasn't asking for that.  I think having lots of
>platform-specific implementations would be unclean, I was only hoping
>the existing getentropy_linux could become more generic so that it works
>on unthought-of platforms.

Hang on, please don't make getentropy_linux.c more generic.  It is already
more complex than it should be.

I recommend you cut bits from all of the versions you see, and create a
new file for your system; you will be able to diff the results to see if you
are on the right track.

Then be sure to instrument the code to do some basic analysis of the hash
input in the fallback function, and think about the methodology.  Once you
get closer and show me your candidate source file, I can send you a piece
of code that will be helpful, and some advice for adding more fallback
sources.

>But let me worry about porting to GNU/kFreeBSD.  The rest of LibreSSL
>code compiled flawlessly so I already had it up and running.  If I find
>a neat, unobtrusive way to do this I'll send patches for consideration.

The process is:

        1. POSIX / ANSI first, with OpenBSD used as a baseline to avoid
           walking into fanatical standards following which will (ironically)
           hurt future portability
        2. Compatibility with a narrow mix of common platforms where we
           hope to find more exceedingly skilled people who will help
        3. Then we'll see.

Reply via email to