Lines Matching refs:state
104 std::unique_ptr<trunks::TpmState> state = factory.GetTpmState(); in DumpStatus() local
105 trunks::TPM_RC result = state->Initialize(); in DumpStatus()
112 state->IsOwnerPasswordSet() ? "true" : "false"); in DumpStatus()
114 state->IsEndorsementPasswordSet() ? "true" : "false"); in DumpStatus()
116 state->IsLockoutPasswordSet() ? "true" : "false"); in DumpStatus()
117 printf("Ownership status: %s\n", state->IsOwned() ? "true" : "false"); in DumpStatus()
118 printf("In lockout: %s\n", state->IsInLockout() ? "true" : "false"); in DumpStatus()
120 state->IsPlatformHierarchyEnabled() ? "true" : "false"); in DumpStatus()
122 state->IsStorageHierarchyEnabled() ? "true" : "false"); in DumpStatus()
124 state->IsEndorsementHierarchyEnabled() ? "true" : "false"); in DumpStatus()
125 printf("Is Tpm enabled: %s\n", state->IsEnabled() ? "true" : "false"); in DumpStatus()
127 state->WasShutdownOrderly() ? "true" : "false"); in DumpStatus()
128 printf("Is RSA supported: %s\n", state->IsRSASupported() ? "true" : "false"); in DumpStatus()
129 printf("Is ECC supported: %s\n", state->IsECCSupported() ? "true" : "false"); in DumpStatus()
130 printf("Lockout Counter: %u\n", state->GetLockoutCounter()); in DumpStatus()
131 printf("Lockout Threshold: %u\n", state->GetLockoutThreshold()); in DumpStatus()
132 printf("Lockout Interval: %u\n", state->GetLockoutInterval()); in DumpStatus()
133 printf("Lockout Recovery: %u\n", state->GetLockoutRecovery()); in DumpStatus()