Lines Matching refs:sess
465 struct osapsess sess; in tpm_seal() local
483 ret = osap(tb, &sess, keyauth, keytype, keyhandle); in tpm_seal()
486 dump_sess(&sess); in tpm_seal()
489 memcpy(td->xorwork, sess.secret, SHA1_DIGEST_SIZE); in tpm_seal()
490 memcpy(td->xorwork + SHA1_DIGEST_SIZE, sess.enonce, SHA1_DIGEST_SIZE); in tpm_seal()
510 ret = TSS_authhmac(td->pubauth, sess.secret, SHA1_DIGEST_SIZE, in tpm_seal()
511 sess.enonce, td->nonceodd, cont, in tpm_seal()
518 ret = TSS_authhmac(td->pubauth, sess.secret, SHA1_DIGEST_SIZE, in tpm_seal()
519 sess.enonce, td->nonceodd, cont, in tpm_seal()
539 store32(tb, sess.handle); in tpm_seal()
556 ret = TSS_checkhmac1(tb->data, ordinal, td->nonceodd, sess.secret, in tpm_seal()