]> Git Repo - linux.git/commit
KEYS: trusted: allow trusted.ko to initialize w/o a TPM
authorJarkko Sakkinen <[email protected]>
Mon, 25 Mar 2019 14:43:10 +0000 (16:43 +0200)
committerJames Morris <[email protected]>
Mon, 8 Apr 2019 22:58:53 +0000 (15:58 -0700)
commitc78719203fc629421a0d91d3d22240c36ae0119c
tree83e56f99be0498417fdca693ea12c54a2ba37ccb
parent7110629263469b4664d00b38ef80a656eddf3637
KEYS: trusted: allow trusted.ko to initialize w/o a TPM

Allow trusted.ko to initialize w/o a TPM. This commit also adds checks
to the exported functions to fail when a TPM is not available.

Fixes: 240730437deb ("KEYS: trusted: explicitly use tpm_chip structure...")
Cc: James Morris <[email protected]>
Reported-by: Dan Williams <[email protected]>
Tested-by: Dan Williams <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: James Morris <[email protected]>
security/keys/trusted.c
This page took 0.050792 seconds and 4 git commands to generate.