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


Groups > linux.kernel > #1673354

Re: [PATCH v6 0/2] IV Generation algorithms for dm-crypt

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH v6 0/2] IV Generation algorithms for dm-crypt
Date 2017-06-23 10:20 +0200
Message-ID <tVrYS-8aL-23@gated-at.bofh.it> (permalink)
References <tV2e5-89c-11@gated-at.bofh.it>
Organization Core

Show all headers | View raw


Binoy Jayan <binoy.jayan@linaro.org> wrote:
> ===============================================================================
> dm-crypt optimization for larger block sizes
> ===============================================================================
> 
> Currently, the iv generation algorithms are implemented in dm-crypt.c. The goal
> is to move these algorithms from the dm layer to the kernel crypto layer by
> implementing them as template ciphers so they can be used in relation with
> algorithms like aes, and with multiple modes like cbc, ecb etc. As part of this
> patchset, the iv-generation code is moved from the dm layer to the crypto layer
> and adapt the dm-layer to send a whole 'bio' (as defined in the block layer)
> at a time. Each bio contains the in memory representation of physically
> contiguous disk blocks. Since the bio itself may not be contiguous in main
> memory, the dm layer sets up a chained scatterlist of these blocks split into
> physically contiguous segments in memory so that DMA can be performed.

There is currently a patch-set for fscrypt to add essiv support.  It
would be interesting to know whether your implementation of essiv
can also be used in that patchset.  That would confirm that we're on
the right track.

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

[PATCH v6 0/2] IV Generation algorithms for dm-crypt Binoy Jayan <binoy.jayan@linaro.org> - 2017-06-22 06:50 +0200
  Re: [PATCH v6 0/2] IV Generation algorithms for dm-crypt Herbert Xu <herbert@gondor.apana.org.au> - 2017-06-23 10:20 +0200
    Re: [PATCH v6 0/2] IV Generation algorithms for dm-crypt Eric Biggers <ebiggers3@gmail.com> - 2017-06-23 20:30 +0200

csiph-web