Re: cprng_fast implementation benchmarks
Thor Lancelot Simon <[email protected]> Wed, 23 Apr 2014 09:06:12 -0400
| Newsgroups | gmane.os.netbsd.devel.crypto,gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 23, 2014 at 01:16:42PM +0100, Mindaugas Rasiukevicius wrote: > > You mentioned that 4GB of data are generated by requesting 256 bytes. > It would be more interesting to see the throughput of 4 byte requests > i.e. how many cprng_fast32() calls per second can we do? That is how the numbers in the "cpb" column were generated: I modified the kernel code so that after each rekeying, it calls cprng_fast32() 1,000,000 times in a tight loop to generate 4,000,000 bytes. Thor