Searched refs:hash_algorithm (Results 1 – 5 of 5) sorted by relevance
/fs/incfs/ |
D | verity.c | 219 incfs_hash_alg = incfs_convert_fsverity_hash_alg(desc->hash_algorithm); in incfs_calc_verity_digest_from_desc() 244 desc->hash_algorithm); in incfs_calc_verity_digest_from_desc() 254 struct file *filp, int hash_algorithm) in incfs_get_fsverity_descriptor() argument 265 .hash_algorithm = hash_algorithm, in incfs_get_fsverity_descriptor() 282 int hash_algorithm) in incfs_calc_verity_digest() argument 285 hash_algorithm); in incfs_calc_verity_digest() 400 __le32 hash_algorithm; in incfs_add_signature_record() member 414 .hash_algorithm = cpu_to_le32(INCFS_HASH_TREE_SHA256), in incfs_add_signature_record() 554 arg->sig_size, arg->hash_algorithm); in incfs_enable_verity() 592 if (arg.hash_algorithm != FS_VERITY_HASH_ALG_SHA256) in incfs_ioctl_enable_verity()
|
D | integrity.c | 53 enum incfs_hash_tree_algorithm hash_algorithm; member 111 if (!read_u32(&p, top, &si->hash_algorithm) || in incfs_parse_signature() 112 si->hash_algorithm != INCFS_HASH_TREE_SHA256) in incfs_parse_signature() 150 hash_alg = incfs_get_hash_alg(si.hash_algorithm); in incfs_alloc_mtree()
|
/fs/verity/ |
D | open.c | 30 unsigned int hash_algorithm, in fsverity_init_merkle_tree_params() argument 42 hash_alg = fsverity_get_hash_alg(inode, hash_algorithm); in fsverity_init_merkle_tree_params() 162 desc->hash_algorithm, in fsverity_create_info()
|
D | enable.c | 214 desc->hash_algorithm = arg->hash_algorithm; in enable_verity() 239 arg->hash_algorithm, in enable_verity()
|
D | fsverity_private.h | 120 unsigned int hash_algorithm,
|