CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2023/07/28 02:49:43

Modified files:
        lib/libcrypto  : Symbols.list Symbols.namespace 
        lib/libcrypto/ecdsa: ecdsa.c ecdsa.h 
        lib/libcrypto/hidden/openssl: ecdsa.h 

Log message:
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).

Reply via email to