Lines Matching refs:rpHash
2588 595 // TPM will extend the cpHash and rpHash for the command to this value. If this
3347 40 // generating the rpHash.
3350 43 // These values go in the rpHash.
5409 … Function to compute rpHash (Response Parameter Hash). The rpHash is only computed if there is an
5414 1308 TPM_ALG_ID hashAlg, // IN: hash algorithm to compute rpHash
5418 1312 TPM2B_DIGEST *rpHash // OUT: rpHash
5421 1315 // The command result in rpHash is always TPM_RC_SUCCESS.
5425 1319 // rpHash := hash(responseCode || commandCode || parameters)
5433 1322 rpHash->t.size = CryptStartHash(hashAlg, &hashState);
5441 1330 CryptCompleteHash2B(&hashState, &rpHash->b);
5486 1363 TPM2B_DIGEST rpHash; // rpHash for response
5489 1366 // Compute rpHash
5494 1371 &rpHash);
5501 1373 // auditDigestnew := hash (auditDigestold || cpHash || rpHash)
5509 1381 // Add cpHash and rpHash.
5511 1383 CryptUpdateDigest2B(&hashState, &rpHash.b);
5534 1400 TPM2B_DIGEST rpHash; // rpHash for response
5537 1403 // Compute rpHash.
5539 1405 resParmBuffer, &rpHash);
5574 1434 // auditDigestnew := hash (auditDigestold || cpHash || rpHash)
5585 1445 // Add rpHash
5586 1446 CryptUpdateDigest2B(&hashState, &rpHash.b);
5711 1543 // Compute rpHash.
5925 1713 // happen after nonce update and before any rpHash is computed.