Home | History | Annotate | Download | only in tpm2

Lines Matching defs:result

29   // Compute actual parameter_size. Don't add result to total_size.
42 TPM_RC result = TPM_RC_SUCCESS;
47 result = TPM2B_NONCE_Unmarshal(&target->nonceTPM, buffer, size);
48 if (result != TPM_RC_SUCCESS) {
49 return result;
51 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size);
52 if (result != TPM_RC_SUCCESS) {
53 return result;
55 result = TPM2B_NONCE_Unmarshal(&target->policyRef, buffer, size);
56 if (result != TPM_RC_SUCCESS) {
57 return result;
59 result = INT32_Unmarshal(&target->expiration, buffer, size);
60 if (result != TPM_RC_SUCCESS) {
61 return result;
63 if ((result == TPM_RC_SUCCESS) && *size) {
64 result = TPM_RC_SIZE;
66 return result;
75 TPM_RC result = TPM_RC_SUCCESS;
87 result =
90 if (result != TPM_RC_SUCCESS) {
91 return result;
94 result = TPM2_PolicySecret(&in, &out);
95 if (result != TPM_RC_SUCCESS) {
96 return result;