diff options
author | tb <> | 2023-07-28 08:49:43 +0000 |
---|---|---|
committer | tb <> | 2023-07-28 08:49:43 +0000 |
commit | 27bf20b08f028e09b36afd8b49d1fbaa87746bb6 (patch) | |
tree | efbe0438383ae81f0c511a990e4a656ecd91e76c /src/lib/libcrypto/err/err_all.c | |
parent | 783244ed4a6bd90016acb876b9752acd0db924be (diff) | |
download | openbsd-27bf20b08f028e09b36afd8b49d1fbaa87746bb6.tar.gz openbsd-27bf20b08f028e09b36afd8b49d1fbaa87746bb6.tar.bz2 openbsd-27bf20b08f028e09b36afd8b49d1fbaa87746bb6.zip |
Make extended ECDSA signing routines internal
ECDSA_sign_setup() permits precomputing the values of the inverse of the
random k and the corresponding r. These can then be fed into the signing
routines ECDSA_{do_,}sign_ex() multiple times if needed. This is not a
great idea and the interface adds a lot of unwanted complexity.
Not to mention that nothing ever used this correctly - if s works out to
0, a special error code is thrown requesting that the caller provide new
kinv and r values. Unsurprisingly, nobody ever checked for that special
error code.
ok jsing
This commit marks the start of a libcrypto major bump. Do not build the
tree until I bumped the shlib_version and synced file sets (in about 35
commits).
Diffstat (limited to 'src/lib/libcrypto/err/err_all.c')
0 files changed, 0 insertions, 0 deletions