mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
libdevmapper: Support dm-crypt integrity_key_size option
This patch implement support for setting specific integrity key size option in dm-crypt, available since dm-crypt version 1.28.0. This can be used for setting non-standard HMAC key length. Mostly based on code from Ingo Franzki <ifranzki@linux.ibm.com>
This commit is contained in:
@@ -1365,7 +1365,7 @@ static int _activate(struct crypt_device *cd,
|
||||
crypt_get_cipher_spec(cd),
|
||||
segments[i].iv_offset,
|
||||
segments[i].iv_offset,
|
||||
NULL, 0,
|
||||
NULL, 0, 0,
|
||||
params->sector_size);
|
||||
if (r)
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user