summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdh/ech_key.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add #include "bn_lcl.h" to the files that will soon need it.tb2021-12-041-1/+2
| | | | ok inoguchi jsing
* Simplify code after adding EC_POINT_{s,g}et_affine_coordinates()tb2021-04-201-15/+4
| | | | ok jsing
* Prepare to provide EC_POINT_{g,s}et_affine_coordinatestb2021-04-201-5/+3
| | | | | | Similar to part of OpenSSL commit 8e3cced75fb5fee5da59ebef9605d403a999391b ok jsing
* Partial port of EC_KEY_METHOD from OpenSSL 1.1.tb2019-01-191-4/+18
| | | | | | This commit adds missing API for ECDH/ECDSA_verify. from markus
* Elliptic curve arithmetic only makes sense between points that belong totb2018-09-021-1/+5
| | | | | | | | | | | | 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
* Send the function codes from the error functions to the bit bucket,beck2017-01-291-15/+12
| | | | | | as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
* avoid void * pointer arithmeticbcook2015-09-181-2/+2
| | | | ok miod@
* Only check for key truncation if no KDF function is being used.jsing2015-09-131-4/+4
| | | | ok beck@ miod@
* Merge ech_ossl.c into ech_key.c - not much point having one file with ajsing2015-09-131-1/+146
| | | | | | four line function and a tonne of license text. ok beck@
* Lob a style(9) grenade in here.jsing2015-09-131-5/+6
|
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* Import OpenSSL 1.0.1gmiod2014-04-131-3/+0
|
* import of OpenSSL 0.9.8hdjm2008-09-061-0/+83