Linux.com: Encrypting Partitions Using dm-crypt and the 2.6 Series Kernel
Jun 09, 2004, 07:00 (0 Talkback[s])
(Other stories by Mike Peters)
"Back in February of this year, Andrew Morten announced that
cryptoloop was being deprecated in favour of dm-crypt. Although the
initial announcement caused some consternation, dm-crypt was merged
into the stable tree for the 2.6.4 kernel. This article looks at
how to set up an encrypted partition using dm-crypt.
"dm-crypt provides a crypto layer for Device-mapper. A
Device-mapper driver allows you to define new partitions or logical
volumes by specifying ranges of sectors on existing block devices.
The ranges of sectors to be used by these partitions is mapped to
targets according to a mapping table. dm-crypt provides just such a
target which can be used to transparently encrypt a block device
using the new 2.6 kernel cryptoAPI..."