All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yaron Sheffer <yaronf@porticor.com>
To: dm-crypt@saout.de
Subject: [dm-crypt] XTS performance
Date: Mon, 30 Apr 2012 15:00:21 +0300	[thread overview]
Message-ID: <4F9E7ED5.4050103@porticor.com> (raw)

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

             reply	other threads:[~2012-04-30 12:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-30 12:00 Yaron Sheffer [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

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=4F9E7ED5.4050103@porticor.com \
    --to=yaronf@porticor.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 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.