aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2016-10-27 03:59:49 +0000
committerNIIBE Yutaka <[email protected]>2016-10-27 04:04:45 +0000
commitca0ee4e381d0b6a57e4ddc8f4bb2390eb97a2540 (patch)
tree87cc7058681acb65748ba4fdcc7d3463a527e804 /common/sysutils.c
parentscd: Add 0x41 prefix for x-coordinate only result. (diff)
downloadgnupg-ca0ee4e381d0b6a57e4ddc8f4bb2390eb97a2540.tar.gz
gnupg-ca0ee4e381d0b6a57e4ddc8f4bb2390eb97a2540.zip
g10: Fix ECDH, clarifying the format.
* g10/ecdh.c (pk_ecdh_encrypt_with_shared_point): Returns error when it's short. Clarify the format. Handle other prefixes correctly. -- With the scdaemon's change, there is no case NBYTES < SECRET_X_SIZE. This fixes the break of ECDH with X25519. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/sysutils.c')
0 files changed, 0 insertions, 0 deletions