]> www.infradead.org Git - linux.git/commitdiff
dm-crypt: Document integrity_key_size option.
authorMilan Broz <gmazyland@gmail.com>
Wed, 29 Jan 2025 12:58:57 +0000 (13:58 +0100)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 3 Feb 2025 13:10:10 +0000 (14:10 +0100)
This patch adds documentation for new option introduced in commit
4441686b24a1 ("dm-crypt: Allow to specify the integrity key size as option").

Signed-off-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Documentation/admin-guide/device-mapper/dm-crypt.rst

index 9f8139ff97d656367700598202b668494a582d55..4467f6d4b6329e5f1c8a3bffcc6e6bcb8cd2a6e9 100644 (file)
@@ -146,6 +146,11 @@ integrity:<bytes>:<type>
     integrity for the encrypted device. The additional space is then
     used for storing authentication tag (and persistent IV if needed).
 
+integrity_key_size:<bytes>
+    Optionally set the integrity key size if it differs from the digest size.
+    It allows the use of wrapped key algorithms where the key size is
+    independent of the cryptographic key size.
+
 sector_size:<bytes>
     Use <bytes> as the encryption unit instead of 512 bytes sectors.
     This option can be in range 512 - 4096 bytes and must be power of two.