Home | History | Annotate | Download | only in tpm2

Lines Matching refs:tpmKey

14 //     TPM_RC_ATTRIBUTES                 tpmKey does not reference a decrypt key
25 // is larger than the digest size of the nameAlg of tpmKey; or, for an
27 // exponent of tpmKey.
36 OBJECT *tpmKey; // TPM key for decrypt salt
49 if(in->tpmKey != TPM_RH_NULL)
56 tpmKey = ObjectGet(in->tpmKey);
60 if(tpmKey->attributes.publicOnly)
64 // tpmKey should be a decryption key
65 if(tpmKey->publicArea.objectAttributes.decrypt != SET)
70 result = CryptSecretDecrypt(in->tpmKey, &in->nonceCaller, "SECRET",