mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-22 00:00:07 +01:00
cryptsetup: Adjust XTS keys size also if cipher is specified with capi: prefix.
Fixes: #776
This commit is contained in:
@@ -27,7 +27,7 @@ int set_pbkdf_params(struct crypt_device *cd, const char *dev_type);
|
||||
|
||||
int set_tries_tty(bool keyring);
|
||||
|
||||
int get_adjusted_key_size(const char *cipher_mode, uint32_t keysize_bits,
|
||||
int get_adjusted_key_size(const char *cipher, const char *cipher_mode, uint32_t keysize_bits,
|
||||
uint32_t default_size_bits, int integrity_keysize);
|
||||
|
||||
int luksFormat(struct crypt_device **r_cd, struct crypt_keyslot_context **r_kc);
|
||||
|
||||
Reference in New Issue
Block a user