All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] TPM2 engine support for openssl
@ 2016-12-31 22:48 James Bottomley
  2016-12-31 22:52 ` [PATCH 1/1] add TPM2 version of create_tpm2_key and libtpm2.so engine James Bottomley
  0 siblings, 1 reply; 16+ messages in thread
From: James Bottomley @ 2016-12-31 22:48 UTC (permalink / raw)
  To: tpmdd-devel, trousers-tech, ibmtpm20tss-users, openssl-dev

This is a completed version of the original RFC.  It's working now both
on the TPM2 simulator and on real hardware (I've converted my laptop to
TPM2).  I've updated it to use the latest version of the ASN.1 for the
key format (still using a TCG OID).

I have it building here (it's what I'm currently using for my laptop
VPNs):

https://build.opensuse.org/package/show/home:jejb1:Tumbleweed/openssl_tpm_engine

But note that this version also has experimental patches to activate
the in-kernel TPM Resource Manager because for multiple applications
TPM2 really doesn't work well without one.  Since the patch for the RM
is currently not upstream (yet), it's not going to work unless you have
a patched kernel.

James

---

James Bottomley (1):
  add TPM2 version of create_tpm2_key and libtpm2.so engine

 Makefile.am       |  12 +-
 create_tpm2_key.c | 451 +++++++++++++++++++++++++++++++++++++++++++
 e_tpm2.c          | 559 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tpm2-asn.h        |  59 ++++++
 tpm2-common.c     | 175 +++++++++++++++++
 tpm2-common.h     |  10 +
 6 files changed, 1264 insertions(+), 2 deletions(-)
 create mode 100644 create_tpm2_key.c
 create mode 100644 e_tpm2.c
 create mode 100644 tpm2-asn.h
 create mode 100644 tpm2-common.c
 create mode 100644 tpm2-common.h

-- 
2.6.6


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-01-10 19:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-31 22:48 [PATCH 0/1] TPM2 engine support for openssl James Bottomley
2016-12-31 22:52 ` [PATCH 1/1] add TPM2 version of create_tpm2_key and libtpm2.so engine James Bottomley
2017-01-03 23:11   ` [tpmdd-devel] " Jason Gunthorpe
     [not found]     ` <20170103231126.GE29656-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-01-03 23:19       ` Andrey Pronin
2017-01-03 23:22       ` [TrouSerS-tech] " James Bottomley
     [not found]         ` <1483485776.2464.50.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2017-01-03 23:40           ` Jason Gunthorpe
     [not found]             ` <20170103234053.GA32185-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-01-04  0:17               ` James Bottomley
     [not found]                 ` <1483489026.2464.76.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2017-01-04  0:42                   ` Jason Gunthorpe
     [not found]                     ` <20170104004217.GA390-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-01-04 18:48                       ` add TPM2 version of create_tpm2_key and libtpm2.so engine -> Hash algoritms Kenneth Goldman
     [not found]                         ` <OF69E51003.6475FD35-ON8525809E.00669529-8525809E.0067575C-8eTO7WVQ4XIsd+ienQ86orlN3bxYEBpz@public.gmane.org>
2017-01-04 18:54                           ` Jason Gunthorpe
2017-01-04 19:45                             ` [Ibmtpm20tss-users] [tpmdd-devel] " James Bottomley
     [not found]                               ` <1483559121.2561.67.camel-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-01-04 20:58                                 ` [Ibmtpm20tss-users] " Kenneth Goldman
     [not found]                             ` <20170104185434.GA12614-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-01-04 20:55                               ` Kenneth Goldman
2017-01-04 12:25             ` [tpmdd-devel] [PATCH 1/1] add TPM2 version of create_tpm2_key and libtpm2.so engine Jarkko Sakkinen
2017-01-04 18:05           ` [Ibmtpm20tss-users] [TrouSerS-tech] " Kenneth Goldman
2017-01-10 19:38         ` Ken Goldman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.