All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Efficacy of xts over 1TB
@ 2010-07-22 14:57 David Santamaría Rogado
  2010-07-25 10:34 ` Arno Wagner
                   ` (2 more replies)
  0 siblings, 3 replies; 73+ messages in thread
From: David Santamaría Rogado @ 2010-07-22 14:57 UTC (permalink / raw)
  To: dm-crypt

Hello,

Jonas Meurer from Debian Cryptsetup Team has send me this e-mail
address (dm-crypt@saout.de) as this is the best place for my question:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494584#15, says about
a XTS detriment on security on large filesystems.

But in the wikipedia's discussion:
http://en.wikipedia.org/wiki/Talk:Disk_encryption_theory#Issues_with_XTS

"Issues with XTS

There is also an issue about the size of the filesystem encrypted with
the support of XTS. This is discussed here:
http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/2008-September/002265.html
—Preceding unsigned comment added by 62.2.182.207 (talk) 19:40, 1
April 2010 (UTC)

This is a misconception, since it does not apply to large filesystems
(containing many data units/sectors, which are encrypted totally
indepently), but to very large single data units, i.e.: The size of
any single data unit should not exceed 270 bytes. The data unit size
for a typical filesystem is between 512 and 64536 bytes only
(29/216).93.205.111.251 (talk) 15:37, 2 April 2010 (UTC)"


So, XTS has collision troubles with >500 GB or >1TB of data, or, it's a
misconception and there isn't any issue about this on large
filesystems.

Thanks in advice.

^ permalink raw reply	[flat|nested] 73+ messages in thread
* Re: [dm-crypt] Efficacy of xts over 1TB
@ 2010-07-25 22:25 Ietf Nist
  2010-07-25 22:41 ` Christoph Anton Mitterer
  0 siblings, 1 reply; 73+ messages in thread
From: Ietf Nist @ 2010-07-25 22:25 UTC (permalink / raw)
  To: dm-crypt; +Cc: arno, christoph.anton.mitterer, howl.nsp, mbroz

Hello,

On 25/07/2010 Milan Broz wrote:
> On 07/25/2010 05:28 PM, Arno Wagner wrote:
> > On Sun, Jul 25, 2010 at 02:25:32PM +0200, Milan Broz wrote:
> 
> >> Seriously, XTS-AES is FIPS140-2 approved and I see no problem to use it.
> > 
> > Well, I basically do not see the algorithm. Maybe searching for 15 
> > Minutes was not enough, but when something is hidden in Crypto,
> > I always become very suspicuous.
> 
> Draft is here (referenced from Linux kernel crypt XTS implementation)
> http://grouper.ieee.org/groups/1619/email/pdf00086.pdf 

In debian bugreport #494584, the IETF NIST submission for cipher XTS was
mentioned and linked. IETF had it online publically available until the
3. of September 2008. I fetched this document by then, and uploaded it
to several free file hosters:

http://www.filefactory.com/file/b2b8488/n/1619-2007-NIST-Submission.pdf
http://ul.to/uzyryq
http://speedshare.org/download.php?id=EBD56BF911
http://www.mediafire.com/?asf5nocdx75svsa
http://rapidshare.com/files/409054345/1619-2007-NIST-Submission.pdf
http://collectr.in/?d=16631C421

Be aware though that it's prohibited to copy and/or redistribute this
document.

Have fun.

PS: don't reply to sender address, it's a fake account. instead you
should reply to the mailing list directly: dm-crypt@saout.de



      

^ permalink raw reply	[flat|nested] 73+ messages in thread
* Re: [dm-crypt] Efficacy of xts over 1TB
@ 2010-07-26 21:07 Arno Wagner
  2010-07-26 21:31 ` Christoph Anton Mitterer
  2010-07-26 21:42 ` Christoph Anton Mitterer
  0 siblings, 2 replies; 73+ messages in thread
From: Arno Wagner @ 2010-07-26 21:07 UTC (permalink / raw)
  To: dm-crypt

On Mon, Jul 26, 2010 at 10:38:06PM +0200, Christoph Anton Mitterer wrote:
> On Mon, 2010-07-26 at 02:14 +0200, Milan Broz wrote:
> > Imagine that someone today has LUKS device of >2TB and data on it. Switch
> > to full 64 bit "plain" IV will change IV for all sectors above 2TB limit.
> > I think users prefer read data from there instead of random noise:-)
> Are you really sure?! ;)  ... would be a nice /dev/random alternative or
> so ^^
> 
> 
> > So question is if XTS is ok for such large drives - the 1TB mentioned limit
> > elsewhere is possible misinterpretation (block size/device size confusion?).
> > 
> > (... real answer must come from an expert in cryptography based on proper analysis.)
> So you guess the the 1TB limit could be actually a "don't have blocks
> larger than 1TB" limit?!

Actually, it is the "plain" implementation that causes a 2TB limit 
because of repeating IVs. XTS has a block size limit, at 2^20 bits, 
(I think) but it is a recommended limit. As 512 bytes we are well 
below that :-)
 
> > Anyway, distro maintainer can set default using configure switch already
> > --with-luks1-mode=xts (see also other switches).
> > 
> > So if you want to switch default in Debian, no problem:-)
> I seem to have rather bad luck in moving cryptsetup things at distro
> level... ;)

Well...

Arno

-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

^ permalink raw reply	[flat|nested] 73+ messages in thread

end of thread, other threads:[~2010-08-25  9:36 UTC | newest]

Thread overview: 73+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 14:57 [dm-crypt] Efficacy of xts over 1TB David Santamaría Rogado
2010-07-25 10:34 ` Arno Wagner
2010-07-25 11:18   ` Christoph Anton Mitterer
2010-07-25 12:29     ` Heinz Diehl
2010-07-25 12:25   ` Milan Broz
2010-07-25 13:14     ` Christoph Anton Mitterer
2010-07-25 13:52       ` Milan Broz
2010-07-25 22:37         ` Christoph Anton Mitterer
2010-07-26  0:14           ` Milan Broz
2010-07-26 20:38             ` Christoph Anton Mitterer
2010-07-27  8:46               ` [dm-crypt] Using plain64/plain IV (initialisation vector) in dm-crypt Milan Broz
2010-07-27 10:47                 ` Arno Wagner
2010-07-27 14:17                   ` Christoph Anton Mitterer
2010-07-27 16:08                     ` Arno Wagner
2010-07-27 14:15                 ` Christoph Anton Mitterer
2010-07-27 15:45                   ` Mario 'BitKoenig' Holbe
2010-07-27 15:55                     ` Milan Broz
2010-07-27 18:59                       ` Christoph Anton Mitterer
2010-07-27 19:37                         ` Arno Wagner
2010-07-27 18:58                     ` Christoph Anton Mitterer
2010-07-27 19:35                       ` Mario 'BitKoenig' Holbe
2010-07-28  8:42                     ` Milan Broz
2010-08-20 21:11                       ` [dm-crypt] XTS cipher mode limitations Christoph Anton Mitterer
2010-08-21  0:22                         ` Arno Wagner
2010-08-22 12:50                           ` [dm-crypt] XTS cipher mode limitations (FAQ additions) Christoph Anton Mitterer
2010-08-23  0:46                             ` Arno Wagner
2010-08-25  9:36                               ` Christoph Anton Mitterer
2010-08-22 12:56                           ` [dm-crypt] tool to account the written number of bytes to a block device (was: XTS cipher mode limitations) Christoph Anton Mitterer
2010-08-22 16:01                             ` Arno Wagner
2010-08-22 21:57                               ` Christoph Anton Mitterer
2010-08-23  7:14                                 ` [dm-crypt] tool to account the written number of bytes to a block device Milan Broz
2010-08-25  9:27                                   ` Christoph Anton Mitterer
2010-08-24 16:19                           ` [dm-crypt] XTS cipher mode limitations Ramius
2010-07-26  8:53           ` [dm-crypt] Efficacy of xts over 1TB Arno Wagner
2010-07-26 20:47             ` Christoph Anton Mitterer
2010-07-26 21:01               ` Arno Wagner
2010-07-26 21:28                 ` Christoph Anton Mitterer
2010-07-26 21:35                   ` Arno Wagner
2010-07-25 22:52         ` Christoph Anton Mitterer
2010-07-26  9:42           ` Mario 'BitKoenig' Holbe
2010-07-26 18:09             ` Arno Wagner
2010-07-27 18:16               ` [dm-crypt] Including the FAQ in the tarball? Christoph Anton Mitterer
2010-07-27 18:23                 ` Arno Wagner
2010-07-29  8:17                 ` Heinz Diehl
2010-07-25 15:32       ` [dm-crypt] Efficacy of xts over 1TB Arno Wagner
2010-07-25 22:48         ` Christoph Anton Mitterer
2010-07-25 23:42           ` Milan Broz
2010-07-26 18:35             ` Christoph Anton Mitterer
2010-07-25 15:28     ` Arno Wagner
2010-07-25 18:11       ` Milan Broz
2010-07-26  9:04   ` Mario 'BitKoenig' Holbe
2010-07-27 18:21     ` Christoph Anton Mitterer
2010-07-27 21:02       ` Mario 'BitKoenig' Holbe
2010-07-26  9:17 ` Mario 'BitKoenig' Holbe
2010-07-27 18:42 ` David Santamaría Rogado
2010-07-25 22:25 Ietf Nist
2010-07-25 22:41 ` Christoph Anton Mitterer
2010-07-26 21:07 Arno Wagner
2010-07-26 21:31 ` Christoph Anton Mitterer
2010-07-26 21:45   ` Arno Wagner
2010-07-26 21:42 ` Christoph Anton Mitterer
2010-07-26 22:55   ` Arno Wagner
2010-07-26 23:42   ` Mario 'BitKoenig' Holbe
2010-07-27 10:21     ` Arno Wagner
2010-08-15 17:26     ` Uwe Menges
2010-08-15 22:10       ` Arno Wagner
2010-08-16 11:44         ` Mario 'BitKoenig' Holbe
2010-08-16 12:39           ` Arno Wagner
2010-08-16 12:55         ` octane indice
2010-08-16 14:21           ` Arno Wagner
2010-08-21 20:45             ` Christoph Anton Mitterer
2010-08-21 23:14               ` Arno Wagner
2010-08-22  0:46                 ` Christoph Anton Mitterer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.