summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Symbols.namespace
diff options
context:
space:
mode:
authortb <>2023-07-28 08:49:43 +0000
committertb <>2023-07-28 08:49:43 +0000
commita60bb43ba730ae6d2d64a6568ee5fddecaf151e3 (patch)
treeefbe0438383ae81f0c511a990e4a656ecd91e76c /src/lib/libcrypto/Symbols.namespace
parent9c4fb33240afcde0c06cf9e4b12424a2cfa28418 (diff)
downloadopenbsd-a60bb43ba730ae6d2d64a6568ee5fddecaf151e3.tar.gz
openbsd-a60bb43ba730ae6d2d64a6568ee5fddecaf151e3.tar.bz2
openbsd-a60bb43ba730ae6d2d64a6568ee5fddecaf151e3.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/Symbols.namespace')
-rw-r--r--src/lib/libcrypto/Symbols.namespace3
1 files changed, 0 insertions, 3 deletions
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
1429_libre_ECDSA_SIG_get0_s 1429_libre_ECDSA_SIG_get0_s
1430_libre_ECDSA_SIG_set0 1430_libre_ECDSA_SIG_set0
1431_libre_ECDSA_do_sign 1431_libre_ECDSA_do_sign
1432_libre_ECDSA_do_sign_ex
1433_libre_ECDSA_do_verify 1432_libre_ECDSA_do_verify
1434_libre_ECDSA_OpenSSL 1433_libre_ECDSA_OpenSSL
1435_libre_ECDSA_set_default_method 1434_libre_ECDSA_set_default_method
1436_libre_ECDSA_get_default_method 1435_libre_ECDSA_get_default_method
1437_libre_ECDSA_set_method 1436_libre_ECDSA_set_method
1438_libre_ECDSA_size 1437_libre_ECDSA_size
1439_libre_ECDSA_sign_setup
1440_libre_ECDSA_sign 1438_libre_ECDSA_sign
1441_libre_ECDSA_sign_ex
1442_libre_ECDSA_verify 1439_libre_ECDSA_verify
1443_libre_ECDSA_get_ex_new_index 1440_libre_ECDSA_get_ex_new_index
1444_libre_ECDSA_set_ex_data 1441_libre_ECDSA_set_ex_data