All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maciej Pilichowski <bluedzins@wp.pl>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] How to activate hash module?
Date: Sun, 13 Mar 2011 16:23:19 +0100	[thread overview]
Message-ID: <201103131623.19883.bluedzins@wp.pl> (raw)
In-Reply-To: <20110313105332.GA6745@fancy-poultry.org>

Hello,

  Thank you all for the answers.

On Sunday 13 March 2011 13:00:13 Arno Wagner wrote:

> What is the hash in question? 

Ok, it is ripemd 320. 

> Maybe you should 
> load the module in both versions and then do
> a "cat /proc/crypto".

Just in case, I repeat, that in OS11.1 I don't have to load it to use 
it. It simply works.

I loaded the modules in both cases, it appeared in /proc/crypto. The 
only difference I see is type. For OS11.1 it is listed as digest, for 
11.4 as shash. Sizes are the same.

> What you can try, is to compile your own kernel with
> the hash statically compiled in.

That step I would like to avoid, because I am afraid that if I forget 
I have custom kernel with update I can overwrite it.

> Personally, I gave 
> up on distribution kernels a long time ago, and
> have only rarely had problems. This is with Debian,
> though.

Ironically, yesterday I considered Debian as replacement for Opensuse 
because of this issue (hoping that with Debian most advanced issues 
are solved).

On Sunday 13 March 2011 11:53:32 Heinz Diehl wrote:

> Not quite shure on that one, but as far as I know, newer cryptsetup
> is libgcrypt based, so you'll have to check if your libgcrypt
> implementation has compiled-in support for this particular hash
> algorithm you're trying to use.

I don't know how to check it, but I try to find out. Anyway, I was 
hoping for something opposite -- that architecture is modular, and 
you simply add/activate hash module, not recompile entire library.

On Sunday 13 March 2011 14:47:33 Milan Broz wrote:

> The best is paste error messages (add --debug) so it is clear what
> is the exact problem.

Code 22: Requested LUKS hash ripemd320 is not supported.

Options used -v and --debug.

I use the hash as hash for dmcrypt, --hash ripemd320

> (Better ask on kernel crypto list
> http://vger.kernel.org/vger-lists.html#linux-crypto )

Ok, thank you.


Kind regards,

  parent reply	other threads:[~2011-03-13 15:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-13  9:45 [dm-crypt] How to activate hash module? Maciej Pilichowski
2011-03-13 10:53 ` Heinz Diehl
2011-03-13 13:47   ` Milan Broz
2011-03-13 15:23   ` Maciej Pilichowski [this message]
2011-03-13 18:29     ` Milan Broz
2011-03-13 18:58       ` Maciej Pilichowski
2011-03-13 20:22         ` Milan Broz
2011-03-14 15:54           ` Maciej Pilichowski
2011-03-14 16:32             ` Arno Wagner
2011-03-14 20:01               ` Maciej Pilichowski

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=201103131623.19883.bluedzins@wp.pl \
    --to=bluedzins@wp.pl \
    --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.