Home
last modified time | relevance | path

Searched refs:salt_size (Results 1 – 5 of 5) sorted by relevance

/fs/verity/
Dopen.c32 const u8 *salt, size_t salt_size) in fsverity_init_merkle_tree_params() argument
49 salt_size); in fsverity_init_merkle_tree_params()
82 (int)salt_size, salt); in fsverity_init_merkle_tree_params()
164 desc->salt, desc->salt_size); in fsverity_create_info()
242 if (desc->salt_size > sizeof(desc->salt)) { in validate_fsverity_descriptor()
243 fsverity_err(inode, "Invalid salt_size: %u", desc->salt_size); in validate_fsverity_descriptor()
Denable.c218 if (arg->salt_size && in enable_verity()
220 arg->salt_size)) { in enable_verity()
224 desc->salt_size = arg->salt_size; in enable_verity()
241 desc->salt, desc->salt_size); in enable_verity()
359 if (arg.salt_size > sizeof_field(struct fsverity_descriptor, salt)) in fsverity_ioctl_enable()
Dhash_algs.c157 const u8 *salt, size_t salt_size) in fsverity_prepare_hash_state() argument
167 if (salt_size == 0) in fsverity_prepare_hash_state()
184 padded_salt_size = round_up(salt_size, alg->block_size); in fsverity_prepare_hash_state()
190 memcpy(padded_salt, salt, salt_size); in fsverity_prepare_hash_state()
Dfsverity_private.h97 const u8 *salt, size_t salt_size);
122 const u8 *salt, size_t salt_size);
/fs/incfs/
Dverity.c402 __le32 salt_size; in incfs_add_signature_record() member
598 if (arg.salt_size) in incfs_ioctl_enable_verity()