forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
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