Searched refs:antiReplay (Results 1 – 1 of 1) sorted by relevance
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/ |
A D | tpm.c | 631 TPM_DIGEST antiReplay; in TPM_ReadPubek() local 636 vtpmmgr_rand(antiReplay.digest, TPM_DIGEST_SIZE); in TPM_ReadPubek() 640 PACK_IN(TPM_DIGEST, &antiReplay); in TPM_ReadPubek() 651 sha1_update(&ctx, antiReplay.digest, TPM_DIGEST_SIZE); in TPM_ReadPubek() 654 UNPACK_OUT(TPM_DIGEST, &antiReplay); in TPM_ReadPubek() 659 if(memcmp(digest, antiReplay.digest, TPM_DIGEST_SIZE)) { in TPM_ReadPubek() 727 TPM_NONCE antiReplay; in TPM_CreateEndorsementKeyPair() local 731 vtpmmgr_rand(antiReplay.nonce, sizeof(antiReplay.nonce)); in TPM_CreateEndorsementKeyPair() 733 PACK_IN(TPM_NONCE, &antiReplay); in TPM_CreateEndorsementKeyPair() 744 sha1_update(&ctx, antiReplay.nonce, sizeof(antiReplay.nonce)); in TPM_CreateEndorsementKeyPair()
|
Completed in 4 milliseconds