diff options
| author | tb <> | 2023-07-28 08:49:43 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-28 08:49:43 +0000 |
| commit | a60bb43ba730ae6d2d64a6568ee5fddecaf151e3 (patch) | |
| tree | efbe0438383ae81f0c511a990e4a656ecd91e76c /src/lib/libcrypto/Symbols.list | |
| parent | 9c4fb33240afcde0c06cf9e4b12424a2cfa28418 (diff) | |
| download | openbsd-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.list')
| -rw-r--r-- | src/lib/libcrypto/Symbols.list | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/libcrypto/Symbols.list b/src/lib/libcrypto/Symbols.list index 626cd78b3b..00d9cfa65e 100644 --- a/src/lib/libcrypto/Symbols.list +++ b/src/lib/libcrypto/Symbols.list | |||
| @@ -1028,7 +1028,6 @@ ECDSA_SIG_it | |||
| 1028 | ECDSA_SIG_new | 1028 | ECDSA_SIG_new |
| 1029 | ECDSA_SIG_set0 | 1029 | ECDSA_SIG_set0 |
| 1030 | ECDSA_do_sign | 1030 | ECDSA_do_sign |
| 1031 | ECDSA_do_sign_ex | ||
| 1032 | ECDSA_do_verify | 1031 | ECDSA_do_verify |
| 1033 | ECDSA_get_default_method | 1032 | ECDSA_get_default_method |
| 1034 | ECDSA_get_ex_data | 1033 | ECDSA_get_ex_data |
| @@ -1037,8 +1036,6 @@ ECDSA_set_default_method | |||
| 1037 | ECDSA_set_ex_data | 1036 | ECDSA_set_ex_data |
| 1038 | ECDSA_set_method | 1037 | ECDSA_set_method |
| 1039 | ECDSA_sign | 1038 | ECDSA_sign |
| 1040 | ECDSA_sign_ex | ||
| 1041 | ECDSA_sign_setup | ||
| 1042 | ECDSA_size | 1039 | ECDSA_size |
| 1043 | ECDSA_verify | 1040 | ECDSA_verify |
| 1044 | ECPARAMETERS_free | 1041 | ECPARAMETERS_free |
