hwsec

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 29 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckKeyPerf

func CheckKeyPerf(ctx context.Context, s *testing.State)

func ClearOwnership

func ClearOwnership(ctx context.Context, s *testing.State)

func CryptohomeCrashDataSurvival

func CryptohomeCrashDataSurvival(ctx context.Context, s *testing.State)

func CryptohomeKeysAndMountValidity

func CryptohomeKeysAndMountValidity(ctx context.Context, s *testing.State)

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

func CryptohomeMountPerf(ctx context.Context, s *testing.State)

CryptohomeMountPerf collects the performance for cryptohome mount operation.

func CryptohomePerf

func CryptohomePerf(ctx context.Context, s *testing.State)

func CryptohomeTPMLiveTests

func CryptohomeTPMLiveTests(ctx context.Context, s *testing.State)

CryptohomeTPMLiveTests would check cryptohome-tpm-live-test running as expect.

func FWMPAcrossTPMClear

func FWMPAcrossTPMClear(ctx context.Context, s *testing.State)

FWMPAcrossTPMClear checks that the firmware management parameters are functioning correctly across TPM clear.

func InstallAttributes

func InstallAttributes(ctx context.Context, s *testing.State)

func IntegratedU2F

func IntegratedU2F(ctx context.Context, s *testing.State)

IntegratedU2F verifies U2F using the on-board cr50 firmware works

func KeysetTiedToTPM1

func KeysetTiedToTPM1(ctx context.Context, s *testing.State)

KeysetTiedToTPM1 is an integration test that verifies a user's VKK is tied to the TPM after the second login.

func LockToSingleUserMountUntilReboot

func LockToSingleUserMountUntilReboot(ctx context.Context, s *testing.State)

func LoginDuringTakingOwnership

func LoginDuringTakingOwnership(ctx context.Context, s *testing.State)

func PinWeaver

func PinWeaver(ctx context.Context, s *testing.State)

func PinWeaverWithAuthFactor

func PinWeaverWithAuthFactor(ctx context.Context, s *testing.State)

func RecreateUserVaultTPM1

func RecreateUserVaultTPM1(ctx context.Context, s *testing.State)

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 RetakeOwnership

func RetakeOwnership(ctx context.Context, s *testing.State)

func RetakeOwnershipFlushPassword

func RetakeOwnershipFlushPassword(ctx context.Context, s *testing.State)

func RetakeOwnershipLatePreparation

func RetakeOwnershipLatePreparation(ctx context.Context, s *testing.State)

func TpmManagerPerf

func TpmManagerPerf(ctx context.Context, s *testing.State)

TpmManagerPerf do the performance test for tpm_manager.

func VerifyUnrecoverableVaultBehaviour

func VerifyUnrecoverableVaultBehaviour(ctx context.Context, s *testing.State)

func WebauthnU2fMode

func WebauthnU2fMode(ctx context.Context, s *testing.State)

Types

This section is empty.

Directories

Path Synopsis
Package util contains some common utilities or constants that is used by more than 1 hwsec test.
Package util contains some common utilities or constants that is used by more than 1 hwsec test.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL