Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1271771

Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure support

From Tim Chen <tim.c.chen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure support
Date 2015-11-18 01:40 +0100
Message-ID <qvYX0-3RB-15@gated-at.bofh.it> (permalink)
References <qp3RM-64M-5@gated-at.bofh.it> <qp3RM-64M-11@gated-at.bofh.it> <qvObg-5rX-3@gated-at.bofh.it> <qvXxT-36Y-7@gated-at.bofh.it> <qvYtY-3GN-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2015-11-18 at 08:07 +0800, Herbert Xu wrote:
> On Tue, Nov 17, 2015 at 02:59:29PM -0800, Tim Chen wrote:
> >
> > Herbert, would you prefer me to use ablkcipher scatter walk instead,
> > assuming the overhead of both walk are about the same?
> 
> Well since you are going to potentially sleep in the middle of
> an operation I'd think ablkcipher is required, no?

We're using blkcipher walk in the implementation. 
As long as we use kmap and instead of kmap_atomic,
it allows us to sleep in the middle of the walk.

Tim

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure  support Herbert Xu <herbert@gondor.apana.org.au> - 2015-11-17 14:10 +0100
  Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure  support Tim Chen <tim.c.chen@linux.intel.com> - 2015-11-18 00:10 +0100
    Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure  support Herbert Xu <herbert@gondor.apana.org.au> - 2015-11-18 01:10 +0100
      Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure  support Tim Chen <tim.c.chen@linux.intel.com> - 2015-11-18 01:40 +0100
        Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure  support Herbert Xu <herbert@gondor.apana.org.au> - 2015-11-18 06:10 +0100
          Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure  support Tim Chen <tim.c.chen@linux.intel.com> - 2015-11-18 17:00 +0100
            Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure  support Herbert Xu <herbert@gondor.apana.org.au> - 2015-11-19 01:20 +0100
              Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure  support Tim Chen <tim.c.chen@linux.intel.com> - 2015-11-19 03:40 +0100
                Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure  support Herbert Xu <herbert@gondor.apana.org.au> - 2015-11-19 10:50 +0100

csiph-web