PK: reuse some eckey functions for ecdsa

Also add some forgotten 'static' while at it.
2 files changed