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 <[email protected]>
Signed-off-by: Kent Yoder <[email protected]>
This commit is contained in:
Mimi Zohar 2013-05-21 10:40:47 -04:00 • committed by Kent Yoder
commit 1c16c9636c
2 changed files with 2 additions and 1 deletions

View file

@ -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;