summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa/ecdsa.c
diff options
context:
space:
mode:
authortb <>2023-07-03 13:53:54 +0000
committertb <>2023-07-03 13:53:54 +0000
commit0d9d2d2663fc4818c9475e8958f6e11a2945692e (patch)
treebb803a62b99b495c15378d923d6ca6a16564b1c0 /src/lib/libcrypto/ecdsa/ecdsa.c
parent851da1d4e7f379b38b9d26e0d2f44e8c74c9aaf7 (diff)
downloadopenbsd-0d9d2d2663fc4818c9475e8958f6e11a2945692e.tar.gz
openbsd-0d9d2d2663fc4818c9475e8958f6e11a2945692e.tar.bz2
openbsd-0d9d2d2663fc4818c9475e8958f6e11a2945692e.zip
Rework the logic in ECDSA sign_sig()
If the caller supplied both kinv and r, we don't loop but rather throw an undocumented error code that no one uses, which is intended to tell the caller to run ECDSA_sign_setup() and try again. Use a boolean that indicates this situation so that the logic becomes a bit more transparent. ok jsing
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecdsa.c')
0 files changed, 0 insertions, 0 deletions