Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. dm-crypt is a
transparent disk encryption subsystem in Linux kernel versions 2.6 and
later and in DragonFly BSD. It is part of the device mapper
infrastructure, and uses cryptographic routines from the kernel's Crypto
API. Unlike its predecessor cryptoloop, dm-crypt was designed to support
advanced modes of operation, such as XTS, LRW and ESSIV, in order to
avoid watermarking attacks. In addition to that, dm-crypt also addresses
some reliability problems of cryptoloop. dm-crypt is implemented as a
device mapper target and may be stacked on top of other device mapper
transformations. It can thus encrypt whole disks, partitions, software
RAID volumes, logical volumes, as well as files. It appears as a block
device, which can be used to back file systems, swap or an LVM physical
volume.