Lines Matching refs:nonceodd
457 unsigned char nonceodd[TPM_NONCE_SIZE]; member
501 ret = tpm_get_random(chip, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
523 sess.enonce, td->nonceodd, cont, in tpm_seal()
531 sess.enonce, td->nonceodd, cont, in tpm_seal()
549 tpm_buf_append(tb, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
565 ret = TSS_checkhmac1(tb->data, ordinal, td->nonceodd, sess.secret, in tpm_seal()
588 unsigned char nonceodd[TPM_NONCE_SIZE]; in tpm_unseal() local
612 ret = tpm_get_random(chip, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
621 enonce1, nonceodd, cont, sizeof(uint32_t), in tpm_unseal()
626 enonce2, nonceodd, cont, sizeof(uint32_t), in tpm_unseal()
636 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
640 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
651 ret = TSS_checkhmac2(tb->data, ordinal, nonceodd, in tpm_unseal()