All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: Stephan Giehlow <stephan.giehlow@openlimit.com>, dm-crypt@saout.de
Subject: Re: [dm-crypt] question to crypt_format function
Date: Wed, 21 Oct 2015 11:46:38 +0200	[thread overview]
Message-ID: <56275EFE.4030301@gmail.com> (raw)
In-Reply-To: <005801d10be1$9fc107f0$df4317d0$@openlimit.com>

On 10/21/2015 11:19 AM, Stephan Giehlow wrote:
> Hi,
> 
> thanks for the fast answer. The cryptsetup binary itself works on the arm
> device. I added debug logging to my source. When I perform the
> crypt_format function I can see the Log "#Crypto backend () initialized".
> On my developer virtual machine are more information - like "#Crypto
> backen (Linux 3.7.10-1.32-desktop kernel CryptoAPI) initialized".
> 
> Is there any missing additional call to initialize any crypto backend?

No, it should be automatic. (The example works as it is in sources.)
So it depends what crypto backend libcryptsetup was compiled for (empty string
in message is definitely wrong), you apparently
use non-standard configuration (kernel crypto API is not default backend).

Anyway, I cannot say more without reading logs and strace.

Milan

      reply	other threads:[~2015-10-21  9:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 14:27 [dm-crypt] question to crypt_format function Stephan Giehlow
2015-10-20 15:30 ` Arno Wagner
2015-10-20 18:23 ` Milan Broz
2015-10-21  9:19   ` Stephan Giehlow
2015-10-21  9:46     ` Milan Broz [this message]

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=56275EFE.4030301@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=stephan.giehlow@openlimit.com \
    /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.