Yuri Chornoivan
4143d9871e
Fix minor typos
2019-06-28 12:02:39 +00:00
Ondrej Kozina
59bed375d0
Add type parameter to INTEGRITY_activate_dmd.
2019-06-27 10:18:54 +02:00
Milan Broz
448fca1fdf
Integritysetup: implement new bitmap mode.
2019-05-21 15:54:07 +02:00
Milan Broz
a6f5ce8c7b
Update copyright year.
...
And unify name copyright format.
2019-01-25 09:45:57 +01:00
Ondrej Kozina
8b2553b3f4
Split integrity activation between two function.
2019-01-01 21:42:46 +01:00
Milan Broz
ac26921569
Add support for dm-integrity superblock V2.
...
Only support parsing superblock data,
new functions will be supported in later kernel and releases.
2018-07-21 15:24:07 +02:00
Milan Broz
187170ec51
Check cipher before writing metadata (LUKS2).
...
Some ciphers and key sizes created on-disk metadata that cannot be used.
Use the same test for length-preserving cipher as LUKS1.
Also check if key for integrity algorithm is not too small.
Fixes #373 .
2018-04-06 12:57:58 +02:00
Milan Broz
1fe014dbae
Update copyright year.
2018-01-20 17:55:21 +01:00
Milan Broz
3f186c009c
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).
2018-01-05 16:38:58 +01:00
Milan Broz
3435f9cb2c
Use only crypt_get_integrity_info in API.
...
Some other functions remain internal only.
Signed-off-by: Milan Broz <gmazyland@gmail.com >
2017-08-06 21:34:01 +02:00
Milan Broz
7e06265568
Parse integrity mode directly.
2017-05-29 10:40:06 +02:00
Milan Broz
0bb7098fd8
Add integritysetup command line tool for the dm-integrity standalone setting.
...
The dm-integrity target is intended to be used for authenticated
encryption through LUKS and dm-crypt.
It can be used in standalone as well; for this use case there
is a simple configuration utility called integritysetup
(similar to veritysetup to dm-verity).
2017-05-28 09:22:17 +02:00