mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
Use explicit 32bit value in API for FEC roots.
This commit is contained in:
@@ -306,13 +306,13 @@ struct crypt_params_verity {
|
|||||||
const char *hash_device; /**< hash_device (output only) */
|
const char *hash_device; /**< hash_device (output only) */
|
||||||
const char *fec_device; /**< fec_device (output only) */
|
const char *fec_device; /**< fec_device (output only) */
|
||||||
const char *salt; /**< salt */
|
const char *salt; /**< salt */
|
||||||
int fec_roots; /**< fec_roots */
|
|
||||||
uint32_t salt_size; /**< salt size (in bytes) */
|
uint32_t salt_size; /**< salt size (in bytes) */
|
||||||
uint32_t hash_type; /**< in-kernel hashing type */
|
uint32_t hash_type; /**< in-kernel hashing type */
|
||||||
uint32_t data_block_size; /**< data block size (in bytes) */
|
uint32_t data_block_size; /**< data block size (in bytes) */
|
||||||
uint32_t hash_block_size; /**< hash 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 data_size; /**< data area size (in data blocks) */
|
||||||
uint64_t hash_area_offset; /**< hash/header offset (in bytes) */
|
uint64_t hash_area_offset; /**< hash/header offset (in bytes) */
|
||||||
|
uint32_t fec_roots; /**< Reed-Solomon FEC roots */
|
||||||
uint32_t flags; /**< CRYPT_VERITY* flags */
|
uint32_t flags; /**< CRYPT_VERITY* flags */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user