/xen/xen/arch/x86/ |
A D | tboot.c | 210 uint8_t nonce[16] = {}; in tboot_gen_domain_integrity() local 241 *mac = vmac(NULL, 0, nonce, NULL, &ctx); in tboot_gen_domain_integrity() 274 uint8_t nonce[16] = {}; in tboot_gen_xenheap_integrity() local 303 *mac = vmac(NULL, 0, nonce, NULL, &ctx); in tboot_gen_xenheap_integrity() 314 uint8_t nonce[16] = {}; in tboot_gen_frametable_integrity() local 332 *mac = vmac(NULL, 0, nonce, NULL, &ctx); in tboot_gen_frametable_integrity()
|
/xen/stubdom/ |
A D | vtpm-deepquote.patch | 11 + TPM_NONCE nonce; 24 + if (tpm_unmarshal_TPM_NONCE(&ptr, &len, &nonce) 29 + res = TPM_DeepQuote(&nonce, &myPCR, &ptPCR, &req->auth1, &sigSize, &sig); 67 + * @externalData: [in] AntiReplay nonce to prevent replay of messages 131 + tpm_sha1_update(&ctx, externalData->nonce, 20);
|
A D | vtpm-deepquote-anyloc.patch | 7 TPM_NONCE nonce; 22 if (tpm_unmarshal_TPM_NONCE(&ptr, &len, &nonce) 28 - res = TPM_DeepQuote(&nonce, &myPCR, &ptPCR, &req->auth1, &sigSize, &sig); 29 + res = TPM_DeepQuote(&nonce, &myPCR, &ptPCR, &req->auth1, extraInfoFlags,
|
A D | vtpm-parent-sign-ek.patch | 11 + TPM_NONCE nonce; 23 + if (tpm_unmarshal_TPM_NONCE(&ptr, &len, &nonce) 27 + res = TPM_ParentSignEK(&nonce, &targetPCR, &req->auth1, &sigSize, &sig); 65 + * @externalData: [in] AntiReplay nonce to prevent replay of messages
|
A D | vtpm-implicit-fallthrough.patch | 4 sizeof(rsp->auth2->nonceOdd.nonce));
|
/xen/stubdom/vtpmmgr/ |
A D | tpm.c | 221 TPM_NONCE* nonce, in xorEncrypt() argument 230 ptr = pack_TPM_NONCE(ptr, nonce); in xorEncrypt() 252 vtpmmgr_rand((BYTE*)auth->NonceOdd.nonce, sizeof(TPM_NONCE)); in generateAuth() 731 vtpmmgr_rand(antiReplay.nonce, sizeof(antiReplay.nonce)); in TPM_CreateEndorsementKeyPair() 744 sha1_update(&ctx, antiReplay.nonce, sizeof(antiReplay.nonce)); in TPM_CreateEndorsementKeyPair()
|
A D | tpm2_marshal.h | 184 inline BYTE* pack_TPM2B_NONCE(BYTE* ptr, const TPM2B_NONCE *nonce) in pack_TPM2B_NONCE() argument 186 return pack_TPM2B_DIGEST(ptr, (const TPM2B_DIGEST*)nonce); in pack_TPM2B_NONCE() 189 #define unpack_TPM2B_NONCE(ptr, nonce) unpack_TPM2B_DIGEST(ptr, (TPM2B_DIGEST*)nonce) argument 698 ptr = pack_TPM2B_NONCE(ptr, &auth->nonce); in pack_TPM_AuthArea() 710 ptr = unpack_TPM2B_NONCE(ptr, &auth->nonce); in unpack_TPM_AuthArea()
|
A D | marshal.h | 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() 453 return unpack3_BUFFER(ptr, pos, max, n->nonce, TPM_DIGEST_SIZE); in unpack3_TPM_NONCE()
|
A D | tcg.h | 481 BYTE nonce[TPM_DIGEST_SIZE]; member
|
A D | tpm2_types.h | 911 TPM2B_NONCE nonce; member
|
A D | init.c | 521 auth->nonce.size = 0; in tpm2_AuthArea_ctor()
|
/xen/xen/crypto/ |
A D | vmac.c | 1078 ALIGN(4) unsigned char nonce[] = "\0\0\0\0\0\0\0\0bcdefghi"; in main() 1131 res = vmac(m, vector_lengths[i], nonce, &tagl, &ctx); in main() 1148 res = vmac(m, speed_lengths[i], nonce, &tagl, &ctx); in main() 1149 nonce[7]++; in main()
|