cprng_fast and interrupts [was Re: Patch: cprng_fast performance - please review.]

2014-04-22 Thread Taylor R Campbell
Date: Fri, 18 Apr 2014 21:50:46 -0400 From: Thor Lancelot Simon t...@panix.com Are there actually any callers of cprng_fast at IPL_HIGH? Are there actually any legitimate random decisions to be made at IPL_HIGH? I'm sceptical. What do you get if you cross an elephant and a

Re: Towards design criteria for cprng_fast()

2014-04-22 Thread Taylor R Campbell
Date: Fri, 18 Apr 2014 16:12:32 -0400 From: Thor Lancelot Simon t...@panix.com With those observations in mind, I offer these design criteria for cprng_fast(): Strength criterion: At the time of the selection of an algorithm for

Re: cprng_fast implementation benchmarks

2014-04-22 Thread Taylor R Campbell
Date: Sun, 20 Apr 2014 03:18:03 -0400 From: Thor Lancelot Simon t...@panix.com The following tests were run: 1) Cycles-per-byte, 32 bit request: at initial keying of the generator and each automatic rekeying. 2)