[Patch v7 1/4] tpm: Move tpm_buf code to include/linux/
Jarkko Sakkinen
jarkko.sakkinen at linux.intel.com
Fri Oct 11 11:41:05 UTC 2019
On Mon, Oct 07, 2019 at 10:55:32AM +0530, Sumit Garg wrote:
> Move tpm_buf code to common include/linux/tpm.h header so that it can
> be reused via other subsystems like trusted keys etc.
>
> Also rename trusted keys and asymmetric keys usage of TPM 1.x buffer
> implementation to tpm1_buf to avoid any compilation errors.
>
> Suggested-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
> Signed-off-by: Sumit Garg <sumit.garg at linaro.org>
> ---
> crypto/asymmetric_keys/asym_tpm.c | 12 +--
> drivers/char/tpm/tpm.h | 215 --------------------------------------
> include/keys/trusted.h | 12 +--
> include/linux/tpm.h | 215 ++++++++++++++++++++++++++++++++++++++
> security/keys/trusted.c | 12 +--
> 5 files changed, 233 insertions(+), 233 deletions(-)
Looks clean.
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
/Jarkko
More information about the Linux-security-module-archive
mailing list