Go to the documentation of this file.
14 #include <linux/types.h>
16 #include <crypto/sha.h>
19 #define IMA_MEASURE 0x0001
20 #define IMA_MEASURED 0x0002
21 #define IMA_APPRAISE 0x0004
22 #define IMA_APPRAISED 0x0008
24 #define IMA_COLLECTED 0x0020
25 #define IMA_AUDIT 0x0040
26 #define IMA_AUDITED 0x0080
29 #define IMA_DIGSIG 0x0100
31 #define IMA_DO_MASK (IMA_MEASURE | IMA_APPRAISE | IMA_AUDIT)
32 #define IMA_DONE_MASK (IMA_MEASURED | IMA_APPRAISED | IMA_AUDITED \
63 #define INTEGRITY_KEYRING_EVM 0
64 #define INTEGRITY_KEYRING_MODULE 1
65 #define INTEGRITY_KEYRING_IMA 2
66 #define INTEGRITY_KEYRING_MAX 3
68 #ifdef CONFIG_INTEGRITY_SIGNATURE
71 const char *
digest,
int digestlen);
76 const char *
sig,
int siglen,
77 const char *
digest,
int digestlen)