Re: [Patch V5 1/7] crypto: Multi-buffer encryption infrastructure support

2017-06-23 Thread Herbert Xu
On Thu, Jun 08, 2017 at 12:52:54PM -0700, Megha Dey wrote: > > I will move this code to the mcryptd.c. > > About the naming scheme, could you give me an example where the internal > and external algorithm have the same name? I tried searching but did not > find any. > > When the outer and inner a

Re: [Patch V5 1/7] crypto: Multi-buffer encryption infrastructure support

2017-06-08 Thread Megha Dey
On Mon, 2017-04-24 at 17:00 +0800, Herbert Xu wrote: > On Thu, Apr 20, 2017 at 01:50:34PM -0700, Megha Dey wrote: > > > > +static int simd_skcipher_decrypt_mb(struct skcipher_request *req) > > +{ > > + struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); > > + struct simd_skcipher_ctx_mb

Re: [Patch V5 1/7] crypto: Multi-buffer encryption infrastructure support

2017-04-24 Thread Herbert Xu
On Thu, Apr 20, 2017 at 01:50:34PM -0700, Megha Dey wrote: > > +static int simd_skcipher_decrypt_mb(struct skcipher_request *req) > +{ > + struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); > + struct simd_skcipher_ctx_mb *ctx = crypto_skcipher_ctx(tfm); > + struct skcipher_requ

Re: [Patch V5 1/7] crypto: Multi-buffer encryption infrastructure support

2017-04-20 Thread kbuild test robot
Hi Megha, [auto build test ERROR on next-20170420] [also build test ERROR on v4.11-rc7] [cannot apply to crypto/master sparc-next/master v4.9-rc8 v4.9-rc7 v4.9-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [Patch V5 1/7] crypto: Multi-buffer encryption infrastructure support

2017-04-20 Thread kbuild test robot
Hi Megha, [auto build test ERROR on next-20170420] [also build test ERROR on v4.11-rc7] [cannot apply to crypto/master sparc-next/master v4.9-rc8 v4.9-rc7 v4.9-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

[Patch V5 1/7] crypto: Multi-buffer encryption infrastructure support

2017-04-20 Thread Megha Dey
In this patch, the infrastructure needed to support multibuffer encryption implementation is added: a) Enhance mcryptd daemon to support skcipher requests. b) Add multi-buffer simd skcipher helper which presents the top-level algorithm as an skcipher. b) Update configuration to include multi-