forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
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