Lines Matching refs:modsig
298 * modsig_verify - verify modsig signature
304 static int modsig_verify(enum ima_hooks func, const struct modsig *modsig,
309 rc = integrity_modsig_verify(INTEGRITY_KEYRING_IMA, modsig);
313 modsig);
333 const struct modsig *modsig, int pcr)
343 if (iint->flags & IMA_MODSIG_ALLOWED && modsig) {
344 ima_get_modsig_digest(modsig, &hash_algo, &digest, &digestsize);
368 int xattr_len, const struct modsig *modsig)
376 bool try_modsig = iint->flags & IMA_MODSIG_ALLOWED && modsig;
378 /* If not appraising a modsig, we need an xattr. */
382 /* If reading the xattr failed and there's no modsig, error out. */
407 /* It's fine not to have xattrs when using a modsig. */
426 * If we have a modsig and either no imasig or the imasig's key isn't
427 * known, then try verifying the modsig.
432 rc = modsig_verify(func, modsig, &status, &cause);