On Sun, Jun 25, 2017 at 05:12:13PM +0200, Stephan Müller wrote: > Hi Herbert, > > Changes v11: > - algif_skcipher: remove len < ctx->used in recvmsg as requested by Herbert > and verified by the latest test code in libkcapi. > - algif_skcipher/algif_aead: simplify _recvmsg error code path > > With the changes, you will see a lot of code duplication now > as I deliberately tried to use the same struct and variable names, > the same function names and even the same oder of functions. > If you agree to this patch, I volunteer to provide a followup > patch that will extract the code duplication into common > functions. All patches applied. Yes please post follow-up patches to clean up as necessary. Thanks! -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt