Home | History | Annotate | Download | only in tpm2

Lines Matching refs:result

14   TPM_RC result = TPM_RC_SUCCESS;
18 result = TPM2B_DIGEST_Unmarshal(&target->authPolicy, buffer, size);
19 if (result != TPM_RC_SUCCESS) {
20 return result;
22 result = TPMI_ALG_HASH_Unmarshal(&target->hashAlg, buffer, size, TRUE);
23 if (result != TPM_RC_SUCCESS) {
24 return result;
26 if ((result == TPM_RC_SUCCESS) && *size) {
27 result = TPM_RC_SIZE;
29 return result;
38 TPM_RC result = TPM_RC_SUCCESS;
47 result = SetPrimaryPolicy_In_Unmarshal(&in, request_handles,
50 if (result != TPM_RC_SUCCESS) {
51 return result;
54 result = TPM2_SetPrimaryPolicy(&in);
55 if (result != TPM_RC_SUCCESS) {
56 return result;