summaryrefslogtreecommitdiff
path: root/src/lib/libssl/man
diff options
context:
space:
mode:
authortb <>2018-09-02 17:20:31 +0000
committertb <>2018-09-02 17:20:31 +0000
commit32c49c1b2869018c729137c06e57058c5894a964 (patch)
tree33c780ca3be4916eff529d97ddc782b338a32305 /src/lib/libssl/man
parent3fb96290089d394bea5927f746d82d949294e08d (diff)
downloadopenbsd-32c49c1b2869018c729137c06e57058c5894a964.tar.gz
openbsd-32c49c1b2869018c729137c06e57058c5894a964.tar.bz2
openbsd-32c49c1b2869018c729137c06e57058c5894a964.zip
Elliptic curve arithmetic only makes sense between points that belong to
the same curve. Some Wycheproof tests violate this assumption, making ECDH_compute_key() compute and return garbage. Check that pub_key lies on the curve of the private key so that the calculations make sense. Most paths that get here have this checked (in particular those from OpenSSH and libssl), but one might get here after using d2i_* or manual computation. discussed with & ok jsing; "good catch!" markus
Diffstat (limited to 'src/lib/libssl/man')
0 files changed, 0 insertions, 0 deletions