1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 8fee6c1ce6 gpg: Finish experimental support for Ed25519.
* agent/cvt-openpgp.c (try_do_unprotect_arg_s): Add field "curve".
(get_keygrip): Add and use arg CURVE.
(convert_secret_key): Ditto.
(convert_transfer_key): Ditto.
(get_npkey_nskey): New.
(prepare_unprotect): Replace gcrypt functions by
get_npkey_nskey.  Allow opaque MPIs.
(do_unprotect): Use CURVE instead of parameters.
(convert_from_openpgp_main): Ditto.
(convert_to_openpgp):  Simplify.
* g10/import.c (one_mpi_from_pkey): Remove.
(transfer_secret_keys): Rewrite to use the curve instead of the
parameters.
* g10/parse-packet.c (parse_key): Mark protected MPIs with USER1 flag.

* common/openpgp-oid.c (openpgp_curve_to_oid): Allow the use of
 "NIST P-256" et al.
* g10/keygen.c (ask_curve): Add arg ALGO.
(generate_keypair): Rewrite the ECC key logic.

* tests/openpgp/ecc.test: Provide the "ecc" passphrase.
2014-05-07 13:27:43 +02:00
..
2010-10-14 16:34:31 +00:00
2007-10-25 09:06:21 +00:00
2007-10-25 09:06:21 +00:00
2010-06-07 13:33:02 +00:00
2007-10-25 09:06:21 +00:00
2006-10-02 11:54:35 +00:00
2010-05-07 13:13:56 +00:00
2010-05-07 13:13:56 +00:00
2010-10-14 16:34:31 +00:00
2014-03-17 18:14:23 +01:00
2007-10-25 09:06:21 +00:00
2007-10-25 09:06:21 +00:00
2010-10-14 16:34:31 +00:00
2010-10-14 16:36:47 +00:00
2013-11-15 15:49:34 +01:00
2014-02-10 10:41:48 +01:00
2010-10-14 16:34:31 +00:00
2010-10-14 16:34:31 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2007-10-25 09:06:21 +00:00