Lines Matching refs:nonceodd
451 unsigned char nonceodd[TPM_NONCE_SIZE]; member
495 ret = tpm_get_random(TPM_ANY_NUM, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
511 sess.enonce, td->nonceodd, cont, in tpm_seal()
519 sess.enonce, td->nonceodd, cont, in tpm_seal()
540 storebytes(tb, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
556 ret = TSS_checkhmac1(tb->data, ordinal, td->nonceodd, sess.secret, in tpm_seal()
579 unsigned char nonceodd[TPM_NONCE_SIZE]; in tpm_unseal() local
605 ret = tpm_get_random(TPM_ANY_NUM, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
611 enonce1, nonceodd, cont, sizeof(uint32_t), in tpm_unseal()
616 enonce2, nonceodd, cont, sizeof(uint32_t), in tpm_unseal()
629 storebytes(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
633 storebytes(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
644 ret = TSS_checkhmac2(tb->data, ordinal, nonceodd, in tpm_unseal()