From: Kylene Hall <kjhall@us.ibm.com>
To: David Kyle <david.kyle@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: TPM module: lack of internal kernel interface
Date: Fri, 25 Aug 2006 17:33:08 -0700 [thread overview]
Message-ID: <44EF96C4.6020505@us.ibm.com> (raw)
In-Reply-To: <361d23520608251411g256804d8t678a98e0ff552454@mail.gmail.com>
David-
I wouldn't have a problem with this. In fact all that should be
necessary is to export the tpm_transmit function and maybe a way to get
the tpm_chip struct for the particular tpm you want since the driver is
setup to handle multiple tpms. We have played around with only
exporting functions that were necessary (such as tpm_extend for work we
have done but if there is a usecase for that it should work.
Thanks,
Kylie
David Kyle wrote:
> I'm currently working on implementing a trusted computing system using
> the linux TPM driver, similar to enforcer
> (http://enforcer.sourceforge.net). As my project involves kernel
> modifications that are highly unlikely to be of use within the
> mainstream kernel, I am attempting to confine my kernel-level work to
> a linux security module, so that my system will hopefully not be
> affected too heavily by newer kernel versions.
>
> Hovever, I have run into difficulty since the TPM driver included in
> the kernel doesn't include a internal interface for TPM access from
> within the kernel itself. There is only a userspace character device
> interface. Is there in fact an internal TPM interface I'm not seeing?
> If not, is there a particular reason why there isn't (and shouldn't
> be) one?
>
> It seems to me that it would be important to have such an interface
> for any trusted computing system. Enforcer uses it's own tpm kernel
> driver, which I'd definately like to avoid doing with my project.
>
> If I were to extend the existing TPM driver with an internal kernel
> interface, would it likely be included in the mainstream kernel?
>
> Thanks,
> David Kyle
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2006-08-26 0:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-25 21:11 TPM module: lack of internal kernel interface David Kyle
2006-08-26 0:33 ` Kylene Hall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44EF96C4.6020505@us.ibm.com \
--to=kjhall@us.ibm.com \
--cc=david.kyle@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox