Lines Matching refs:ERROR
81 LOG(ERROR) << __func__ << ": Failed to connect to the TPM."; in Initialize()
112 LOG(ERROR) << "SRK is not ready."; in ActivateIdentity()
121 LOG(ERROR) << __func__ << ": Could not connect to the TPM."; in ActivateIdentity()
128 LOG(ERROR) << __func__ << ": Failed to load SRK."; in ActivateIdentity()
140 TPM_LOG(ERROR, result) << __func__ << ": Failed to load AIK."; in ActivateIdentity()
155 TPM_LOG(ERROR, result) << __func__ << ": Failed to activate identity."; in ActivateIdentity()
174 LOG(ERROR) << "SRK is not ready."; in CreateCertifiedKey()
178 LOG(ERROR) << "Only RSA supported on TPM v1.2."; in CreateCertifiedKey()
186 LOG(ERROR) << __func__ << "Failed to load AIK."; in CreateCertifiedKey()
199 TPM_LOG(ERROR, result) << __func__ << ": Failed to create object."; in CreateCertifiedKey()
212 TPM_LOG(ERROR, result) << __func__ << ": Failed to set scheme."; in CreateCertifiedKey()
217 TPM_LOG(ERROR, result) << __func__ << ": Failed to create key."; in CreateCertifiedKey()
222 TPM_LOG(ERROR, result) << __func__ << ": Failed to load key."; in CreateCertifiedKey()
234 TPM_LOG(ERROR, result) << __func__ << ": Failed to certify key."; in CreateCertifiedKey()
244 LOG(ERROR) << __func__ << ": Failed to read public key."; in CreateCertifiedKey()
254 LOG(ERROR) << __func__ << ": Failed to read key blob."; in CreateCertifiedKey()
272 LOG(ERROR) << "SRK is not ready."; in SealToPCR0()
282 TPM_LOG(ERROR, result) << __func__ in SealToPCR0()
296 TPM_LOG(ERROR, result) << __func__ in SealToPCR0()
307 TPM_LOG(ERROR, result) << __func__ << ": Error calling Tspi_Data_Seal"; in SealToPCR0()
318 TPM_LOG(ERROR, result) << __func__ << ": Error calling Tspi_GetAttribData"; in SealToPCR0()
329 LOG(ERROR) << "SRK is not ready."; in Unseal()
339 TPM_LOG(ERROR, result) << __func__ in Unseal()
350 TPM_LOG(ERROR, result) << __func__ << ": Error calling Tspi_SetAttribData"; in Unseal()
360 TPM_LOG(ERROR, result) << __func__ << ": Error calling Tspi_Data_Unseal"; in Unseal()
374 TPM_LOG(ERROR, result) << __func__ << ": Failed to get key."; in GetEndorsementPublicKey()
382 LOG(ERROR) << __func__ << ": Failed to read public key."; in GetEndorsementPublicKey()
397 LOG(ERROR) << "SRK is not ready."; in Unbind()
409 TPM_LOG(ERROR, result) << __func__ << ": Tspi_Context_CreateObject failed."; in Unbind()
417 TPM_LOG(ERROR, result) << __func__ << ": Tspi_SetAttribData failed."; in Unbind()
425 TPM_LOG(ERROR, result) << __func__ << ": Tspi_Data_Unbind failed."; in Unbind()
437 LOG(ERROR) << "SRK is not ready."; in Sign()
453 TPM_LOG(ERROR, result) << __func__ << ": Failed to create hash object."; in Sign()
459 TPM_LOG(ERROR, result) << __func__ << ": Failed to set hash data."; in Sign()
466 TPM_LOG(ERROR, result) << __func__ << ": Failed to generate signature."; in Sign()
477 TPM_LOG(ERROR, result) << __func__ << ": Error calling Tspi_Context_Create"; in ConnectContext()
481 TPM_LOG(ERROR, result) << __func__ in ConnectContext()
486 TPM_LOG(ERROR, result) << __func__ in ConnectContext()
505 TPM_LOG(ERROR, result) << __func__ in ConnectContextAsDelegate()
514 TPM_LOG(ERROR, result) << __func__ in ConnectContextAsDelegate()
524 TPM_LOG(ERROR, result) << __func__ << ": Error calling Tspi_SetAttribData"; in ConnectContextAsDelegate()
539 LOG(ERROR) << __func__ << ": Failed to load SRK."; in SetupSrk()
563 TPM_LOG(ERROR, result) << __func__ in LoadSrk()
572 TPM_LOG(ERROR, result) << __func__ in LoadSrk()
581 TPM_LOG(ERROR, result) << __func__ in LoadSrk()
590 TPM_LOG(ERROR, result) << __func__ in LoadSrk()
608 TPM_LOG(ERROR, result) << __func__ << ": Failed to load key by blob."; in LoadKeyFromBlob()
624 TPM_LOG(ERROR, result) << __func__ << "Failed to read object attribute."; in GetDataAttribute()
640 TPM_LOG(ERROR, result) << "Failed to parse TPM_PUBKEY."; in ConvertPublicKeyToDER()
665 LOG(ERROR) << "Failed to DER-encode public key."; in ConvertPublicKeyToDER()
673 LOG(ERROR) << "Failed to DER-encode public key."; in ConvertPublicKeyToDER()