NIIBE Yutaka
da5e0bc31b
gpg: Use bytes for ECDH.
* g10/ecdh.c (extract_secret_x): Use byte * instead of MPI.
(prepare_ecdh_with_shared_point): Use char * instead of MPI.
(pk_ecdh_encrypt_with_shared_point): Likewise.
(pk_ecdh_decrypt): Likewise.
* g10/pkglue.h (pk_ecdh_encrypt_with_shared_point, pk_ecdh_decrypt):
Change declaration.
* g10/pkglue.c (get_data_from_sexp): New.
(pk_encrypt): Use get_data_from_sexp instead of get_mpi_from_sexp.
Follow the change of pk_ecdh_encrypt_with_shared_point.
* g10/pubkey-enc.c (get_it): Follow the change of pk_ecdh_decrypt.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2020-06-09 15:45:51 +09:00
..
2020-06-09 10:32:47 +09:00
2020-04-03 10:44:32 +02:00
2020-04-03 10:44:32 +02:00
2020-02-20 11:13:32 +01:00
2020-02-20 11:13:32 +01:00
2020-04-03 10:44:32 +02:00
2020-04-16 08:52:29 +02:00
2020-06-09 15:45:51 +09:00
2020-06-09 10:32:47 +09:00
2020-06-08 15:22:58 +02:00
2020-03-14 19:12:41 +01:00
2020-06-08 20:13:25 +02:00
2020-03-13 17:14:34 +01:00
2020-02-18 18:07:46 -05:00
2020-06-08 20:13:25 +02:00
2020-02-18 18:07:46 -05:00
2020-06-09 14:56:50 +09:00
2020-06-09 10:32:47 +09:00
2020-05-04 14:55:34 +02:00
2020-02-18 18:07:46 -05:00
2020-03-13 13:19:31 +01:00
2020-04-15 22:21:46 +02:00
2020-06-08 20:13:25 +02:00
2020-04-03 15:30:08 +09:00
2020-04-15 22:23:10 +02:00
2020-02-18 18:07:46 -05:00
2020-03-14 18:04:47 +01:00
2020-06-08 15:22:58 +02:00
2020-06-09 10:32:47 +09:00
2020-06-08 15:22:58 +02:00
2020-06-08 20:13:25 +02:00
2020-06-09 15:45:51 +09:00
2020-06-09 15:45:51 +09:00
2020-06-09 15:45:51 +09:00
2020-06-09 10:32:47 +09:00
2020-06-08 15:22:58 +02:00
2020-06-09 10:32:47 +09:00
2020-02-18 18:07:46 -05:00
2020-06-08 20:13:25 +02:00
2020-04-03 15:30:08 +09:00