On 24/03/2021 11:42, Matthias Schwartz wrote: > Hello, > > I didn't found compatiblity information in the FAQ: > > Questions: > - 32-bit system and 64-bit systems compatible? > - little endian and big endian systems compatible? > > I like to do a plain encryption of a SD-Card partition but it seems that > an encryption created on a 64 bit system can't be mounted on a 32 bit > system. > > Should this work? Everything should work, it is platform independent. The only exception would be 32bit system compiled without 64bit sectors compatibility, there a device size is limited (but that is not limitation of dmcrypt but the whole system, it applies to fs etc). But better please use LUKS for key management. m. > On 64 bit system: > cryptsetup --cipher=aes-cbs-essiv:sha256 --hash riepmd160 open > --type=plain /dev/sdb1 key > mkfs /dev/mapper/key > > On 32 bit system > cryptsetup --cipher=aes-cbs-essiv:sha256 --hash riepmd160 open > --type=plain /dev/sdb1 key > mount /dev/mapper/key /mnt > > > Best Matthias > > _______________________________________________ dm-crypt mailing list -- dm-crypt@xxxxxxxx To unsubscribe send an email to dm-crypt-leave@xxxxxxxx