diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2018-10-18 16:37:06 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2018-11-01 12:41:03 +0100 |
commit | b9829c7e5b4a0c4e693a79fd0da36fa37e3e1a1a (patch) | |
tree | 8ae2538dead26b79eebce5d6395a59b2dff1e472 /ubifs-utils/mkfs.ubifs/crypto.h | |
parent | 8db55980484ed8820530001fc4a58885adf1d213 (diff) |
mkfs.ubifs: Check length of master key
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'ubifs-utils/mkfs.ubifs/crypto.h')
-rw-r--r-- | ubifs-utils/mkfs.ubifs/crypto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ubifs-utils/mkfs.ubifs/crypto.h b/ubifs-utils/mkfs.ubifs/crypto.h index b6a1e00..7fb2d3b 100644 --- a/ubifs-utils/mkfs.ubifs/crypto.h +++ b/ubifs-utils/mkfs.ubifs/crypto.h @@ -28,6 +28,7 @@ struct cipher { const char *name; + unsigned int key_length; ssize_t (*encrypt_block)(const void *plaintext, size_t size, const void *key, uint64_t block_index, |