diff options
author | Richard Weinberger <richard@nod.at> | 2018-10-18 16:37:09 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2018-11-01 12:41:34 +0100 |
commit | 2651d8e09509a7614a66a25e6489d943fd93376b (patch) | |
tree | f1e4c0986c07f81f27bf9b1089234a8eda20ce61 /ubifs-utils/mkfs.ubifs/crypto.h | |
parent | d9421785a18fdfae0ada62ecbfcbbdd28c4e0fde (diff) |
mkfs.ubifs: Enable Cipher selection
No longer hard code AES-128-CBC, we support AES-256-XTS too.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/mkfs.ubifs/crypto.h')
-rw-r--r-- | ubifs-utils/mkfs.ubifs/crypto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ubifs-utils/mkfs.ubifs/crypto.h b/ubifs-utils/mkfs.ubifs/crypto.h index 7fb2d3b..c2631dd 100644 --- a/ubifs-utils/mkfs.ubifs/crypto.h +++ b/ubifs-utils/mkfs.ubifs/crypto.h @@ -36,6 +36,9 @@ struct cipher { ssize_t (*encrypt_fname)(const void *plaintext, size_t size, const void *key, void *ciphertext); + + unsigned int fscrypt_block_mode; + unsigned int fscrypt_fname_mode; }; |