Re: [PATCH v6 3/4] crypto: AF_ALG: add random number generator support

2014-12-29 Thread Herbert Xu
On Thu, Dec 25, 2014 at 11:00:06PM +0100, Stephan Mueller wrote: > This patch adds the random number generator support for AF_ALG. > > A random number generator's purpose is to generate data without > requiring the caller to provide any data. Therefore, the AF_ALG > interface handler for RNGs only

[PATCH v6 3/4] crypto: AF_ALG: add random number generator support

2014-12-25 Thread Stephan Mueller
This patch adds the random number generator support for AF_ALG. A random number generator's purpose is to generate data without requiring the caller to provide any data. Therefore, the AF_ALG interface handler for RNGs only implements a callback handler for recvmsg. The following parameters provi