aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/integrity/ima/ima_crypto.c')
-rw-r--r--security/integrity/ima/ima_crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/integrity/ima/ima_crypto.c b/security/integrity/ima/ima_crypto.c
index 46642a19bc78..acd4226f73ef 100644
--- a/security/integrity/ima/ima_crypto.c
+++ b/security/integrity/ima/ima_crypto.c
@@ -26,7 +26,7 @@ static int init_desc(struct hash_desc *desc)
26 26
27 desc->tfm = crypto_alloc_hash(ima_hash, 0, CRYPTO_ALG_ASYNC); 27 desc->tfm = crypto_alloc_hash(ima_hash, 0, CRYPTO_ALG_ASYNC);
28 if (IS_ERR(desc->tfm)) { 28 if (IS_ERR(desc->tfm)) {
29 pr_info("failed to load %s transform: %ld\n", 29 pr_info("IMA: failed to load %s transform: %ld\n",
30 ima_hash, PTR_ERR(desc->tfm)); 30 ima_hash, PTR_ERR(desc->tfm));
31 rc = PTR_ERR(desc->tfm); 31 rc = PTR_ERR(desc->tfm);
32 return rc; 32 return rc;
@@ -111,7 +111,7 @@ static void __init ima_pcrread(int idx, u8 *pcr)
111 return; 111 return;
112 112
113 if (tpm_pcr_read(TPM_ANY_NUM, idx, pcr) != 0) 113 if (tpm_pcr_read(TPM_ANY_NUM, idx, pcr) != 0)
114 pr_err("Error Communicating to TPM chip\n"); 114 pr_err("IMA: Error Communicating to TPM chip\n");
115} 115}
116 116
117/* 117/*