DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Moji <lordmoji@gmail.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] 1,5 TB partition: use cbc-essiv or xts-plain?
Date: Tue, 4 Aug 2009 16:55:09 +0300	[thread overview]
Message-ID: <20090804165509.6fa226ec@gmail.com> (raw)
In-Reply-To: <of8zlaf3e13.fsf@stahl.absint.com>

On Tue, 04 Aug 2009 15:27:20 +0200
Henrik Theiling <theiling@absint.com> wrote:

> >From the wording of the Wikipedia article, however, it is not  
> completely clear to me how serious the watermarking attack on CBC is.
> The IV function is known, so can two blocks be easily constructed in
> such a way that their cbc-essiv:sha256 encryption (with whatever main
> algorithm) is identical?  You'd need to know the sector for that plus
> break SHA256, because ESSIV uses the hash of the encryption key plus
> the sector number to generate the IV, right?  If I understood that
> correctly, then I can safely get back to relaxing, enjoying the summer
> and drinking beer instead of thinking about this any longer.

From Clemens Fruhwirth:
"ESSIV
E(Sector|Salt) IV, short ESSIV, derives the IV from key material via encryption of the sector number with a hashed version of the key material, the salt. ESSIV does not specify a particular hash algorithm, but the digest size of the hash must be an accepted key size for the block cipher in use. As the IV depends on a none public piece of information, the key, the sequence of IV is not known, and the attacks based on this can't be launched."

This covers watermarks, I hope this provides for drinking much beer.

-MJ

  reply	other threads:[~2009-08-04 13:55 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-03 12:53 [dm-crypt] 1,5 TB partition: use cbc-essiv or xts-plain? Henrik Theiling
2009-08-03 14:34 ` Heinz Diehl
2009-08-03 16:16   ` Henrik Theiling
2009-08-03 17:34     ` Heinz Diehl
2009-08-03 17:37       ` Heinz Diehl
2013-01-03  9:50       ` Peter Pfundstein
2009-08-03 14:43 ` [dm-crypt] E3E-2A1 - 1, 5 " Heinz Diehl
2009-08-03 20:48 ` [dm-crypt] 1,5 " Moji
2009-08-04  7:42   ` Milan Broz
2009-08-04 13:01   ` Henrik Theiling
2009-08-03 21:46 ` Moji
2009-08-04 13:27   ` Henrik Theiling
2009-08-04 13:55     ` Moji [this message]
2009-08-06 11:02   ` Salatiel Filho
2009-08-06 14:32     ` Henrik Theiling
2009-08-06 15:24       ` Heinz Diehl
2009-08-06 16:00         ` Salatiel Filho
2009-08-06 16:02           ` Salatiel Filho
2009-08-07 12:16             ` Salatiel Filho
2009-08-07 12:20               ` Salatiel Filho
2009-08-07 16:00                 ` Salatiel Filho
2009-08-08  8:27                   ` Heinz Diehl
2009-08-08 10:03                     ` Salatiel Filho
2009-08-06 15:43       ` Sam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090804165509.6fa226ec@gmail.com \
    --to=lordmoji@gmail.com \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox