/external/tpm2/ |
CreatePrimary.c | 42 TPM_RC result = TPM_RC_SUCCESS; local 56 result = PublicAttributesValidation(FALSE, in->primaryHandle, 58 if(result != TPM_RC_SUCCESS) 59 return RcSafeAddToResult(result, RC_CreatePrimary_inPublic); 74 result = CryptCreateObject(in->primaryHandle, &in->inPublic.t.publicArea, 76 if(result != TPM_RC_SUCCESS) 77 return result; 96 result = ObjectLoad(in->primaryHandle, &in->inPublic.t.publicArea, &sensitive, 99 return result;
|
ECDH_KeyGen.c | 25 TPM_RC result; local 51 result = CryptEccPointMultiply(&out->zPoint.t.point, 55 if(result == TPM_RC_ECC_POINT) 61 while(result == TPM_RC_NO_RESULT); 63 if(result == TPM_RC_SUCCESS) 68 return result;
|
ECDH_ZGen.c | 27 TPM_RC result; local 51 result = CryptEccPointMultiply(&out->outPoint.t.point, 55 if(result != TPM_RC_SUCCESS) 56 return RcSafeAddToResult(result, RC_ECDH_ZGen_inPoint);
|
EvictControl.c | 29 TPM_RC result; local 35 result = NvIsAvailable(); 36 if(result != TPM_RC_SUCCESS) return result; 101 result = NvAddEvictObject(in->persistentHandle, evictObject); 102 if(result != TPM_RC_SUCCESS) return result;
|
GetCommandAuditDigest.c | 30 TPM_RC result; local 37 result = FillInAttestInfo(in->signHandle, 41 if(result != TPM_RC_SUCCESS) 43 if(result == TPM_RC_KEY) 46 return RcSafeAddToResult(result, RC_GetCommandAuditDigest_inScheme); 67 result = SignAttestInfo(in->signHandle, 74 if(result != TPM_RC_SUCCESS) 75 return result;
|
GetSessionAuditDigest.c | 31 TPM_RC result; local 49 result = FillInAttestInfo(in->signHandle, 53 if(result != TPM_RC_SUCCESS) 55 if(result == TPM_RC_KEY) 58 return RcSafeAddToResult(result, RC_GetSessionAuditDigest_inScheme); 78 result = SignAttestInfo(in->signHandle, 84 if(result != TPM_RC_SUCCESS) 85 return result;
|
GetTime.c | 30 TPM_RC result; local 37 result = FillInAttestInfo(in->signHandle, 41 if(result != TPM_RC_SUCCESS) 43 if(result == TPM_RC_KEY) 46 return RcSafeAddToResult(result, RC_GetTime_inScheme); 66 result = SignAttestInfo(in->signHandle, 72 if(result != TPM_RC_SUCCESS) 73 return result;
|
HierarchyControl.c | 21 TPM_RC result; local 104 result = NvIsAvailable(); 105 if(result != TPM_RC_SUCCESS) 106 return result;
|
LoadExternal.c | 37 TPM_RC result; local 70 result = SchemeChecks(TRUE, TPM_RH_NULL, &in->inPublic.t.publicArea); 71 if(result != TPM_RC_SUCCESS) 72 return RcSafeAddToResult(result, RC_LoadExternal_inPublic); 87 result = ObjectLoad(in->hierarchy, &in->inPublic.t.publicArea, 90 return result;
|
MakeCredential.c | 26 TPM_RC result = TPM_RC_SUCCESS; local 54 result = CryptSecretEncrypt(in->handle, "IDENTITY", &data, &out->secret); 55 if(result != TPM_RC_SUCCESS) 56 return result;
|
NV_Certify.c | 31 TPM_RC result; local 43 result = NvIsAvailable(); 44 if(result != TPM_RC_SUCCESS) 45 return result; 55 result = NvReadAccessChecks(in->authHandle, in->nvIndex); 56 if(result != TPM_RC_SUCCESS) 57 return result; 69 result = FillInAttestInfo(in->signHandle, 73 if(result != TPM_RC_SUCCESS) 75 if(result == TPM_RC_KEY [all...] |
NV_ChangeAuth.c | 22 TPM_RC result; local 28 result = NvIsAvailable(); 29 if(result != TPM_RC_SUCCESS) return result;
|
NV_DefineSpace.c | 28 TPM_RC result; local 36 result = NvIsAvailable(); 37 if(result != TPM_RC_SUCCESS) 38 return result; 155 result = NvDefineIndex(&in->publicInfo.t.nvPublic, &in->auth); 156 if(result != TPM_RC_SUCCESS) 157 return result;
|
NV_Increment.c | 24 TPM_RC result; local 32 result = NvWriteAccessChecks(in->authHandle, in->nvIndex); 33 if(result != TPM_RC_SUCCESS) 34 return result; 61 result = NvIsAvailable(); 62 if(result != TPM_RC_SUCCESS) 63 return result;
|
NV_Read.c | 29 TPM_RC result; local 39 result = NvReadAccessChecks(in->authHandle, in->nvIndex); 40 if(result != TPM_RC_SUCCESS) 41 return result;
|
NV_ReadLock.c | 25 TPM_RC result; local 31 result = NvIsAvailable(); 32 if(result != TPM_RC_SUCCESS) return result; 39 result = NvReadAccessChecks(in->authHandle, in->nvIndex); 40 if(result != TPM_RC_SUCCESS) 42 if(result == TPM_RC_NV_AUTHORIZATION) 45 else if(result == TPM_RC_NV_LOCKED)
|
NV_UndefineSpace.c | 24 TPM_RC result; local 30 result = NvIsAvailable(); 31 if(result != TPM_RC_SUCCESS) return result;
|
NV_UndefineSpaceSpecial.c | 22 TPM_RC result; local 28 result = NvIsAvailable(); 29 if(result != TPM_RC_SUCCESS) 30 return result;
|
NV_Write.c | 30 TPM_RC result; local 39 result = NvWriteAccessChecks(in->authHandle, in->nvIndex); 40 if(result != TPM_RC_SUCCESS) 41 return result;
|
NV_WriteLock.c | 26 TPM_RC result; local 33 result = NvWriteAccessChecks(in->authHandle, in->nvIndex); 34 if(result != TPM_RC_SUCCESS) 36 if(result == TPM_RC_NV_AUTHORIZATION) 57 result = NvIsAvailable(); 58 if(result != TPM_RC_SUCCESS) 59 return result;
|
PCR_Extend.c | 22 TPM_RC result; local 47 result = NvIsAvailable(); 48 if(result != TPM_RC_SUCCESS) return result;
|
PCR_SetAuthPolicy.c | 24 TPM_RC result; local 29 result = NvIsAvailable(); 30 if(result != TPM_RC_SUCCESS) return result;
|
PCR_SetAuthValue.c | 23 TPM_RC result; local 37 result = NvIsAvailable(); 38 if(result != TPM_RC_SUCCESS) return result;
|
PP_Commands.c | 17 TPM_RC result; local 22 result = NvIsAvailable(); 23 if(result != TPM_RC_SUCCESS) return result;
|
Quote.c | 26 TPM_RC result; local 35 result = FillInAttestInfo(in->signHandle, 39 if(result != TPM_RC_SUCCESS) 41 if(result == TPM_RC_KEY) 44 return RcSafeAddToResult(result, RC_Quote_inScheme); 75 result = SignAttestInfo(in->signHandle, 81 if(result != TPM_RC_SUCCESS) 82 return result;
|