Home | History | Annotate | Download | only in tpm2

Lines Matching defs:oldParent

16 //     TPM_RC_HANDLE                 oldParent does not consistent with inSymSeed
20 // symmetric algorithm key size of oldParent
21 // TPM_RC_TYPE oldParent is not a storage key, or 'newParent is not a storage key
22 // TPM_RC_VALUE for an 'oldParent; RSA key, the data to be decrypted is greater than
34 OBJECT *oldParent;
43 if((in->inSymSeed.t.size == 0 && in->oldParent != TPM_RH_NULL)
44 || (in->inSymSeed.t.size != 0 && in->oldParent == TPM_RH_NULL))
47 if(in->oldParent != TPM_RH_NULL)
50 oldParent = ObjectGet(in->oldParent);
53 if(!ObjectIsStorage(in->oldParent))
59 result = CryptSecretDecrypt(in->oldParent, NULL,
65 result = UnwrapOuter(in->oldParent, &in->name,
66 oldParent->publicArea.nameAlg, (TPM2B_SEED *) &data,
74 CryptGetHashDigestSize(oldParent->publicArea.nameAlg);