On 10/20/2015 04:27 PM, Stephan Giehlow wrote: > we are using libcryptsetup to generate a luks container on an arm > device. The developed code comes from your example > (https://gitlab.com/cryptsetup/cryptsetup/wikis/API/crypt_luks_usage_8c-example.html). > But we have one problem: When running the code on the device, the > crypt_format function will ends with the error “Cannot initialize > crypto backend”. Do you have any tip to solve the error? Something is probably misconfigured on your system. If cryptsetup binary itself works, try to add debug info to your program: crypt_set_debug_level(CRYPT_DEBUG_ALL); and also try to strace it (do not use valuable password though:) If it there is still not useful explanation in log, please send the output of these logs. Thanks, Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt