Lines Matching defs:modsig
412 * modsig_verify - verify modsig signature
418 static int modsig_verify(enum ima_hooks func, const struct modsig *modsig,
423 rc = integrity_modsig_verify(INTEGRITY_KEYRING_IMA, modsig);
427 modsig);
447 const struct modsig *modsig, int pcr)
457 if (iint->flags & IMA_MODSIG_ALLOWED && modsig) {
458 ima_get_modsig_digest(modsig, &hash_algo, &digest, &digestsize);
484 int xattr_len, const struct modsig *modsig)
492 bool try_modsig = iint->flags & IMA_MODSIG_ALLOWED && modsig;
494 /* If not appraising a modsig, we need an xattr. */
498 /* If reading the xattr failed and there's no modsig, error out. */
530 /* It's fine not to have xattrs when using a modsig. */
553 * If we have a modsig and either no imasig or the imasig's key isn't
554 * known, then try verifying the modsig.
559 rc = modsig_verify(func, modsig, &status, &cause);