diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2013-05-21 18:40:47 +0400 |
---|---|---|
committer | Kent Yoder <key@linux.vnet.ibm.com> | 2013-05-21 21:25:02 +0400 |
commit | 1c16c9636cad24f0e654f19e8f73ede0c7bd5540 (patch) | |
tree | 07500d4620798ffe17becf152f9f4fcca4c24451 /include/linux/tpm.h | |
parent | 4fba3c3ba5c6b7803f36db7d56a58fa3226458d9 (diff) | |
download | linux-1c16c9636cad24f0e654f19e8f73ede0c7bd5540.tar.xz |
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 'include/linux/tpm.h')
-rw-r--r-- | include/linux/tpm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/tpm.h b/include/linux/tpm.h index fcb627ff8d3e..9a9051bb1a03 100644 --- a/include/linux/tpm.h +++ b/include/linux/tpm.h @@ -22,6 +22,8 @@ #ifndef __LINUX_TPM_H__ #define __LINUX_TPM_H__ +#define TPM_DIGEST_SIZE 20 /* Max TPM v1.2 PCR size */ + /* * Chip num is this value or a valid tpm idx */ |