random(4) overheads question

2011-09-25 Thread Sandy Harris
I'm working on a demon that collects timer randomness, distills it some, and pushes the results into /dev/random. My code produces the random material in 32-bit chunks. The current version sends it to /dev/random 32 bits at a time, doing a write() and an entropy-update ioctl() for each chunk. Obvi

Re: [PATCH v3 10/17] crypto: Add userspace report for ablkcipher type algorithms

2011-09-25 Thread Steffen Klassert
On Sat, Sep 24, 2011 at 01:21:25PM +1000, Herbert Xu wrote: > > I don't think you should distinguish between BLKCIPHER and ABLKCIPHER. > A good rule of thumb would be if the report data structure is the > same, then the type value should be the same. > Ok, will do that. I'll update the patches a