mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Add --integrity-key-size option to cryptsetup.
This patch adds support for --integrity-key-size option that can be used to setup non-standard HMAC integrity key size.
This commit is contained in:
@@ -1892,8 +1892,7 @@ static int LUKS2_check_encryption_params(struct crypt_device *cd,
|
||||
const char **ret_integrity,
|
||||
size_t *ret_integrity_key_size)
|
||||
{
|
||||
int r;
|
||||
size_t integrity_key_size = 0;
|
||||
int r, integrity_key_size = 0;
|
||||
|
||||
assert(cipher);
|
||||
assert(cipher_mode);
|
||||
|
||||
Reference in New Issue
Block a user