All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinz Diehl <htd@fancy-poultry.org>
To: dm-crypt@saout.de
Subject: [dm-crypt] SHAx and LUKS/cryptsetup
Date: Sun, 9 Mar 2014 18:42:47 +0100	[thread overview]
Message-ID: <20140309174247.GA1752@fancy-poultry.org> (raw)

Hi,

while experimenting with LUKS/dmcrypt, I prepared a partition
using "-h ripemd160 -c aes-xts-plain64". LuksDump shows:

Version:       	    1
Cipher name:   	    aes
Cipher mode:   	    xts-plain64
Hash spec:     	    ripemd160

However, lsmod shows that both sha1_generic and sha1_ssse3 modules are
loaded. So I did a reboot without touching the encrypted device, and
there was no SHAx module loaded. After accessing the encrypted drive
it was, hence this is clearly the cause that these modules get loaded.

My question: why are there any SHA1 modules loaded when then encrypted
drive is NOT using it?

             reply	other threads:[~2014-03-09 17:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09 17:42 Heinz Diehl [this message]
2014-03-09 18:01 ` [dm-crypt] SHAx and LUKS/cryptsetup Milan Broz
2014-03-09 18:32   ` Heinz Diehl
2014-03-09 19:53     ` Milan Broz
2014-03-09 20:15       ` Arno Wagner

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=20140309174247.GA1752@fancy-poultry.org \
    --to=htd@fancy-poultry.org \
    --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.