From a60bb43ba730ae6d2d64a6568ee5fddecaf151e3 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 28 Jul 2023 08:49:43 +0000 Subject: 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). --- src/lib/libcrypto/Symbols.namespace | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/lib/libcrypto/Symbols.namespace') diff --git a/src/lib/libcrypto/Symbols.namespace b/src/lib/libcrypto/Symbols.namespace index 60d6195fac..186e065ba2 100644 --- a/src/lib/libcrypto/Symbols.namespace +++ b/src/lib/libcrypto/Symbols.namespace @@ -1429,16 +1429,13 @@ _libre_ECDSA_SIG_get0_r _libre_ECDSA_SIG_get0_s _libre_ECDSA_SIG_set0 _libre_ECDSA_do_sign -_libre_ECDSA_do_sign_ex _libre_ECDSA_do_verify _libre_ECDSA_OpenSSL _libre_ECDSA_set_default_method _libre_ECDSA_get_default_method _libre_ECDSA_set_method _libre_ECDSA_size -_libre_ECDSA_sign_setup _libre_ECDSA_sign -_libre_ECDSA_sign_ex _libre_ECDSA_verify _libre_ECDSA_get_ex_new_index _libre_ECDSA_set_ex_data -- cgit v1.2.3-55-g6feb