gnupg/agent
James Bottomley 06c0d7f28f
build: Make TPM2 support conditional
* configure.ac (HAVE_LIBTSS): New acdefine and am_conditional.
* agent/Makefile.am: (gpg_agent_SOURCES): Move tpm files to ...
(gpg_agent_SOURCES) [HAVE_LIBTSS]: ... here.
* agent/agent.h (divert_tpm2_pksign, divert_tpm2_pkdecrypt)
(divert_tpm2_writekey) [!HAVE_LIBTSS]: Add stub functions.

--
This adds a configure stanza to check for the necessary libtss to
support TPM functions.  If found, the library functions will be
dynamically loaded, meaning that a system built with TPM2 support will
still execute correctly (obviously minus TPM2 support) if installed
without libtss being present.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2018-03-12 10:06:44 +01:00
..
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
Makefile.am build: Make TPM2 support conditional 2018-03-12 10:06:44 +01:00
agent.h build: Make TPM2 support conditional 2018-03-12 10:06:44 +01:00
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
cache.c agent: Also evict cached items via a timer. 2018-03-06 16:22:42 +01:00
call-pinentry.c agent: Clean up pinentry access locking. 2017-10-27 14:15:58 +02:00
call-scd.c agent: Fix cancellation handling for scdaemon. 2017-09-20 10:42:28 +09:00
command-ssh.c agent: Fix sending connecting process uid to pinentry. 2018-01-26 10:52:56 +09:00
command.c agent: Minor cleanup of the TPM patches. 2018-03-09 10:36:14 +01:00
cvt-openpgp.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
divert-tpm2.c agent: Minor cleanup of the TPM patches. 2018-03-09 10:36:14 +01:00
findkey.c agent: expose shadow key type 2018-03-09 08:31:17 +01:00
genkey.c agent: Use MAX_PASSPHRASE_LEN (255) also for the loopback. 2017-07-05 11:54:45 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: Also evict cached items via a timer. 2018-03-06 16:22:42 +01:00
keyformat.txt doc: Fix Dijkstra 2017-12-08 07:40:06 +01:00
learncard.c agent: Fix returning GPG_ERR_NOT_FOUND wrongly. 2017-11-02 17:04:03 +01:00
pkdecrypt.c agent: plumb in TPM handling 2018-03-09 10:01:59 +01:00
pksign.c agent: plumb in TPM handling 2018-03-09 10:01:59 +01:00
preset-passphrase.c Fix usage of ARGPARSE_OPTS. 2017-07-19 13:41:18 +09:00
protect-tool.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
protect.c agent: Minor cleanup of the TPM patches. 2018-03-09 10:36:14 +01:00
t-protect.c agent: Fix description of shadow format. 2017-12-08 09:19:50 +09:00
tpm2.c tpm2: add handling for elliptic curve keys 2018-03-09 10:15:25 +01:00
tpm2.h tpm2: add handling for elliptic curve keys 2018-03-09 10:15:25 +01:00
trans.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trustlist.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
w32main.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00