Searched refs:TPM_DIGEST_SIZE (Results 1 – 3 of 3) sorted by relevance
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/ |
A D | tpm.c | 227 BYTE XORkey[TPM_DIGEST_SIZE]; in xorEncrypt() 235 for(int i = 0; i < TPM_DIGEST_SIZE; ++i) { in xorEncrypt() 240 for(int i = 0; i < TPM_DIGEST_SIZE; ++i) { in xorEncrypt() 329 vtpmmgr_rand(nonceOddOSAP.digest, TPM_DIGEST_SIZE); in TPM_OSAP() 343 sha1_hmac_starts(&ctx, *usageAuth, TPM_DIGEST_SIZE); in TPM_OSAP() 345 sha1_hmac_update(&ctx, nonceOddOSAP.digest, TPM_DIGEST_SIZE); in TPM_OSAP() 348 out_pos += TPM_DIGEST_SIZE; in TPM_OSAP() 633 BYTE digest[TPM_DIGEST_SIZE]; in TPM_ReadPubek() 636 vtpmmgr_rand(antiReplay.digest, TPM_DIGEST_SIZE); in TPM_ReadPubek() 651 sha1_update(&ctx, antiReplay.digest, TPM_DIGEST_SIZE); in TPM_ReadPubek() [all …]
|
A D | marshal.h | 313 return pack_BUFFER(ptr, *d, TPM_DIGEST_SIZE); in pack_TPM_AUTHDATA() 318 return unpack_BUFFER(ptr, *d, TPM_DIGEST_SIZE); in unpack_TPM_AUTHDATA() 323 return unpack3_BUFFER(ptr, pos, len, *d, TPM_DIGEST_SIZE); in unpack3_TPM_AUTHDATA() 326 #define sizeof_TPM_AUTHDATA(d) TPM_DIGEST_SIZE 406 return pack_BUFFER(ptr, d->digest, TPM_DIGEST_SIZE); in pack_TPM_DIGEST() 411 return unpack_BUFFER(ptr, d->digest, TPM_DIGEST_SIZE); in unpack_TPM_DIGEST() 419 #define sizeof_TPM_DIGEST(d) TPM_DIGEST_SIZE 428 #define sizeof_TPM_COMPOSITE_HASH(d) TPM_DIGEST_SIZE 441 return pack_BUFFER(ptr, n->nonce, TPM_DIGEST_SIZE); in pack_TPM_NONCE() 446 return unpack_BUFFER(ptr, n->nonce, TPM_DIGEST_SIZE); in unpack_TPM_NONCE() [all …]
|
A D | tcg.h | 430 #define TPM_DIGEST_SIZE 20 // Don't change this macro 431 typedef BYTE TPM_AUTHDATA[TPM_DIGEST_SIZE]; 471 BYTE digest[TPM_DIGEST_SIZE]; 481 BYTE nonce[TPM_DIGEST_SIZE];
|
Completed in 11 milliseconds