On Fri, Feb 01, 2019 at 11:06:37AM +0100, Roberto Sassu wrote: > Rename tpm2_* to tpm_* and move the definitions to include/linux/tpm.h so > that these can be used by other kernel subsystems (e.g. IMA). > > Also, set the length of the digest array in tpm_digest to a new constant > named TPM_MAX_DIGEST_SIZE, equal to SHA512_DIGEST_SIZE. > > Signed-off-by: Roberto Sassu <roberto.sassu@xxxxxxxxxx> > Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> > Acked-by: Mimi Zohar <zohar@xxxxxxxxxxxxx> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> /Jarkko