Skip to content

Commit

Permalink
tpm: Enable TCG_TPM2_HMAC by default only for X86_64
Browse files Browse the repository at this point in the history
Given the not fully root caused performance issues on non-x86 platforms,
enable the feature by default only for x86-64. That is the platform it
brings the most value and has gone most of the QA. Can be reconsidered
later and can be obviously opt-in enabled too on any arch.

Link: https://lore.kernel.org/linux-integrity/[email protected]/#t
Signed-off-by: Jarkko Sakkinen <[email protected]>
  • Loading branch information
jarkkojs committed May 28, 2024
1 parent f09fc6c commit d3e43a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/tpm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if TCG_TPM

config TCG_TPM2_HMAC
bool "Use HMAC and encrypted transactions on the TPM bus"
default y
default X86_64
select CRYPTO_ECDH
select CRYPTO_LIB_AESCFB
select CRYPTO_LIB_SHA256
Expand Down

0 comments on commit d3e43a8

Please sign in to comment.