Lines Matching refs:TPM_NONCE_SIZE

164 				  paramdigest, TPM_NONCE_SIZE, h1,  in TSS_authhmac()
165 TPM_NONCE_SIZE, h2, 1, &c, 0, 0); in TSS_authhmac()
205 enonce = continueflag - TPM_NONCE_SIZE; in TSS_checkhmac1()
240 TPM_NONCE_SIZE, enonce, TPM_NONCE_SIZE, ononce, in TSS_checkhmac1()
296 enonce1 = continueflag1 - TPM_NONCE_SIZE; in TSS_checkhmac2()
297 enonce2 = continueflag2 - TPM_NONCE_SIZE; in TSS_checkhmac2()
333 paramdigest, TPM_NONCE_SIZE, enonce1, in TSS_checkhmac2()
334 TPM_NONCE_SIZE, ononce, 1, continueflag1, 0, 0); in TSS_checkhmac2()
342 paramdigest, TPM_NONCE_SIZE, enonce2, in TSS_checkhmac2()
343 TPM_NONCE_SIZE, ononce, 1, continueflag2, 0, 0); in TSS_checkhmac2()
396 unsigned char enonce[TPM_NONCE_SIZE]; in osap()
397 unsigned char ononce[TPM_NONCE_SIZE]; in osap()
400 ret = tpm_get_random(TPM_ANY_NUM, ononce, TPM_NONCE_SIZE); in osap()
401 if (ret != TPM_NONCE_SIZE) in osap()
410 storebytes(tb, ononce, TPM_NONCE_SIZE); in osap()
418 TPM_NONCE_SIZE); in osap()
420 TPM_NONCE_SIZE]), TPM_NONCE_SIZE); in osap()
421 return TSS_rawhmac(s->secret, key, SHA1_DIGEST_SIZE, TPM_NONCE_SIZE, in osap()
422 enonce, TPM_NONCE_SIZE, ononce, 0, 0); in osap()
442 TPM_NONCE_SIZE); in oiap()
451 unsigned char nonceodd[TPM_NONCE_SIZE];
495 ret = tpm_get_random(TPM_ANY_NUM, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
496 if (ret != TPM_NONCE_SIZE) in tpm_seal()
540 storebytes(tb, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
579 unsigned char nonceodd[TPM_NONCE_SIZE]; in tpm_unseal()
580 unsigned char enonce1[TPM_NONCE_SIZE]; in tpm_unseal()
581 unsigned char enonce2[TPM_NONCE_SIZE]; in tpm_unseal()
605 ret = tpm_get_random(TPM_ANY_NUM, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
606 if (ret != TPM_NONCE_SIZE) { in tpm_unseal()
610 ret = TSS_authhmac(authdata1, keyauth, TPM_NONCE_SIZE, in tpm_unseal()
615 ret = TSS_authhmac(authdata2, blobauth, TPM_NONCE_SIZE, in tpm_unseal()
629 storebytes(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
633 storebytes(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()