hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/security/integrity/ima/ima_modsig.c
....@@ -89,6 +89,9 @@
8989
9090 /**
9191 * ima_collect_modsig - Calculate the file hash without the appended signature.
92
+ * @modsig: parsed module signature
93
+ * @buf: data to verify the signature on
94
+ * @size: data size
9295 *
9396 * Since the modsig is part of the file contents, the hash used in its signature
9497 * isn't the same one ordinarily calculated by IMA. Therefore PKCS7 code