how to get keyslog PBKDF settings via libcryptsetup

[email protected] (Ondrej Kozina)
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.