reduce command set to CC_S_CROS_ONLY for cr50 dev image
This patch reduces the TPM command set from CC_S_COMMON_SET to
CC_S_CROS_ONLY. Techincally, it excludes CC_S_TCG_MUST, CC_S_WIN_MUST
and CC_WIN_REC. It reduces flash usage by 12.6 kbytes.
BUG=b:151758820
TEST=ran trunks_client tests on octopus fleex.
$ trunks_client --regression_test
$ trunks_client --stress_test
$ trunks_client --ext_command_test
Ran platform/login tests, and checked them pass:
login_CryptohomeDataLeak
login_CryptohomeOwnerQuery
login_LoginSuccess
login_LoginSuccess.stress
platform_BootLockboxServer
platform_BootPerf
platform_CryptohomeBadPerms
platform_CryptohomeChangePassword
platform_CryptohomeFio
platform_CryptohomeFio.dirty_setting
platform_CryptohomeFio.stress
platform_CryptohomeGetEnrollmentId
platform_CryptohomeKeyEviction
platform_CryptohomeLECredentialManagerServer
platform_CryptohomeMigrateKey
platform_CryptohomeMount
platform_CryptohomeMultiple
platform_CryptohomeNonDirs
platform_CryptohomeStress
platform_CryptohomeStress.surfing
platform_CryptohomeTPMReOwnServer
platform_CryptohomeTestAuth
platform_CryptohomeTpmLiveTestServer
platform_LogoutPerf
platform_Pkcs11InitOnLogin
Ran tast hwsec tests, and checked them pass:
hwsec.Login
hwsec.LoginGuest
hwsec.AttestationEID
hwsec.ChallengeResponseMount
hwsec.CryptohomeTPMLiveTests
hwsec.RecreateUserVault
hwsec.ClearOwnership
hwsec.CryptohomeKeysAndMountSanity
hwsec.InstallAttributes
hwsec.LoginDuringTakingOwnership
hwsec.RetakeOwnership
hwsec.RetakeOwnershipFlushPassword
hwsec.RetakeOwnershipLatePreparation
Change-Id: I702c8e89a84647fb856ec9f8ccb2c44fa6fee4f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/tpm2/+/2115943
Tested-by: Namyoon Woo <namyoon@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Commit-Queue: Namyoon Woo <namyoon@chromium.org>
1 file changed