Re: how to get keyslog PBKDF settings via libcryptsetup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
https://www.saout.de/mailman/listinfo/dm-crypt



[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux