Documentation
¶
Overview ¶
Package hwsec contains remote Tast tests that exercise TPM-related daemons.
See details of each daemon at the following locations:
https://chromium.googlesource.com/chromiumos/platform2/+/main/attestation https://chromium.googlesource.com/chromiumos/platform2/+/main/chaps https://chromium.googlesource.com/chromiumos/platform2/+/main/cryptohome https://chromium.googlesource.com/chromiumos/platform2/+/main/tpm_manager https://chromium.googlesource.com/chromiumos/platform2/+/main/trunks https://chromium.googlesource.com/chromiumos/platform2/+/main/u2fd
Index ¶
- func CheckKeyPerf(ctx context.Context, s *testing.State)
- func ClearOwnership(ctx context.Context, s *testing.State)
- func CryptohomeCrashDataSurvival(ctx context.Context, s *testing.State)
- func CryptohomeKeysAndMountValidity(ctx context.Context, s *testing.State)
- func CryptohomeMountPerf(ctx context.Context, s *testing.State)
- func CryptohomePerf(ctx context.Context, s *testing.State)
- func CryptohomeTPMLiveTests(ctx context.Context, s *testing.State)
- func FWMPAcrossTPMClear(ctx context.Context, s *testing.State)
- func InstallAttributes(ctx context.Context, s *testing.State)
- func IntegratedU2F(ctx context.Context, s *testing.State)
- func KeysetTiedToTPM1(ctx context.Context, s *testing.State)
- func LockToSingleUserMountUntilReboot(ctx context.Context, s *testing.State)
- func LoginDuringTakingOwnership(ctx context.Context, s *testing.State)
- func PinWeaver(ctx context.Context, s *testing.State)
- func PinWeaverWithAuthFactor(ctx context.Context, s *testing.State)
- func RecreateUserVaultTPM1(ctx context.Context, s *testing.State)
- func RetakeOwnership(ctx context.Context, s *testing.State)
- func RetakeOwnershipFlushPassword(ctx context.Context, s *testing.State)
- func RetakeOwnershipLatePreparation(ctx context.Context, s *testing.State)
- func TpmManagerPerf(ctx context.Context, s *testing.State)
- func VerifyUnrecoverableVaultBehaviour(ctx context.Context, s *testing.State)
- func WebauthnU2fMode(ctx context.Context, s *testing.State)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CryptohomeKeysAndMountValidity ¶
CryptohomeKeysAndMountValidity exercizes and tests the correctness of cryptohome's key and vault related APIs when the DUT goes through various states (ownership not taken, ownership taken, after reboot).
func CryptohomeMountPerf ¶
CryptohomeMountPerf collects the performance for cryptohome mount operation.
func CryptohomeTPMLiveTests ¶
CryptohomeTPMLiveTests would check cryptohome-tpm-live-test running as expect.
func FWMPAcrossTPMClear ¶
FWMPAcrossTPMClear checks that the firmware management parameters are functioning correctly across TPM clear.
func IntegratedU2F ¶
IntegratedU2F verifies U2F using the on-board cr50 firmware works
func KeysetTiedToTPM1 ¶
KeysetTiedToTPM1 is an integration test that verifies a user's VKK is tied to the TPM after the second login.
func RecreateUserVaultTPM1 ¶
RecreateUserVaultTPM1 is the TPMv1.2 version of hwsec.RecreateUserVault test, which was ported from the autotest test platform_CryptohomeTPMReOwn and renamed to reflects what's being tested.
func TpmManagerPerf ¶
TpmManagerPerf do the performance test for tpm_manager.
Types ¶
This section is empty.
Source Files
¶
- check_key_perf.go
- clear_ownership.go
- cryptohome_crash_data_survival.go
- cryptohome_keys_and_mount_validity.go
- cryptohome_mount_perf.go
- cryptohome_perf.go
- cryptohome_tpm_live_tests.go
- doc.go
- fwmp_across_tpm_clear.go
- install_attributes.go
- integrated_u2f.go
- keyset_tied_to_tpm1.go
- lock_to_single_user_mount_until_reboot.go
- login_during_taking_ownership.go
- pin_weaver.go
- pin_weaver_with_auth_factor.go
- recreate_user_vault_tpm1.go
- retake_ownership.go
- retake_ownership_flush_password.go
- retake_ownership_late_preparation.go
- tpm_manager_perf.go
- verify_unrecoverable_vault_behaviour.go
- webauthn_u2f_mode.go