forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
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