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


Groups > linux.kernel > #1381376

Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework
Date 2016-04-18 10:40 +0200
Message-ID <rpcSS-2jV-19@gated-at.bofh.it> (permalink)
References (5 earlier) <rpcga-1JC-15@gated-at.bofh.it> <rpcpQ-26F-19@gated-at.bofh.it> <rpczw-2aB-13@gated-at.bofh.it> <rpcJb-2fT-1@gated-at.bofh.it> <rpcJc-2fT-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Apr 18, 2016 at 04:28:46PM +0800, Baolin Wang wrote:
> 
> What I meaning is if the xts engine can support bulk block, then the
> engine driver can select bulk mode to do encryption, but if their xts
> engine can not support bulk mode, which depends on hardware design,
> the engine driver can not select bulk mode. So the dm-crypt can not
> know what will be selected by the engine driver, it can not send one
> bulk block each time.

Why can't the xts code just break it up if it can't handle it?

You want to postpone splitting as much as possible.  Even if the
underlying xts code couldn't handle it, it would still make sense
for the crypto API to see the request in one piece.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

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


Thread

Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Baolin Wang <baolin.wang@linaro.org> - 2016-04-18 07:40 +0200
  Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-18 07:50 +0200
    Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Baolin Wang <baolin.wang@linaro.org> - 2016-04-18 08:10 +0200
      Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-18 09:10 +0200
        Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-18 09:30 +0200
          Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Baolin Wang <baolin.wang@linaro.org> - 2016-04-18 10:00 +0200
            Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-18 10:10 +0200
              Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Baolin Wang <baolin.wang@linaro.org> - 2016-04-18 10:20 +0200
                Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-18 10:30 +0200
                Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Baolin Wang <baolin.wang@linaro.org> - 2016-04-18 10:30 +0200
                Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-18 10:40 +0200
                Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Baolin Wang <baolin.wang@linaro.org> - 2016-04-18 10:50 +0200
                Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-18 10:50 +0200
                Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Baolin Wang <baolin.wang@linaro.org> - 2016-04-18 11:00 +0200
        Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Baolin Wang <baolin.wang@linaro.org> - 2016-04-18 09:30 +0200
  Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Mike Snitzer <snitzer@redhat.com> - 2016-04-18 15:40 +0200
    Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Milan Broz <mbroz@redhat.com> - 2016-04-18 23:30 +0200

csiph-web