Lines Matching refs:tpm
33 LOG(severity) << "TPM error 0x" << std::hex << result \
47 const char* kTpmTpmEnabledFile = "/sys/class/tpm/tpm0/device/enabled";
49 const char* kTpmTpmOwnedFile = "/sys/class/tpm/tpm0/device/owned";
82 LOG(ERROR) << __func__ << ": Failed to connect to the TPM.";
86 LOG(WARNING) << __func__ << ": TPM is not owned; attestation services will "
117 // Connect to the TPM as the owner delegate.
122 LOG(ERROR) << __func__ << ": Could not connect to the TPM.";
185 LOG(ERROR) << "Only RSA supported on TPM v1.2.";
510 bool TpmUtilityV1::ConnectContext(ScopedTssContext* context, TSS_HTPM* tpm) {
511 *tpm = 0;
522 if (TPM_ERROR(result = Tspi_Context_GetTpmObject(*context, tpm))) {
533 TSS_HTPM* tpm) {
534 *tpm = 0;
535 if (!ConnectContext(context, tpm)) {
540 if (TPM_ERROR(result = Tspi_GetPolicyObject(*tpm,