diff options
| author | NIIBE Yutaka <[email protected]> | 2020-05-22 02:58:21 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2020-05-22 02:58:21 +0000 |
| commit | 510bda7d3754801be18a592694578589fe503fb8 (patch) | |
| tree | 137bcc8132c82bb34dd8bb265e9b69753ed3957b /scd/app-openpgp.c | |
| parent | gpg: Clean up ECDH code path (4). (diff) | |
| download | gnupg-510bda7d3754801be18a592694578589fe503fb8.tar.gz gnupg-510bda7d3754801be18a592694578589fe503fb8.zip | |
gpg: Clean up ECDH code path (5).
* g10/ecdh.c (pk_ecdh_encrypt_with_shared_point): Now, it's only for
encrytion.
(pk_ecdh_decrypt): Use prepare_ecdh_with_shared_point and move decrypt
code path in original pk_ecdh_encrypt_with_shared_point here.
* g10/pkglue.h (pk_ecdh_encrypt_with_shared_point): Change API.
* g10/pkglue.c (pk_encrypt): Follow the change.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd/app-openpgp.c')
0 files changed, 0 insertions, 0 deletions
