Refactor OpenSSL ECDSA generation to helper functions

Ondřej Surý requested to merge 3785-openssl-refactoring-16 into main

Reduce the #ifdef cruft by having specific helper functions.

Closes #3785 (closed)

Merge request reports