All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] XTS performance
@ 2012-05-01  6:26 Yaron Sheffer
  2012-05-01  9:29 ` Arno Wagner
  0 siblings, 1 reply; 4+ messages in thread
From: Yaron Sheffer @ 2012-05-01  6:26 UTC (permalink / raw)
  To: dm-crypt

Hi,

Looking back at the archives, it appears that aes-xts-plain in dm-crypt
runs at half the speed of aes-cbc-essiv:
http://www.saout.de/pipermail/dm-crypt/2010-November/001348.html. Milan
explained it at the time by XTS doing 2 AES operations for each
plaintext block. But my understanding of XTS is that it is similar to
ESSIV: 1 AES op per 16-byte block, plus 1 op for the sector.

- Did I misread the definition of XTS, and it's really 2 AES ops per
16-byte block?

- Does anybody have more recent performance comparisons, confirming (or
not) the performance difference?

Thanks,

     Yaron

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [dm-crypt] XTS performance
@ 2012-04-30 12:00 Yaron Sheffer
  0 siblings, 0 replies; 4+ messages in thread
From: Yaron Sheffer @ 2012-04-30 12:00 UTC (permalink / raw)
  To: dm-crypt

Hi,

Looking back at the archives, it appears that AES-XTS in dm-crypt runs 
at half the speed of AES-CBC-ESSIV: 
http://www.saout.de/pipermail/dm-crypt/2010-November/001348.html. Milan 
explained it at the time by XTS doing 2 AES operations for each 
plaintext block. But my understanding of XTS is that it is similar to 
ESSIV: 1 AES op per 16-byte block, plus 1 op for the sector.

- Did I misread the definition of XTS, and it's really 2 AES ops per 
16-byte block?

- Does anybody have more recent performance comparisons, confirming (or 
not) the performance difference?

Thanks,

     Yaron

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

end of thread, other threads:[~2012-05-01 12:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-01  6:26 [dm-crypt] XTS performance Yaron Sheffer
2012-05-01  9:29 ` Arno Wagner
2012-05-01 12:35   ` Heinz Diehl
  -- strict thread matches above, loose matches on Subject: below --
2012-04-30 12:00 Yaron Sheffer

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.