summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2013-05-21 16:40:47 +0200
committerKent Yoder <key@linux.vnet.ibm.com>2013-05-21 19:25:02 +0200
commit1c16c9636cad24f0e654f19e8f73ede0c7bd5540 (patch)
tree07500d4620798ffe17becf152f9f4fcca4c24451 /drivers/char/tpm
parenttpm_tis: missing platform_driver_unregister() on error in init_tis() (diff)
downloadlinux-1c16c9636cad24f0e654f19e8f73ede0c7bd5540.tar.xz
linux-1c16c9636cad24f0e654f19e8f73ede0c7bd5540.zip
tpm: move TPM_DIGEST_SIZE defintion
IMA requires access to TPM_DIGEST_SIZE definition. This patch moves the definition to <linux/tpm.h>. Signed-off-by: Mimi Zohar <zohar@us.ibm.com> Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/tpm')
-rw-r--r--drivers/char/tpm/tpm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h
index 0770d1d79366..433423288709 100644
--- a/drivers/char/tpm/tpm.h
+++ b/drivers/char/tpm/tpm.h
@@ -272,7 +272,6 @@ typedef union {
struct tpm_output_header out;
} tpm_cmd_header;
-#define TPM_DIGEST_SIZE 20
struct tpm_pcrread_out {
u8 pcr_result[TPM_DIGEST_SIZE];
} __packed;