1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-06 17:23:03 +01:00
NIIBE Yutaka f5bc945554 gpg,ecc: Handle external representation as SOS with opaque MPI.
* g10/pkglue.h (sexp_extract_param_sos): New.
* g10/build-packet.c (sos_write): New.
(do_key, do_pubkey_enc, do_signature): Use sos_write for ECC.
* g10/export.c (cleartext_secret_key_to_openpgp): Use
sexp_extract_param_sos.
(transfer_format_to_openpgp): Use opaque MPI for ECC.
* g10/keygen.c (ecckey_from_sexp): Use sexp_extract_param_sos.
* g10/keyid.c (hash_public_key): Handle opaque MPI for SOS.
* g10/parse-packet.c (sos_read): New.
(parse_pubkeyenc,parse_signature,parse_key): Use sos_read for ECC.
* g10/pkglue.c (sexp_extract_param_sos): New.
(pk_verify): Handle opaque MPI for SOS.
(pk_encrypt): Use sexp_extract_param_sos.
* g10/seskey.c (encode_session_key): Use opaque MPI.
* g10/sign.c (do_sign): Use sexp_extract_param_sos.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2020-06-09 10:32:47 +09:00
..
2019-05-14 11:20:07 +09:00
2018-11-08 12:14:23 +09:00
2018-05-29 12:42:52 +02:00
2019-06-23 20:21:02 -04:00
2020-01-01 19:05:16 +01:00
2020-05-22 11:58:21 +09:00
2018-10-24 15:56:18 -04:00
2020-06-08 15:22:58 +02:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2018-10-25 16:53:05 -04:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2020-05-04 14:55:34 +02:00
2020-02-18 18:07:46 -05:00
2020-04-15 22:21:46 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2020-02-18 18:07:46 -05:00
2019-07-11 12:32:44 +09:00
2020-03-14 18:04:47 +01:00
2020-06-08 15:22:58 +02:00
2020-06-08 15:22:58 +02:00
2019-07-23 12:04:21 +09:00
2017-03-07 20:25:54 +09:00
2020-04-08 09:29:43 +09:00
2017-01-23 19:16:55 +01:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2020-06-08 15:22:58 +02:00
2019-09-09 15:01:47 +02:00
2016-03-08 14:08:49 +01:00
2020-02-18 18:07:46 -05:00
2017-03-07 20:25:54 +09:00
2019-09-09 15:01:47 +02:00
2016-12-06 12:16:56 +01:00
2020-04-03 15:30:08 +09:00