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