Re: [PATCH v2 06/10] crypto: AF_ALG: make setkey optional

2014-11-18 Thread Stephan Mueller
Am Dienstag, 18. November 2014, 22:10:13 schrieb Herbert Xu: Hi Herbert, > On Sun, Nov 16, 2014 at 03:26:58AM +0100, Stephan Mueller wrote: > > The current AF_ALG implementation requires that a userspace interface > > implementation must provide a callback for setkey. Such a call is not > > appli

Re: [PATCH v2 06/10] crypto: AF_ALG: make setkey optional

2014-11-18 Thread Herbert Xu
On Sun, Nov 16, 2014 at 03:26:58AM +0100, Stephan Mueller wrote: > The current AF_ALG implementation requires that a userspace interface > implementation must provide a callback for setkey. Such a call is not > appliable to random number generators. > > To prepare AF_ALG for the addition of a rand

[PATCH v2 06/10] crypto: AF_ALG: make setkey optional

2014-11-15 Thread Stephan Mueller
The current AF_ALG implementation requires that a userspace interface implementation must provide a callback for setkey. Such a call is not appliable to random number generators. To prepare AF_ALG for the addition of a random number generator user space interface, this function callback invocation