rnpgp / rnp

RNP: high performance C++ OpenPGP library used by Mozilla Thunderbird
https://www.rnpgp.org
Other
201 stars 55 forks source link

Remove duplicate implementations of some DSA/ECDSA functions. #2248

Closed ni4 closed 2 months ago

ni4 commented 5 months ago

Description

We implement these functions for both Botan and OpenSSL backend: dsa_get_min_hash(), dsa_choose_qsize_by_psize() and ecdsa_get_min_hash. They should be moved to some common for backends source file.

ni4 commented 4 months ago

Another duplicate: #define DSA_MAX_Q_BITLEN