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

From: Herbert Xu
Date: Tue Nov 18 2014 - 09:26:53 EST

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 random number generator user
> space interface, this function callback invocation is made optional.
> Signed-off-by: Stephan Mueller <smueller@xxxxxxxxxx>

Did you actually try this? AFAICS setkey is already optional.

Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at