Lines Matching refs:digest
138 sha1_finish(&sha1_ctx, paramDigest.digest); \
149 sha1_finish(&sha1_ctx, paramDigest.digest); \
179 sha1_finish(&sha1_ctx, paramDigest.digest); \
191 sha1_finish(&sha1_ctx, paramDigest.digest); \
329 vtpmmgr_rand(nonceOddOSAP.digest, TPM_DIGEST_SIZE); in TPM_OSAP()
345 sha1_hmac_update(&ctx, nonceOddOSAP.digest, TPM_DIGEST_SIZE); in TPM_OSAP()
633 BYTE digest[TPM_DIGEST_SIZE]; in TPM_ReadPubek() local
636 vtpmmgr_rand(antiReplay.digest, TPM_DIGEST_SIZE); in TPM_ReadPubek()
651 sha1_update(&ctx, antiReplay.digest, TPM_DIGEST_SIZE); in TPM_ReadPubek()
652 sha1_finish(&ctx, digest); in TPM_ReadPubek()
659 if(memcmp(digest, antiReplay.digest, TPM_DIGEST_SIZE)) { in TPM_ReadPubek()
745 sha1_finish(&ctx, hash.digest); in TPM_CreateEndorsementKeyPair()
751 if (memcmp(checksum.digest, hash.digest, TPM_DIGEST_SIZE)) { in TPM_CreateEndorsementKeyPair()