mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 10:50:01 +01:00
Auth tag size and iv size can depend on auth cipher.
Some experimental ciphers will use different IV sizes, add parameter to check it in future (unused for now).
This commit is contained in:
@@ -130,6 +130,7 @@ int INTEGRITY_key_size(struct crypt_device *cd)
|
||||
|
||||
int INTEGRITY_tag_size(struct crypt_device *cd,
|
||||
const char *integrity,
|
||||
const char *cipher,
|
||||
const char *cipher_mode)
|
||||
{
|
||||
int iv_tag_size = 0, auth_tag_size = 0;
|
||||
|
||||
Reference in New Issue
Block a user