Lines Matching refs:nonceodd
460 unsigned char nonceodd[TPM_NONCE_SIZE]; member
504 ret = tpm_get_random(chip, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
520 sess.enonce, td->nonceodd, cont, in tpm_seal()
528 sess.enonce, td->nonceodd, cont, in tpm_seal()
549 storebytes(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
614 ret = tpm_get_random(chip, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
620 enonce1, nonceodd, cont, sizeof(uint32_t), in tpm_unseal()
625 enonce2, nonceodd, cont, sizeof(uint32_t), in tpm_unseal()
638 storebytes(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
642 storebytes(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
653 ret = TSS_checkhmac2(tb->data, ordinal, nonceodd, in tpm_unseal()