Add option for large IV to storage wrapper.

Also implement some test vectors and use the same limits
as in dm-crypt (IV offset alignnment).
This commit is contained in:
Milan Broz
2020-05-28 08:41:09 +02:00
committed by Ondrej Kozina
parent e43a22abcf
commit f5910d83c4
7 changed files with 153 additions and 112 deletions

View File

@@ -31,6 +31,7 @@ struct crypt_device;
#define DISABLE_KCAPI (1 << 1)
#define DISABLE_DMCRYPT (1 << 2)
#define OPEN_READONLY (1 << 3)
#define LARGE_IV (1 << 4)
typedef enum {
NONE = 0,