1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-02 22:38:02 +02:00
gnupg/g10
Werner Koch 402aa0f948 gpg: Rework ECC support and add experimental support for Ed25519.
* agent/findkey.c (key_parms_from_sexp): Add algo name "ecc".
(agent_is_dsa_key): Ditto.
(agent_is_eddsa_key): New.  Not finished, though.
* agent/pksign.c (do_encode_eddsa): New.
(agent_pksign_do): Use gcry_log_debug functions.
* agent/protect.c (agent_protect): Parse a flags parameter.
* g10/keygen.c (gpg_curve_to_oid): Move to ...
* common/openpgp-oid.c (openpgp_curve_to_oid): here and rename.
(oid_ed25519): New.
(openpgp_oid_is_ed25519): New.
(openpgp_oid_to_curve): New.
* common/t-openpgp-oid.c (test_openpgp_oid_is_ed25519): New.
* g10/build-packet.c (gpg_mpi_write): Write the length header also for
opaque MPIs.
(gpg_mpi_write_nohdr): New.
(do_key): Use gpg_mpi_write_nohdr depending on algorithm.
(do_pubkey_enc): Ditto.
* g10/ecdh.c (pk_ecdh_encrypt_with_shared_point): Use
gpg_mpi_write_nohdr.
* g10/export.c (transfer_format_to_openpgp):
* g10/keygen.c (ecckey_from_sexp): Return the error.
(gen_ecc): Repalce arg NBITS by CURVE.
(read_parameter_file): Add keywords "Key-Curve" and "Subkey-Curve".
(ask_curve): New.
(generate_keypair, generate_subkeypair): Use ask_curve.
(do_generate_keypair): Also pass curve name.
* g10/keylist.c (list_keyblock_print, list_keyblock_colon): Print
curve name.
* g10/parse-packet.c (mpi_read): Remove workaround for
Libcgrypt < 1.5.
(parse_key): Fix ECC case.  Print the curve name.
* g10/pkglue.c (mpi_from_sexp): Rename to get_mpi_from_sexp.
(pk_verify, pk_check_secret_key): Add special case for Ed25519.
* g10/seskey.c (encode_md_value): Ditto.
* g10/sign.c (do_sign, hash_for, sign_file): Ditto.
--

Be warned that this code is subject to further changes and that the
format will very likely change before a release.  There are also known
bugs and missing code.

Signed-off-by: Werner Koch <wk@gnupg.org>
2013-11-15 09:01:11 +01:00
..
armor.c Fix faulty gcc warnings 2011-03-03 12:40:54 +01:00
build-packet.c gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
call-agent.c gpg: Make decryption with the OpenPGP card work. 2013-08-28 17:40:32 +02:00
call-agent.h gpg: Make decryption with the OpenPGP card work. 2013-08-28 17:40:32 +02:00
call-dirmngr.c Use has_leading_keyword in the assuan callbacks. 2013-02-22 10:56:13 +01:00
call-dirmngr.h Require libgcrypt 1.5 2011-03-08 12:23:59 +01:00
card-util.c gpg: fix keytocard and support ECC card for key attribute. 2013-02-22 11:00:27 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
cipher.c Replace gcry_md_start_debug by gcry_md_debug. 2011-09-20 09:54:27 +02:00
comment.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
compress-bz2.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
compress.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
cpr.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
dearmor.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
decrypt-data.c Replace gcry_md_start_debug by gcry_md_debug. 2011-09-20 09:54:27 +02:00
decrypt.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
delkey.c gpg: Remove a function wrapper. 2013-01-08 09:43:21 +01:00
ecdh.c gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
encrypt.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
exec.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
exec.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
export.c gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
filter.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
free-packet.c Allow NULL for free_public_key. 2011-09-20 19:24:52 +02:00
getkey.c Merge branch 'master' into key-storage-work 2013-03-20 10:00:12 +01:00
gpg-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg.c gpg: No need to create a trustdb when encrypting with --always-trust. 2013-08-02 09:10:17 +02:00
gpg.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
gpgv.c gpg: First patches to support a keybox storage backend. 2012-12-27 15:04:42 +01:00
helptext.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
import.c Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
kbnode.c Add code to allow for late memory cleanup. 2013-03-20 09:50:17 +01:00
keydb.c gpg: Cache keybox searches. 2013-01-08 14:46:06 +01:00
keydb.h Merge branch 'master' into key-storage-work 2013-02-12 19:17:42 +01:00
keyedit.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
keygen.c gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
keyid.c Minor code cleanups. 2011-03-03 13:01:03 +01:00
keylist.c gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
keyring.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
keyring.h Decryption and signi via agent is now implemented. 2010-04-23 11:36:59 +00:00
keyserver-internal.h Initial code checking for backup - not yet working. 2011-01-10 14:30:17 +01:00
keyserver.c gpg: Remove a function wrapper. 2013-01-08 09:43:21 +01:00
main.h gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
mainproc.c gpg: Limit the nesting level of I/O filters. 2013-10-04 14:05:59 +02:00
Makefile.am w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
mdfilter.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
misc.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
openfile.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
OPTIONS See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch 2000-07-31 08:04:16 +00:00
options.h Merge branch 'master' into key-storage-work 2013-02-12 19:17:42 +01:00
options.skel Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
packet.h gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
parse-packet.c gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
passphrase.c gpg: Fix a memory leak in batch key generation 2013-02-22 09:30:07 +01:00
photoid.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
photoid.h Decryption and signi via agent is now implemented. 2010-04-23 11:36:59 +00:00
pkclist.c gpg: Suppress "public key already present" in quiet mode. 2012-12-19 11:21:26 +01:00
pkglue.c gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
pkglue.h gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
plaintext.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
progress.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
pubkey-enc.c gpg: Make decryption with the OpenPGP card work. 2013-08-28 17:40:32 +02:00
pubring.asc See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch 2000-07-31 08:04:16 +00:00
revoke.c gpg: Remove a function wrapper. 2013-01-08 09:43:21 +01:00
rmd160.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
rmd160.h Add missing header file. 2008-12-12 08:54:50 +00:00
seckey-cert.c Add tweaks for the not anymore patented IDEA algorithm. 2012-05-08 18:18:32 +02:00
server.c gpg: Add status line PINENTRY_LAUNCHED. 2013-01-30 12:00:29 +01:00
seskey.c gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
sig-check.c Fixed set but unused variable bugs 2011-08-10 14:11:30 +02:00
sign.c gpg: Rework ECC support and add experimental support for Ed25519. 2013-11-15 09:01:11 +01:00
signal.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
skclist.c Allow NULL for free_public_key. 2011-09-20 19:24:52 +02:00
t-rmd160.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
tdbdump.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
tdbio.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
tdbio.h Changes to --min-cert-level should cause a trustdb rebuild (issue 1366) 2012-01-20 16:50:42 -05:00
textfilter.c Started to implement the audit log feature. 2007-11-19 16:03:50 +00:00
trustdb.c gpg: Remove a function wrapper. 2013-01-08 09:43:21 +01:00
trustdb.h Changes to --min-cert-level should cause a trustdb rebuild (issue 1366) 2012-01-20 16:50:42 -05:00
verify.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00