Lines Matching defs:vi
40 void fsverity_set_cert_type(struct fsverity_info *vi,
43 vi->cert_type = cert_type;
60 static inline int fsverity_verify_certchain(struct fsverity_info *vi,
66 raw_pkcs7, pkcs7_len, &vi->fcs_info, &ret);
68 fsverity_set_cert_type(vi, ret);
77 * @vi: the file's fsverity_info
86 int fsverity_verify_signature(struct fsverity_info *vi,
89 const struct inode *inode = vi->inode;
90 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg;
125 memcpy(d->digest, vi->file_digest, hash_alg->digest_size);
127 err = fsverity_verify_certchain(vi, signature, sig_size);