Lines Matching refs:tpmKey
2266 The type of tpmKey determines how the value in encryptedSalt is encrypted. The decrypted secret val…
2269 NOTE 1 If tpmKey Is TPM_RH_NULL, then encryptedSalt is required to be an Empty Buffer.
2274 No authorization is required for tpmKey or bind.
2276 NOTE 2 The justification for using tpmKey without providing authorization is that the res…
2283 If both tpmKey and bind are TPM_ALG_NULL, then sessionKey is set to the Empty Buffer. If tpmKey is
2295 If tpmKey is not TPM_ALG_NULL then encryptedSalt shall be a TPM2B_ENCRYPTED_SECRET of the
2296 proper type for tpmKey. The TPM shall return TPM_RC_HANDLE if the sensitive portion of tpmKey is not
2298 a) tpmKey references an RSA key and
2299 1) encryptedSalt does not contain a value that is the size of the public modulus of tpmKey,
2300 2) encryptedSalt has a value that is greater than the public modulus of tpmKey,
2302 …) the decrypted salt value is larger than the size of the digest produced by the nameAlg of tpmKey;
2310 b) tpmKey references an ECC key and encryptedSalt
2312 2) is not a point on the curve of tpmKey;
2316 … and the result will be set to be the size of the digest produced by the nameAlg of tpmKey.
2318 c) tpmKey references a symmetric block cipher or a keyedHash object and encryptedSalt contains a
2319 value that is larger than the size of the digest produced by the nameAlg of tpmKey.
2368 TPMI_DH_OBJECT+ tpmKey may be TPM_RH_NULL
2377 value encrypted according to the type of tpmKey
2378 TPM2B_ENCRYPTED_SECRET encryptedSalt If tpmKey is TPM_RH_NULL, this shall be the Empty
2421 TPM_RC_ATTRIBUTES tpmKey does not reference a decrypt key
2432 … is larger than the digest size of the nameAlg of tpmKey; or, for an
2434 exponent of tpmKey.
2443 11 OBJECT *tpmKey; // TPM key for decrypt salt
2456 24 if(in->tpmKey != TPM_RH_NULL)
2463 31 tpmKey = ObjectGet(in->tpmKey);
2467 35 if(tpmKey->attributes.publicOnly)
2476 39 // tpmKey should be a decryption key
2477 40 if(tpmKey->publicArea.objectAttributes.decrypt != SET)
2482 45 result = CryptSecretDecrypt(in->tpmKey, &in->nonceCaller, "SECRET",