mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 11:50:10 +01:00
The iv_large_sector option is supported in dm-crypt since introduction of larger sectors encryption. It counts Initialization Vector (IV) in larger sector size (if set) instead of 512 bytes sectors. This option does not have any performance or security impact, but it can be used for accessing incompatible existing disk images from other systems. (It is used internally in BitLocker compatibily code). This patch allows it to be used for plain type device, so users can manually map foreign disk images. Only open action with plain device and sector size > 512 bytes is supported.