Home
last modified time | relevance | path

Searched refs:pkcs7_msg (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/security/integrity/ima/
Dima_modsig.c19 struct pkcs7_message *pkcs7_msg; member
73 hdr->pkcs7_msg = pkcs7_parse_message(buf + buf_len, sig_len); in ima_read_modsig()
74 if (IS_ERR(hdr->pkcs7_msg)) { in ima_read_modsig()
75 rc = PTR_ERR(hdr->pkcs7_msg); in ima_read_modsig()
110 rc = pkcs7_supply_detached_data(modsig->pkcs7_msg, buf, size); in ima_collect_modsig()
115 rc = pkcs7_get_digest(modsig->pkcs7_msg, &modsig->digest, in ima_collect_modsig()
121 return verify_pkcs7_message_sig(NULL, 0, modsig->pkcs7_msg, keyring, in ima_modsig_verify()
149 pkcs7_free_message(modsig->pkcs7_msg); in ima_free_modsig()