Use explicit 32bit value in API for FEC roots.

This commit is contained in:
Milan Broz
2017-04-03 10:15:44 +02:00
parent 912f5b8f5b
commit 7307293c87

View File

@@ -306,13 +306,13 @@ struct crypt_params_verity {
const char *hash_device; /**< hash_device (output only) */
const char *fec_device; /**< fec_device (output only) */
const char *salt; /**< salt */
int fec_roots; /**< fec_roots */
uint32_t salt_size; /**< salt size (in bytes) */
uint32_t hash_type; /**< in-kernel hashing type */
uint32_t data_block_size; /**< data block size (in bytes) */
uint32_t hash_block_size; /**< hash block size (in bytes) */
uint64_t data_size; /**< data area size (in data blocks) */
uint64_t hash_area_offset; /**< hash/header offset (in bytes) */
uint32_t fec_roots; /**< Reed-Solomon FEC roots */
uint32_t flags; /**< CRYPT_VERITY* flags */
};