diff options
author | tb <> | 2022-11-19 11:53:38 +0000 |
---|---|---|
committer | tb <> | 2022-11-19 11:53:38 +0000 |
commit | 70ddf26a8fd6a69b3352837ca8e572eabcdfb7c1 (patch) | |
tree | 43f97556a03caa392123ac17cb7a5449d5a04051 /src/lib/libcrypto/poly1305 | |
parent | b78141471e53d13ea11d14dd53817687e84a5a92 (diff) | |
download | openbsd-70ddf26a8fd6a69b3352837ca8e572eabcdfb7c1.tar.gz openbsd-70ddf26a8fd6a69b3352837ca8e572eabcdfb7c1.tar.bz2 openbsd-70ddf26a8fd6a69b3352837ca8e572eabcdfb7c1.zip |
Rework pkey_dsa_sign() and pkey_dsa_verify()
Since DSA_sign() and DSA_verify() ignore their type argument, don't bother
to determine it here. Check all size_t for overflow before passing them as
int arguments. Follow OpenSSL and add a check to see if the tbs blob's
length matches the one of the md, in case it is set on the EVP_PKEY_CTX.
Fix return value check of DSA_sign().
ok jsing
Diffstat (limited to 'src/lib/libcrypto/poly1305')
0 files changed, 0 insertions, 0 deletions