Home
last modified time | relevance | path

Searched refs:nonce (Results 1 – 12 of 12) sorted by relevance

/xen/xen/arch/x86/
A Dtboot.c210 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 Dvtpm-deepquote.patch11 + 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 Dvtpm-deepquote-anyloc.patch7 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 Dvtpm-parent-sign-ek.patch11 + 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 Dvtpm-implicit-fallthrough.patch4 sizeof(rsp->auth2->nonceOdd.nonce));
/xen/stubdom/vtpmmgr/
A Dtpm.c221 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 Dtpm2_marshal.h184 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 Dmarshal.h441 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 Dtcg.h481 BYTE nonce[TPM_DIGEST_SIZE]; member
A Dtpm2_types.h911 TPM2B_NONCE nonce; member
A Dinit.c521 auth->nonce.size = 0; in tpm2_AuthArea_ctor()
/xen/xen/crypto/
A Dvmac.c1078 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()

Completed in 32 milliseconds