1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-24 15:17:02 +01:00
James Bottomley 72ece35fb7
tpm2: add handling for elliptic curve keys
* agent/divert-tpm2.c: Support ECC.

--
This adds handling for the way gnupg does elliptic keys, namely ECDSA
for signatures and using ECDH with an ephemeral key to generate an
encrypted message.  The main problem is that the TPM2 usually has a
very small list of built in curves and it won't handle any others.
Thanks to TCG mandates, all TPM2 systems in the USA should come with
NIST P-256, but do not come with the Bernstien curve 25519, so the
only way to use the TPM2 to protect an elliptic curve key is first to
create it with a compatible algorithm.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2018-03-09 10:15:25 +01:00
..
2018-03-09 10:01:59 +01:00
2015-10-28 10:20:17 +01:00
2018-03-09 10:01:59 +01:00
2018-03-09 08:31:17 +01:00
2017-12-08 07:40:06 +01:00
2018-03-09 10:01:59 +01:00
2018-03-09 10:01:59 +01:00
2018-03-09 10:01:59 +01:00
2018-03-09 08:31:17 +01:00
2017-03-07 19:22:48 +09:00