Searched refs:salt_size (Results 1 – 5 of 5) sorted by relevance
/fs/verity/ |
D | open.c | 32 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()
|
D | enable.c | 218 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()
|
D | hash_algs.c | 157 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()
|
D | fsverity_private.h | 97 const u8 *salt, size_t salt_size); 122 const u8 *salt, size_t salt_size);
|
/fs/incfs/ |
D | verity.c | 402 __le32 salt_size; in incfs_add_signature_record() member 598 if (arg.salt_size) in incfs_ioctl_enable_verity()
|