From: Ondrej Kozina <okozina@redhat.com>
To: dm-crypt <dm-crypt@saout.de>
Cc: Jonas Meurer <jonas@freesources.org>
Subject: Re: [dm-crypt] how to get keyslog PBKDF settings via libcryptsetup
Date: Wed, 29 Jan 2020 11:36:54 +0100 [thread overview]
Message-ID: <17b0ed3e-e587-1214-d2b1-1843356b512a@redhat.com> (raw)
In-Reply-To: <9c428b57-b3e7-38e1-d963-4596e46f69ea@freesources.org>
Hi,
On 1/28/20 3:51 PM, Jonas Meurer wrote:
> if (crypt_keyslot_get_pbkdf(cd, ki, &pbkdf_ki)) {
> printf(" max_memory_kb: %d\n", pbkdf_ki.max_memory_kb);
> } else {
> warn("No PBKDF for ks %d (device %s)", j, devices[i]);
> }
Probably, you've just switched the condition on
crypt_keyslot_get_pbkdf(). It returns 0 on success and negative value
otherwise.
Regards O.
next prev parent reply other threads:[~2020-01-29 10:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-28 14:51 [dm-crypt] how to get keyslog PBKDF settings via libcryptsetup Jonas Meurer
2020-01-29 10:23 ` Ondrej Kozina
2020-01-29 14:14 ` Jonas Meurer
2020-01-29 10:32 ` Ondrej Kozina
2020-01-29 10:36 ` Ondrej Kozina [this message]
2020-01-30 4:38 ` [dm-crypt] Superblock size calculation EXTERNAL D Sharmila (Iwave, RBEI/PAC-PF)
2020-01-31 13:52 ` [dm-crypt] how to get keyslog PBKDF settings via libcryptsetup Ondrej Kozina
2020-01-31 13:55 ` Jonas Meurer
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=17b0ed3e-e587-1214-d2b1-1843356b512a@redhat.com \
--to=okozina@redhat.com \
--cc=dm-crypt@saout.de \
--cc=jonas@freesources.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox