forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
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